Difference between revisions of "Template:Infobox rail company"
Jump to navigation
Jump to search
imported>Frietjes (Adding unknown parameter tracking through Category:Pages using infobox rail company with unknown parameters using Module:check for unknown parameters) |
imported>Frietjes |
||
| Line 29: | Line 29: | ||
| label12 = Defunct | | label12 = Defunct | ||
| data12 = {{{defunct|}}} | | data12 = {{{defunct|}}} | ||
| − | | label13 = Predecessor | + | | label13 = {{#if:{{{predecessors|}}}|Predecessors|Predecessor}} |
| − | | data13 = {{{predecessors|}}} | + | | data13 = {{#if:{{{predecessors|}}}|{{{predecessors|}}}|{{{predecessor|}}}}} |
| − | | label14 = Successor | + | | label14 = {{#if:{{{successors|}}}|Successors|Successor}} |
| − | | data14 = {{{successors|}}} | + | | data14 = {{#if:{{{successors|}}}|{{{successors|}}}|{{{successor|}}}}} |
| label15 = Parent company | | label15 = Parent company | ||
| data15 = {{{parent_company|}}} | | data15 = {{{parent_company|}}} | ||
| Line 66: | Line 66: | ||
}} | }} | ||
}} | }} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail company with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail company]] with unknown parameter "_VALUE_"|ignoreblank=y| abbr | bgcolor | box_width | caption | defunct | el | elevation | fleet | founded | franchise | gauge | image | image_filename | image_size | linelength | logo | logo_filename | logo_size | logo_width | map | map_state | min-width | name | nameforarea | notrack | oldgauge | parent_company | predecessors | regions | routekm | secregions | speed | stations | stationsop | style | successors | tracklength | website | widthpx }}<noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail company with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail company]] with unknown parameter "_VALUE_"|ignoreblank=y| abbr | bgcolor | box_width | caption | defunct | el | elevation | fleet | founded | franchise | gauge | image | image_filename | image_size | linelength | logo | logo_filename | logo_size | logo_width | map | map_state | min-width | name | nameforarea | notrack | oldgauge | parent_company | predecessor | predecessors | regions | routekm | secregions | speed | stations | stationsop | style | successor | successors | tracklength | website | widthpx }}<noinclude> |
{{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS --> | {{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> | ||
Revision as of 13:57, 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. |