Fyrimynd:Rail color doc/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:Rail color doc. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This template lists as a wikitable row a template name and arguments, a color sample and its hex value.
|
Sample: | hexval
| |
Sample: | hexval
|
Usage
rættaThe template itself is contained between table start and end markup:
{| class="wikitable"
{{Color template doc|system=system|line=line|branch=branch}}
|}
The branch= argument is optional.
Example
rættaWhen used on the page Template:National Rail colour/doc, the code {{Rail color doc|system=National Rail colour|line=Eurostar}}
produces
{{National Rail colour|Eurostar}}
|
Sample: | style="background:#Fyrimynd:National Rail colour; border-top:solid 1px gray; " | | fyrimynd:national rail colour
|
On the page Template:Swiss rail color/doc, the code {{Rail color doc|system=Swiss rail color|line=Lucerne S-Bahn|branch=S1}}
produces
{{Swiss rail color|Lucerne S-Bahn|S1}}
|
Sample: | style="background:#Fyrimynd:Swiss rail color; border-top:solid 1px gray; " | | fyrimynd:swiss rail color
|
Additional information can be added by using regular wikitable markup code. Each new line following }}
that starts with |
will add a cell to the end of the current row. For example, on the page Template:NYCS color/doc (which uses the similar Template:Color template 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
rætta