మూస:BS-table3/doc
Appearance
This is a documentation subpage for మూస:BS-table3. It may contain usage information, categories and other content that is not part of the original మూస page. |
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}} ( )
- 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:
- route or 1 (default): {{Railway line legend}}, the most generic legend for railway map.
- track: {{Railway track legend}} for railway track and platform alignment diagram.
- bus: {{Bus route legend}} for any type of bus route map.
- canal, water or waterway: {{Waterways legend}} for waterway or canal map.
- walkway, foot or footpath: {{Trails legend}} for footpath map.
- no or 0: No legend page link.
2. Additional CSS styling of this table.
3. Alignment of the map table. left by default.
See also
[మార్చు]- Wikipedia:Route diagram template
- {{BS-table}}
- {{Rdt intro}}
- {{Infobox rdt}}