Template:V: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Image:{{{1}}}_icon.gif|Available in {{{1}}}{{#ifeq: {{{1}}}|Power| version}}{{#ifeq: {{{1}}}|Speed| version}}]]{{#if:{{{2|}}} | [[Image:{{{2}}}_icon.gif|Available in {{{ | {{#ifeq:{{{1}}}|Speed|{{#ifeq:{{PAGENAME}}|List of Denjuu in Telefang 1|[[Image:BlankVersion.gif|Not available in Power version]] |{{#ifeq:{{PAGENAME}}|List of Denjuu in Telefang 2|[[Image:BlankVersion.gif|Not available in Power version]] |{{#ifeq:{{{space|}}}|true|[[Image:BlankVersion.gif|Not available in Power version]] }}}}}}|<!-- | ||
[[Category:Shortcut templates]]</noinclude> | -->{{#ifeq:{{{1}}}|Beta|{{#ifeq:{{PAGENAME}}|List of Dinos in Dino Device 1|[[Image:BlankVersion.gif|Not available in Alpha version]] |{{#ifeq:{{PAGENAME}}|List of Dinos in Dino Device 2|[[Image:BlankVersion.gif|Not available in Alpha version]] |{{#ifeq:{{{space}}}|true|[[Image:BlankVersion.gif|Not available in Alpha version]] }}}}}}|<!-- | ||
-->{{#ifeq:{{{1}}}|Blue|{{#ifeq:{{PAGENAME}}|List of Bugs|[[Image:BlankVersion.gif|Not available in Red version]] |{{#ifeq:{{{space}}}|true|[[Image:BlankVersion.gif|Not available in Red version]] }}}}}}}}}}<!-- For list pages | |||
-->[[Image:{{{1}}}_icon.gif|Available in {{{1}}}<!-- | |||
-->{{#ifeq: {{{1}}}|Power| version}}<!-- | |||
-->{{#ifeq: {{{1}}}|Speed| version}}<!-- | |||
-->{{#ifeq: {{{1}}}|Alpha| version}}<!-- | |||
-->{{#ifeq: {{{1}}}|Beta| version}}<!-- | |||
-->{{#ifeq: {{{1}}}|Red| version}}<!-- | |||
-->{{#ifeq: {{{1}}}|Blue| version}}]]<!-- | |||
-->{{#if:{{{2|}}}| [[Image:{{{2}}}_icon.gif|Available in {{{2}}}<!-- | |||
-->{{#ifeq: {{{2}}}|Power| version}}<!-- | |||
-->{{#ifeq: {{{2}}}|Speed| version}}<!-- | |||
-->{{#ifeq: {{{2}}}|Alpha| version}}<!-- | |||
-->{{#ifeq: {{{2}}}|Beta| version}}<!-- | |||
-->{{#ifeq: {{{2}}}|Red| version}}<!-- | |||
-->{{#ifeq: {{{2}}}|Blue| version}}]]<!-- | |||
-->|{{#ifeq:{{{1}}}|Power|{{#ifeq:{{PAGENAME}}|List of Denjuu in Telefang 1|[[Image:BlankVersion.gif|Not available in Speed version]]|{{#ifeq:{{PAGENAME}}|List of Denjuu in Telefang 2|[[Image:BlankVersion.gif|Not available in Speed version]]|{{#ifeq:{{{space}}}|true|[[Image:BlankVersion.gif|Not available in Speed version]]}}}}}}|<!-- | |||
-->{{#ifeq:{{{1}}}|Alpha|{{#ifeq:{{PAGENAME}}|List of Dinos in Dino Device 1|[[Image:BlankVersion.gif|Not available in Beta version]]|{{#ifeq:{{PAGENAME}}|List of Dinos in Dino Device 2|[[Image:BlankVersion.gif|Not available in Beta version]]|{{#ifeq:{{{space}}}|true|[[Image:BlankVersion.gif|Not available in Beta version]]}}}}}}|<!-- | |||
-->{{#ifeq:{{{1}}}|Red|{{#ifeq:{{PAGENAME}}|List of Bugs|[[Image:BlankVersion.gif|Not available in Blue version]]|{{#ifeq:{{{space}}}|true|[[Image:BlankVersion.gif|Not available in Blue version]]}}}}}}}}}}}} <!-- | |||
-->{{#if:{{{3|}}}|[[Image:{{{3}}}_icon.gif|Available in {{{3}}}<!-- | |||
-->{{#ifeq: {{{3}}}|Power| version}}<!-- | |||
-->{{#ifeq: {{{3}}}|Speed| version}}<!-- | |||
-->{{#ifeq: {{{3}}}|Alpha| version}}<!-- | |||
-->{{#ifeq: {{{3}}}|Beta| version}}<!-- | |||
-->{{#ifeq: {{{3}}}|Red| version}}<!-- | |||
-->{{#ifeq: {{{3}}}|Blue| version}}]]}}<!-- | |||
-->{{#if:{{{4|}}}|[[Image:{{{4}}}_icon.gif|Available in {{{4}}}<!-- | |||
-->{{#ifeq: {{{4}}}|Power| version}}<!-- | |||
-->{{#ifeq: {{{4}}}|Speed| version}}<!-- | |||
-->{{#ifeq: {{{4}}}|Alpha| version}}<!-- | |||
-->{{#ifeq: {{{4}}}|Beta| version}}<!-- | |||
-->{{#ifeq: {{{4}}}|Red| version}}<!-- | |||
-->{{#ifeq: {{{4}}}|Blue| version}}]]}}<noinclude> | |||
==How to use this template== | |||
This template shows the version a [[Denjuu]]/[[Dino]]/[[Bug]] can be found in with images. | |||
<!-- | |||
For example, on Denjuu list pages, it would show like this: | |||
{| | |||
| {{v|Power|space=true}} | |||
| <code><nowiki>{{v|Power}}</nowiki></code> | |||
|- | |||
| {{v|Speed|space=true}} | |||
| <code><nowiki>{{v|Speed}}</nowiki></code> | |||
|- | |||
| {{v|Power|Speed|space=true}} | |||
| <code><nowiki>{{v|Power|Speed}}</nowiki></code> | |||
|} | |||
This spaces them out so as to provide better viewing. The spaces also have a tooltip showing that it is not found in that version. | |||
However, when this is used with infoboxes and others, it would not have the space as the first parameter would usually be like "Telefang 1" or "Bugsite". Thus there would be no space, as shown below: | |||
{| | |||
| {{v|Telefang 1}} | |||
| <code><nowiki>{{v|Telefang 1}}</nowiki></code> | |||
|- | |||
| {{v|Telefang 1|Power}} | |||
| <code><nowiki>{{v|Telefang 1|Power}}</nowiki></code> | |||
|- | |||
| {{v|Telefang 1|Power|Speed}} | |||
| <code><nowiki>{{v|Telefang 1|Power|Speed}}</nowiki></code> | |||
|} | |||
--> | |||
This template supports up to four parameters. If more are required, you can request this on the [[Template talk:{{PAGENAME}}|talk page]]. | |||
[[Category:Shortcut templates|{{PAGENAME}}]]</noinclude> |