Mall:BS-table3/dok
Utseende
Det här är en dokumentationssida till Mall:BS-table3. Den innehåller användningsinformation, kategorier och annat innehåll som inte är en del av mallen. |
Användning
[redigera wikitext]- 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 järnväg}}
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.
Parametrar
[redigera wikitext]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: Wikipedia:Route diagram template/Catalog of pictograms/trails 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.
Se även
[redigera wikitext]{{BS-table}}
{{Rdt intro}}
{{Infobox rdt}}