Template:V

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Revision as of 00:16, 8 August 2008 by SougonNaTakumi (talk | contribs)
Jump to navigation Jump to search

{{click|image={{{1}}}_icon.gif|link={{{1}}}|caption=Available in {{{1}}}]]{{#if: | Template:Click {{#if: | Template:Click{{#if: | Template:Click

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:

image=Power_icon.gif|link=Power_version|caption=Available in Power version]]{{#if: | Template:Click {{#if: | Template:Click{{#if: | Template:Click {{v|Power}}
 Not available in Power version{{click|image=Speed_icon.gif|link=Speed_version|caption=Available in Speed version]]{{#if: | Template:Click {{#if: | Template:Click{{#if: | Template:Click {{v|Speed}}
image=Power_icon.gif|link=Power_version|caption=Available in Power version]]{{#if: Speed | Template:Click {{#if: | Template:Click{{#if: | Template:Click {{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:

image=Telefang 1_icon.gif|link=Telefang 1|caption=Available in Telefang 1]]{{#if: | Template:Click {{#if: | Template:Click{{#if: | Template:Click {{v|Telefang 1}}
image=Telefang 1_icon.gif|link=Telefang 1|caption=Available in Telefang 1]]{{#if: Power | Template:Click {{#if: | Template:Click{{#if: | Template:Click {{v|Telefang 1|Power}}
image=Telefang 1_icon.gif|link=Telefang 1|caption=Available in Telefang 1]]{{#if: Power | Template:Click {{#if: Speed | Template:Click{{#if: | Template:Click {{v|Telefang 1|Power|Speed}}

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