Template:Trip: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:cars (label=Cars in consist)|dest (label=Destination)|pax (label=Passenger count)|depart (label=Departure time)|crew (label=Crew)| | {{#template_params:cars (label=Cars in consist)|dest (label=Destination)|revenue (label=Revenue trip?)|pax (label=Passenger count)|depart (label=Departure time)|crew (label=Crew)|questionable (label=Data is questionable)|veracity (label=Veracity of data)|remarks (label=Remarks)}} | ||
{{#cargo_declare:_table=trips|cars=List (;) of Page|dest=String (allowed values=Molena,Birds Landing,Pantano,Gum Grove,Diablo Vista)|distance=Float|pax=Integer|depart=String|crew=List (,) of Integer|questionable=Boolean| | {{#cargo_declare:_table=trips|cars=List (;) of Page|dest=String (allowed values=Molena,Birds Landing,Pantano,Gum Grove,Diablo Vista)|distance=Float|revenue=Boolean|pax=Integer|depart=String|crew=List (,) of Integer|questionable=Boolean|veracity=String (allowed values=Fake,Dubious,Verified)|remarks=Text}} | ||
</noinclude><includeonly>{{#cargo_store:_table=trips | </noinclude><includeonly>{{#cargo_store:_table=trips | ||
| | |revenue={{{revenue|true}}} | ||
|cars={{#invoke:Realpath|realpath_list|{{{cars}}} }} | |cars={{#invoke:Realpath|realpath_list|{{{cars}}} }} | ||
|distance={{{distance| {{#switch: {{{dest}}} | |distance={{{distance| {{#switch: {{{dest}}} | ||
Latest revision as of 02:15, 6 October 2026
This is the "Trip" template.
It should be called in the following format:
{{Trip
|cars=
|dest=
|revenue=
|pax=
|depart=
|crew=
|questionable=
|veracity=
|remarks=
}}
Edit the page to see the template text.
This template defines the table "trips". View table.