Template:BS-table3

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

  • Wiki table header for route map template which will be transcluded in the infobox like {{Infobox public transit}}. Remember to close the route table by at least one |}
  • Although editor can solely apply this template, in order to give the template page a tidy look, follow the syntax below:
<noinclude>{| {{Railway line header}}
{{bs-header}}
|-
|</noinclude>
{{BS-table3}}
<!-- *BS row templates for the structure of the route* -->
|}
<!-- *Optional notes of the ROUTE or {{tnavbar}}* -->
<noinclude>|}
<!-- *{{rdt intro|}} is suggested applying here for unified introduction to the template* -->
<!-- *More notes of the route TEMPLATE itself* -->
[[Category:]]
</noinclude>
  • The whole syntax above cannot be made into 1 template as a macro due to the paradox that the HTML tag <noinclude> cannot be "included" (includeonly) as part of the template to be transcluded.
  • See example {{Sochi Light Metro route diagram}} (edit)
  • If you diagram template will be transcluded by infobox like {{Infobox rail line}} or {{Infobox rail service}} via {{Infobox rdt}}, the format of the syntax above will be slightly different due to the fact that they apply different code for their map parameter. See {{Infobox rdt}} for instruction.

Parameters

1. Switching the types of map legend to be linked:

2. Additional CSS styling of this table.

3. Alignment of the map table. left by default.

See also