Template:V: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#ifeq:{{{1}}}|Speed|[[Image:BlankVersion.gif|Not available in Power version]]|{{#ifeq:{{{1}}}|Beta|[[Image:BlankVersion.gif|Not available in Alpha version]]|{{#ifeq:{{{1}}}|Blue|[[Image:BlankVersion.gif|Not available in Red version]]}}}}}}<!--      For list pages
{{#ifeq:{{{1}}}|Speed|[[Image:BlankVersion.gif|Not available in Power version]]&nbsp;|{{#ifeq:{{{1}}}|Beta|[[Image:BlankVersion.gif|Not available in Alpha version]]&nbsp;|{{#ifeq:{{{1}}}|Blue|[[Image:BlankVersion.gif|Not available in Red version]]&nbsp;}}}}}}<!--      For list pages
-->[[Image:{{{1}}}_icon.gif|Available in {{{1}}}<!--
-->[[Image:{{{1}}}_icon.gif|Available in {{{1}}}<!--
-->{{#ifeq: {{{1}}}|Power|&nbsp;version}}<!--
-->{{#ifeq: {{{1}}}|Power|&nbsp;version}}<!--
Line 14: Line 14:
-->{{#ifeq: {{{2}}}|Red|&nbsp;version}}<!--
-->{{#ifeq: {{{2}}}|Red|&nbsp;version}}<!--
-->{{#ifeq: {{{2}}}|Blue|&nbsp;version}}]]<!--
-->{{#ifeq: {{{2}}}|Blue|&nbsp;version}}]]<!--
-->|&nbsp;{{#ifeq:{{{1}}}|Power|[[Image:BlankVersion.gif|Not available in Speed version]]|{{#ifeq:{{{1}}}|Alpha|[[Image:BlankVersion.gif|Not available in Beta version]]|{{#ifeq:{{{1}}}|Red|[[Image:BlankVersion.gif|Not available in Blue version]]}}}}}}}} <!--
-->|{{#ifeq:{{{1}}}|Power|[[Image:BlankVersion.gif|Not available in Speed version]]|{{#ifeq:{{{1}}}|Alpha|[[Image:BlankVersion.gif|Not available in Beta version]]|{{#ifeq:{{{1}}}|Red|[[Image:BlankVersion.gif|Not available in Blue version]]}}}}}}}} <!--
-->{{#if:{{{3|}}}|[[Image:{{{3}}}_icon.gif|Available in {{{3}}}<!--
-->{{#if:{{{3|}}}|[[Image:{{{3}}}_icon.gif|Available in {{{3}}}<!--
-->{{#ifeq: {{{3}}}|Power|&nbsp;version}}<!--
-->{{#ifeq: {{{3}}}|Power|&nbsp;version}}<!--

Revision as of 21:41, 29 August 2008

[[Image:{{{1}}}_icon.gif|Available in {{{1}}}]]

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:

Available in Power versionNot available in Speed version {{v|Power}}
Not available in Power version Available in Speed version {{v|Speed}}
Available in Power version Available in Speed version {{v|Power|Speed}}

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:

Available in Telefang 1 {{v|Telefang 1}}
Available in Telefang 1 Available in Power version {{v|Telefang 1|Power}}
Available in Telefang 1 Available in Power version Available in Speed version {{v|Telefang 1|Power|Speed}}

This template supports up to four parameters. If more are required, you can request this on the talk page.