Difference between revisions of "Template:TPVersionBox"
From ZeldaChaos
m |
|||
Line 8: | Line 8: | ||
| HD | | HD | ||
|- style="background:lightgrey" | |- style="background:lightgrey" | ||
− | | [[Image:{{switch|{{{1}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default= | + | | [[Image:{{switch|{{{1}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Question}}.png]] |
− | | [[Image:{{switch|{{{2}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default= | + | | [[Image:{{switch|{{{2}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Question}}.png]] |
− | | [[Image:{{switch|{{{3}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default= | + | | [[Image:{{switch|{{{3}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Question}}.png]] |
|}</includeonly><noinclude>This is a templated version of the version support chart for TP glitches. | |}</includeonly><noinclude>This is a templated version of the version support chart for TP glitches. | ||
Latest revision as of 03:02, 15 November 2015
This is a templated version of the version support chart for TP glitches.
I'm in the process of adding it to TP glitch pages.
[edit] Usage
Code | Result | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{TPVersionBox|1|?}} |
|
This template takes two numbers -- one for each version of the game. A value of 1 becomes a tick (), a value of ? becomes a question mark (), and a value of 0 becomes a cross (). Please note that blank/unspecified values (and values that aren't zeroes, ?s, or ones) become crosses. This can lead to useful shortcuts, but it can also cause issues if you accidentally omit parameters.
[edit] Additional Examples
Parameters | Code | Result | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | |||||||||||||
1 | 1 | {{TPVersionBox|1|1}} |
|
|||||||||||
1 | 0 | {{TPVersionBox|1|0}} |
|
|||||||||||
1 | {{TPVersionBox|1||}} |
|
||||||||||||
1 | {{TPVersionBox|1}} |
|
||||||||||||
1 | X | {{TPVersionBox|1|X}} |
|
|||||||||||
2=1 | {{TPVersionBox|2=1}} |
|
[edit] Dependencies
This template depends on the switch template -- it uses programming logic that only the switch template and ParserFunctions can provide, and the latter is not installed on this wiki.