Difference between revisions of "Template:Ref/doc"
Jump to navigation
Jump to search
(→Example: C examples.) |
m (→Example: Examples sucks when they are not the same.) |
||
Line 19: | Line 19: | ||
===Example=== | ===Example=== | ||
;<pre>{{ref|d|Discicon.png|15px|l|1|1|ec}}</pre> | ;<pre>{{ref|d|Discicon.png|15px|l|1|1|ec}}</pre> (see {{templink|d}} for more examples) | ||
:{{ref|d|Discicon.png|15px|l|1|1|ec}} | :{{ref|d|Discicon.png|15px|l|1|1|ec}} | ||
;<pre>{{ref|d|Discicon.png|15px|s|1|1| | ;<pre>{{ref|d|Discicon.png|15px|s|1|1|ee}}</pre> | ||
:{{ref|d|Discicon.png|15px|s|1|1|ee}} | :{{ref|d|Discicon.png|15px|s|1|1|ee}} | ||
;<pre>{{ref|c|Comicicon.png|15px|l|1}}</pre> | ;<pre>{{ref|c|Comicicon.png|15px|l|1}}</pre> (see {{templink|c}} for more examples) | ||
:{{ref|c|Comicicon.png|15px|l|1}} | :{{ref|c|Comicicon.png|15px|l|1}} | ||
;<pre>{{ref|c|Comicicon.png|15px|s|1}}</pre> | ;<pre>{{ref|c|Comicicon.png|15px|s|1}}</pre> | ||
:{{ref|c|Comicicon.png|15px|s|1}} | :{{ref|c|Comicicon.png|15px|s|1}} |
Revision as of 17:53, 29 June 2008
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)