Template:Trip.edit
From FollowTheScore
{{#vardefine:DtArticleSortKey|}}
ID?
{{#vardefine:page|{{#var:page}}}}{{#vardefine:nr|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}
({{#var:DtArticleSortKey}}) list help [[Special:Call/DT Article copy,cat=Trip,from={{#var:page}},namespace=Template|copy]] [[Special:Call/DT Articles list XML,type=Trip,title={{#var:page}},namespace=Template|as XML]] edit |
Trip | |
Start Point | → {{#vardefine:target|{{#replace:{{{StartPoint}}}|/ .*/|}}}}{{#vardefine:info|{{#replace:{{{StartPoint}}}|/^{{#var:target}} */|}}}}
[[{{#var:target}}]] {{#var:info}} |
End Point | → {{#vardefine:target|{{#replace:{{{EndPoint}}}|/ .*/|}}}}{{#vardefine:info|{{#replace:{{{EndPoint}}}|/^{{#var:target}} */|}}}}
[[{{#var:target}}]] {{#var:info}} |
Distance | {{{Distance}}} |
Participants | → {{{Participants}}} |
Description |
{{#replace:{{#replace:{{{Description}}}|/ +==/|==}}|/^[.]/|}} |
... repeat this structure if you want to define another Trip ..