Template:Wy/sk/Color template doc
{{}} Dokumentácia
This template lists as a wikitable row a template name and up to five arguments, a color sample and its hex value.
Usage
editThe template itself is contained between table start and end markup:
{| class="wikitable"
{{Color template doc|argument_1|argument_2|…|argument_5}}
|}
argument_1
can be omitted if the color template has only one value, or it is desired to show the default color; argument_2
through argument_5
are optional. All five are valid inputs for the color template.
Examples
editWhen used on the page Template:Wy/sk/TTC color/doc, the code {{Wy/sk/Color template doc|}}
produces
{{TTC color}}
|
Sample: | ff0000
|
while the code {{Wy/sk/Color template doc|#default}}
produces
{{TTC color|#default}}
|
Sample: | Template:Pad | ff0000
|
Additional information can be added to the table. On the page Template:NYCS color/doc the code
{{Wy/sk/Color template doc|blue}}
| [[IND Eighth Avenue Line|Eighth Avenue]]
| A / C / E / Eighth
produces
{{NYCS color|blue}}
|
Sample: | style="background:#Template:Wy/sk/NYCS color; border-top:solid 1px gray; " | | template:wy/sk/nycs color
|
Eighth Avenue | A / C / E / Eighth |
See also
editText, ktorý bol nad touto čiarou bola dokumentácia pre šablónu Wy/sk/Color template doc