Pang-bô͘:Color template doc
跳至導覽
跳至搜尋
Pang-bô͘ bûn-su[chhâ-khòaⁿ] [pian-chi̍p] [le̍k-sú] [kun-sin]
This template lists as a wikitable row a template name and up to three arguments, a color sample and its hex value.
Usage[修改]
The template itself is contained between table start and end markup:
{| class="wikitable"
{{Color template doc|argument_1|argument_2|argument_3}}
|}
argument_1 can be omitted if the color template has only one value, or it is desired to show the default color; argument_2 and argument_3 are optional. All three are valid inputs for the color template.
Examples[修改]
When used on the page Template:Amtrak color/doc, the code {{Color template doc|}}
produces
{{Amtrak color}}
|
Sample: | 005480
|
while the code {{Color template doc|#default}}
produces
{{Amtrak color|#default}}
|
Sample: | 005480
|
Additional information can be added to the table. On the page Template:NYCS color/doc the code
{{Color template doc|blue}}
| [[IND Eighth Avenue Line|Eighth Avenue]]
| A / C / E / Eighth
produces
{{NYCS color|blue}}
|
Sample: | 0039a6
|
Eighth Avenue | A / C / E / Eighth |
See also[修改]
Téng-bīn ê bûn-kiāⁿ sī tùi Pang-bô͘:Color template doc/doc khàm-ji̍p--ê. (pian-chi̍p | le̍k-sú) Pian-chip-chiá ē-sái tī chit-ê pang-bô͘ ê soa-a̍p (chhòng-kiàn | mirror) kap chhì-giām-kheh-suh (chhòng-kiàn) ia̍h-bīn chò si̍t-giām. Chhiáⁿ tī chú-ia̍h-bīn /doc lāi-bīn ka-thiam lūi-pia̍t. Pún pang-bô͘ ê chú-ia̍h-bīn. |