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 6: Line 6:
-->{{#ifeq: {{{1}}}|Beta|&nbsp;version}}<!--
-->{{#ifeq: {{{1}}}|Beta|&nbsp;version}}<!--
-->{{#ifeq: {{{1}}}|Red|&nbsp;version}}<!--
-->{{#ifeq: {{{1}}}|Red|&nbsp;version}}<!--
-->{{#ifeq: {{{1}}}|Blue|&nbsp;version}}]]<!--
-->{{#ifeq: {{{1}}}|Blue|&nbsp;version}}]] <!--
-->{{#if: {{{2|}}} | [[Image:{{{2}}}_icon.gif|Available in {{{2}}}<!--
-->{{#if: {{{2|}}} | [[Image:{{{2}}}_icon.gif|Available in {{{2}}}<!--
-->{{#ifeq: {{{2}}}|Power|&nbsp;version}}<!--
-->{{#ifeq: {{{2}}}|Power|&nbsp;version}}<!--

Revision as of 21:38, 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 version Not available in Speed version {{v|Power}}
Not available in Power versionAvailable 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.