Difference between revisions of "Template:Value list/doc"
m (→Example) |
m (While not mandatory on Wikia, it's good practice to include these quotation marks.) |
||
Line 12: | Line 12: | ||
* [[Blue-Eyes White Dragon]] | * [[Blue-Eyes White Dragon]] | ||
* [[Obelisk the Tormentor (original)|Obelisk the Tormentor]] | * [[Obelisk the Tormentor (original)|Obelisk the Tormentor]] | ||
− | * [[Luster Dragon 2|Luster Dragon #2]]<ref group=Note>Only in the anime</ref> | + | * [[Luster Dragon 2|Luster Dragon #2]]<ref group="Note">Only in the anime</ref> |
|Cards used | |Cards used | ||
}}</pre> | }}</pre> | ||
Line 21: | Line 21: | ||
* [[Cards used::Blue-Eyes White Dragon]] | * [[Cards used::Blue-Eyes White Dragon]] | ||
* [[Cards used::Obelisk the Tormentor (original)|Obelisk the Tormentor]] | * [[Cards used::Obelisk the Tormentor (original)|Obelisk the Tormentor]] | ||
− | * [[Cards used::Luster Dragon 2|Luster Dragon #2]]<ref group=Note>Only in the anime</ref> | + | * [[Cards used::Luster Dragon 2|Luster Dragon #2]]<ref group="Note">Only in the anime</ref> |
</pre> | </pre> | ||
Revision as of 19:27, 7 July 2012
This is a documentation subpage for Template:Value list. It contains usage information, categories and other content that is not part of the original template page. |
{{Value list}}
is used to apply properties to a list of values in link bracketed bulleted list format, without worrying about references or piped links.
Whether the list appears linked or not depends on the property type.
Usage
{{Value list|list of values|property to apply}}
Example
{{Value list| * [[Blue-Eyes White Dragon]] * [[Obelisk the Tormentor (original)|Obelisk the Tormentor]] * [[Luster Dragon 2|Luster Dragon #2]]<ref group="Note">Only in the anime</ref> |Cards used }}
becomes...
* [[Cards used::Blue-Eyes White Dragon]] * [[Cards used::Obelisk the Tormentor (original)|Obelisk the Tormentor]] * [[Cards used::Luster Dragon 2|Luster Dragon #2]]<ref group="Note">Only in the anime</ref>
This is typically used in templates. e.g.
allows a bulleted list of cards to be added after {{Value list|{{{cards}}}|Cards used}}
|cards =