Template:AoLVersionBox

From ZeldaChaos
Jump to: navigation, search

This is a templated version of the version support chart for AoL glitches.

Contents

WARNING

This template is to be used on many AoL 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}}.)

Usage

Code Result
{{AoLVersionBox|1|1|0|?}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Tick.png Cross.png Question.png

This template takes four numbers -- one for each version of the game. A value of 1 becomes a tick (Tick.png), a value of ? becomes a question mark (Question.png), and a value of 0 becomes a cross (Cross.png). 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.

Additional Examples

Parameters Code Result
1 2 3 4
1111 {{AoLVersionBox|1|1|1|1}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Tick.png Tick.png Tick.png
1110 {{AoLVersionBox|1|1|1|0}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Tick.png Tick.png Cross.png
111  {{AoLVersionBox|1|1|1||}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Tick.png Tick.png Cross.png
111 {{AoLVersionBox|1|1|1}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Tick.png Tick.png Cross.png
111X {{AoLVersionBox|1|1|1|X}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Tick.png Tick.png Cross.png
101 {{AoLVersionBox|1|0|1}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Cross.png Tick.png Cross.png
14=1 {{AoLVersionBox|1|4=1}}
Compatible Versions
? FDS NES GCN GBA
Tick.png Cross.png Cross.png Tick.png

Dependencies

This template depends on the switch template -- it uses programming logic that only the switch template and ParserFunctions can provide.

Notes

Personal tools
Namespaces

Variants
Actions
Glitches
Navigation
Affiliates
Toolbox
Google AdSense