Template:Line: Difference between revisions
Appearance
Initial import of data templates |
fix pipes in infobox |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table= | {{#cargo_declare:_table=TransitLines | ||
|Number=String | |Number=String | ||
|Name=String | |Name=String | ||
| Line 8: | Line 8: | ||
|Description=Wikitext | |Description=Wikitext | ||
}} | }} | ||
Infobox and data store for a transit line. Create pages with [[Form:Line]]. Routes are added to the page with <code><nowiki>{{LineRoute}}</nowiki></code> (see [[Template:LineRoute]]). Data table: <code> | Infobox and data store for a transit line. Create pages with [[Form:Line]]. Routes are added to the page with <code><nowiki>{{LineRoute}}</nowiki></code> (see [[Template:LineRoute]]). Data table: <code>TransitLines</code>. | ||
</noinclude><includeonly>{{#cargo_store:_table= | </noinclude><includeonly>{{#cargo_store:_table=TransitLines | ||
|Number={{{number|}}} | |Number={{{number|}}} | ||
|Name={{{name|}}} | |Name={{{name|}}} | ||
| Line 18: | Line 18: | ||
}} | }} | ||
{| class="simt-infobox" | {| class="simt-infobox" | ||
|+ Line {{{number|}}}{{#if:{{{name|}}}|: {{{name}}}}} | |+ Line {{{number|}}}{{#if:{{{name|}}}|<nowiki>:</nowiki> {{{name}}}}} | ||
|- | |- | ||
! Type | ! Type | ||
Latest revision as of 20:27, 13 November 2026
This template defines the table "TransitLines". View table.
Infobox and data store for a transit line. Create pages with Form:Line. Routes are added to the page with {{LineRoute}} (see Template:LineRoute). Data table: TransitLines.