Difference between revisions of "Template:Infobox rail company"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| Line 36: | Line 36: | ||
| data15 = {{{parent_company|}}} | | data15 = {{{parent_company|}}} | ||
| label16 = Website | | label16 = Website | ||
| − | | data16 = {{#if:{{{website|}}} | {{#ifeq: | + | | data16 = {{#if:{{{website|}}} | {{#ifeq:_MATCH_|{{#invoke:string|replace|{{{website}}}|^[A-Za-z0-9].*|_MATCH_|plain=false}}|{{URL|1={{{website}}}}}|{{{website}}} }} }} |
| header40 = {{#if:{{{linelength|}}}{{{tracklength|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{elevation|}}}|Technical}} | | header40 = {{#if:{{{linelength|}}}{{{tracklength|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{elevation|}}}|Technical}} | ||
Revision as of 14:17, 2 November 2017
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
- redirect Template:Parameter names example
{{Infobox rail company
<!-- General -->
| name =
| logo =
| logo_size =
| image =
| image_size =
| caption =
<!-- Info -->
| franchise =
| nameforarea =
| regions =
| secregions =
| fleet =
| stations =
| stationsop =
| routekm =
| abbr =
| founded =
| defunct =
| predecessors = <!-- or | predecessor = -->
| successors = <!-- or | successor = -->
| parent_company =
| website =
<!-- Technical -->
| linelength =
| tracklength =
| notrack =
| gauge =
| oldgauge =
| el =
| speed =
| elevation =
<!-- Route map -->
| map =
}}
Tracking category
| The above documentation is transcluded from Template:Infobox rail company/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |