Template:Wy/sk/Color template doc


Túto dokumentáciu [upraviť] [história] [obnoviť]
{{Dokumentácia}} Dokumentácia
Template:Documentation subpage


This template lists as a wikitable row a template name and up to five arguments, a color sample and its hex value.

{{system color}}

Sample: White grey checkerboard.svg hexval

{{system color|argument_1}}

Sample: White grey checkerboard.svg hexval

{{system color|argument_1}} or …|argument_2}}

Sample: White grey checkerboard.svg hexval

{{system color|argument_1}} or …|argument_2}} or …|argument_3}}

Sample: White grey checkerboard.svg hexval

{{system color|argument_1}} or …|argument_2}} or …|argument_3}} or …|argument_4}}

Sample: White grey checkerboard.svg hexval

{{system color|argument_1}} or …|argument_2}} or …|argument_3}} or …|argument_4}} or …|argument_5}}

Sample: White grey checkerboard.svg hexval

UsageEdit

The 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.

ExamplesEdit

When used on the page Template:Wy/sk/TTC color/doc, the code {{Wy/sk/Color template doc|}} produces

Script error: No such module "Template link general". Sample:   ff0000

while the code {{Wy/sk/Color template doc|#default}} produces

Script error: No such module "Template link general". 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

Script error: No such module "Template link general". Sample: style="background:#Template:Wy/sk/NYCS color; border-top:solid 1px gray; " | Template:Pad template:wy/sk/nycs color Eighth Avenue A / C / E / Eighth

See alsoEdit

ERROR: This page is using an unprefixed version of template {{Tl}}

Use {{Wy/sk/Tl}} instead and replace all occurences of {{Tl}} in Wy/sk/ prefixed pages by that.
You may like to check 7 templates in Category:Wy/sk/Templates using unprefixed template Tl first to remove all occurences from those templates which will fix the pages containing those templates too.

{{Rail color doc}}

ERROR: This page is using an unprefixed version of template {{Tl}}

Use {{Wy/sk/Tl}} instead and replace all occurences of {{Tl}} in Wy/sk/ prefixed pages by that.

You may like to check 7 templates in Category:Wy/sk/Templates using unprefixed template Tl first to remove all occurences from those templates which will fix the pages containing those templates too.

{{1Color template documentation}}

Template:Sandbox other


Text, ktorý bol nad touto čiarou bola dokumentácia pre šablónu Wy/sk/Color template doc