Difference between revisions of "Template:LAVersionBox"
m |
(Add Switch remake) |
||
Line 1: | Line 1: | ||
<includeonly>{|style="background:white;text-align:center" | <includeonly>{|style="background:white;text-align:center" | ||
|- style="background:lightgrey" | |- style="background:lightgrey" | ||
− | !colSpan=" | + | !colSpan="8" style="padding:0.1em 0.2em 0.12em 0.2em"|Compatible Versions |
|- style="background:lightgrey" | |- style="background:lightgrey" | ||
|rowSpan="3" style="width:1em;font-size:3em;font-weight:bold"|[[Link's_Awakening_Version_Guide|?]] | |rowSpan="3" style="width:1em;font-size:3em;font-weight:bold"|[[Link's_Awakening_Version_Guide|?]] | ||
|colSpan="3" style="background:lightgrey"|B&W | |colSpan="3" style="background:lightgrey"|B&W | ||
|colSpan="3"|DX | |colSpan="3"|DX | ||
+ | |colSpan="3" style="background:lightgrey"|Remake | ||
|- style="background:lightgrey" | |- style="background:lightgrey" | ||
| 1.0 | | 1.0 | ||
Line 13: | Line 14: | ||
| 1.1 | | 1.1 | ||
| 1.2 | | 1.2 | ||
+ | | SW | ||
|- style="background:lightgrey" | |- style="background:lightgrey" | ||
| [[Image:{{switch|{{{1}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | | [[Image:{{switch|{{{1}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | ||
Line 20: | Line 22: | ||
| [[Image:{{switch|{{{5}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | | [[Image:{{switch|{{{5}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | ||
| [[Image:{{switch|{{{6}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | | [[Image:{{switch|{{{6}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | ||
+ | | [[Image:{{switch|{{{7}}}|case: 1=Tick|case: 0=Cross|case: ?=Question|default=Cross}}.png]] | ||
|}</includeonly><noinclude>This is a templated version of the version support chart for LA glitches. | |}</includeonly><noinclude>This is a templated version of the version support chart for LA glitches. | ||
Latest revision as of 15:07, 29 May 2021
This is a templated version of the version support chart for LA glitches.
Contents |
[edit] WARNING
This template is to be used on many LA glitch pages, and I'm in the process of updating the remaining pages to use it. Please refrain from making modifications to this template until you've tested them elsewhere, and if you do modify this template directly and the modification doesn't work, revert the template to the previous version ASAP!
You can test edits elsewhere by creating a copy of this template as a subpage of your userpage, and then including it on some other test page. (Articles not in the Template namespace can be treated as templates; when specifying the page title, include the namespace, e.x. {{User:DavidJCobb}}
.)
[edit] Usage
Code | Result | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{LAVersionBox|1|1}} |
|
This template takes four 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 | {{LAVersionBox|1|1}} |
|
||||||||||||||||||||||||||||||||
1 | 1 | {{LAVersionBox|1|1}} |
|
||||||||||||||||||||||||||||||||
1 | {{LAVersionBox|1|1||}} |
|
|||||||||||||||||||||||||||||||||
1 | {{LAVersionBox|1}} |
|
|||||||||||||||||||||||||||||||||
1 | X | {{LAVersionBox|1|X}} |
|
||||||||||||||||||||||||||||||||
1 | {{LAVersionBox|1|0}} |
|
|||||||||||||||||||||||||||||||||
1 | 4=1 | {{LAVersionBox|1|4=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.