Difference between revisions of "Template:Ref"
Jump to navigation
Jump to search
(Added c.) |
m (Give them the length parameter.) |
||
Line 6: | Line 6: | ||
|=ERROR | |=ERROR | ||
}}|{{#switch:{{{1|}}} | }}|{{#switch:{{{1|}}} | ||
|c={{ref/c-title|{{{5}}}}} | |c={{ref/c-title|{{{4}}}|{{{5}}}}} | ||
|d={{ref/d-title|{{{4}}}|{{{5}}}|{{{6|}}}|{{{7|}}}}} | |d={{ref/d-title|{{{4}}}|{{{5}}}|{{{6|}}}|{{{7|}}}}} | ||
|e=Not implemented | |e=Not implemented |
Revision as of 17:49, 29 June 2008
Documentation for {{ref}}
Use
This template is intended for extended use with {{c}}, {{d}}, {{e}} and {{g}} and their counterparts.
Do NOT use this template in articles. It is only to be used through the templates mentioned above, and their counter parts.
Usage
{{ref|type|image|imagewidth|size|data|...}}
Parameters
- type
- Can be one of the following values: c, d, e and g.
- image
- The image. If the image does not exist, it will not be printed at all.
- imagewidth
- The width of image, include the px (e.g. 15px), if the image does not exist, this won't be used, but must be supplied (supply something like NA instead).
- size
- Can be the following values: l and s.
- data ...
- The data for each sub ref.
Example
{{ref|d|Discicon.png|15px|l|1|1|ec}}
(see {{d}} for more examples)- Extra Content on disc 1, Volume One
{{ref|d|Discicon.png|15px|s|1|1|ee}}
- DVD: 1,1, EE
{{ref|c|Comicicon.png|15px|l|1}}
(see {{c}} for more examples)- "Monkey Sea, Monkey Doom!" (US#001)
{{ref|c|Comicicon.png|15px|s|1}}
- (US#001)