Template:V: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
-->{{#ifeq: {{{1}}}|Beta| version}}<!-- | -->{{#ifeq: {{{1}}}|Beta| version}}<!-- | ||
-->{{#ifeq: {{{1}}}|Red| version}}<!-- | -->{{#ifeq: {{{1}}}|Red| version}}<!-- | ||
-->{{#ifeq: {{{1}}}|Blue| version}} | -->{{#ifeq: {{{1}}}|Blue| version}}<!-- | ||
-->{{#if: {{{2|}}} | {{click|image={{{2}}}_icon.gif|link={{{2}}}<!-- | -->{{#if: {{{2|}}} | {{click|image={{{2}}}_icon.gif|link={{{2}}}<!-- | ||
-->{{#ifeq: {{{2}}}|Power|_version}}<!-- So the game names and others don't go in, same below | -->{{#ifeq: {{{2}}}|Power|_version}}<!-- So the game names and others don't go in, same below | ||
Line 25: | Line 25: | ||
-->{{#ifeq: {{{2}}}|Beta| version}}<!-- | -->{{#ifeq: {{{2}}}|Beta| version}}<!-- | ||
-->{{#ifeq: {{{2}}}|Red| version}}<!-- | -->{{#ifeq: {{{2}}}|Red| version}}<!-- | ||
-->{{#ifeq: {{{2}}}|Blue| version}} | -->{{#ifeq: {{{2}}}|Blue| version}}<!-- | ||
-->|{{#ifeq:{{{1}}}|Power| [[Image:BlankVersion.gif|Not available in Speed version]]}}}} <!-- | -->|{{#ifeq:{{{1}}}|Power| [[Image:BlankVersion.gif|Not available in Speed version]]}}}} <!-- | ||
-->{{#if: {{{3|}}} | {{click|image={{{3}}}_icon.gif|link={{{3}}}<!-- | -->{{#if: {{{3|}}} | {{click|image={{{3}}}_icon.gif|link={{{3}}}<!-- | ||
Line 39: | Line 39: | ||
-->{{#ifeq: {{{2}}}|Beta| version}}<!-- | -->{{#ifeq: {{{2}}}|Beta| version}}<!-- | ||
-->{{#ifeq: {{{2}}}|Red| version}}<!-- | -->{{#ifeq: {{{2}}}|Red| version}}<!-- | ||
-->{{#ifeq: {{{2}}}|Blue| version}} | -->{{#ifeq: {{{2}}}|Blue| version}} }}<!-- | ||
-->{{#if: {{{4|}}} | {{click|image={{{4}}}_icon.gif|link={{{4}}}<!-- | -->{{#if: {{{4|}}} | {{click|image={{{4}}}_icon.gif|link={{{4}}}<!-- | ||
-->{{#ifeq: {{{4}}}|Power|_version}}<!-- So the game names and others don't go in, same below | -->{{#ifeq: {{{4}}}|Power|_version}}<!-- So the game names and others don't go in, same below | ||
Line 52: | Line 52: | ||
-->{{#ifeq: {{{4}}}|Beta| version}}<!-- | -->{{#ifeq: {{{4}}}|Beta| version}}<!-- | ||
-->{{#ifeq: {{{4}}}|Red| version}}<!-- | -->{{#ifeq: {{{4}}}|Red| version}}<!-- | ||
-->{{#ifeq: {{{4}}}|Blue| version}} | -->{{#ifeq: {{{4}}}|Blue| version}} }}<noinclude> | ||
==How to use this template== | ==How to use this template== | ||
This template shows the version a [[Denjuu]]/[[Dino]]/[[Bug]] can be found in with images. | This template shows the version a [[Denjuu]]/[[Dino]]/[[Bug]] can be found in with images. |
Revision as of 00:18, 8 August 2008
{{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}}
|
{{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.