Predefinição:BS-table3
Usage[editar código-fonte]
- 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}}
(Predefinição: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[editar código-fonte]
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: User:David Edgar/Footpath legend for footpath map. (Tentative)
- 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[editar código-fonte]
A documentação acima é transcluída de Predefinição:BS-table3/doc. (editar | histórico) Editores podem experimentar nas páginas de teste (criar | espelhar) e de exemplos para testes (criar) desta predefinição. Por favor adicione categorias à subpágina /doc. Subpáginas desta predefinição. |