Template:WWVersionBox

From ZeldaChaos
Jump to: navigation, search

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

Contents

WARNING

This template is to be used on many WW 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
{{WWVersionBox|1|1|0|?}}
Compatible Versions
? JPN USA PAL HD
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 {{WWVersionBox|1|1|1|1}}
Compatible Versions
? JPN USA PAL HD
Tick.png Tick.png Tick.png Tick.png
1110 {{WWVersionBox|1|1|1|0}}
Compatible Versions
? JPN USA PAL HD
Tick.png Tick.png Tick.png Cross.png
111  {{WWVersionBox|1|1|1||}}
Compatible Versions
? JPN USA PAL HD
Tick.png Tick.png Tick.png Question.png
111 {{WWVersionBox|1|1|1}}
Compatible Versions
? JPN USA PAL HD
Tick.png Tick.png Tick.png Question.png
111X {{WWVersionBox|1|1|1|X}}
Compatible Versions
? JPN USA PAL HD
Tick.png Tick.png Tick.png Question.png
101 {{WWVersionBox|1|0|1}}
Compatible Versions
? JPN USA PAL HD
Tick.png Cross.png Tick.png Question.png
14=1 {{WWVersionBox|1|4=1}}
Compatible Versions
? JPN USA PAL HD
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, and the latter is not installed on this wiki.

Personal tools
Namespaces

Variants
Actions
Glitches
Navigation
Affiliates
Toolbox
Google AdSense