Jump to content

Template:Line: Difference between revisions

From SIMT Wiki
Admin (talk | contribs)
Initial import of data templates
 
Admin (talk | contribs)
Rename Cargo table Lines to TransitLines (Lines is an SQL keyword)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Lines
{{#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>Lines</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=Lines
</noinclude><includeonly>{{#cargo_store:_table=TransitLines
|Number={{{number|}}}
|Number={{{number|}}}
|Name={{{name|}}}
|Name={{{name|}}}

Revision as of 20:23, 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.