Difference between revisions of "Template:Bahnlinie/doc"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
 
imported>AlgaeGraphix
(+ category)
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
| rowspan="3" | —
 
| rowspan="3" | —
 
|- align=center valign=top
 
|- align=center valign=top
| '''AVG'''<br/>[[Albtal-Verkehrs-Gesellschaft|Albtal-<br/>Verkehrs-<br/>Gesellschaft]] || '''DB'''<br/>[[Deutsche Bahn|Deutsche<br/>Bahn]] || '''F'''<br/>[[Ferry]] || '''IC'''<br/>[[InterCity]] || '''ICE'''<br/>[[InterCity Express|InterCity<br/>Express]] || '''IRE''' || '''FSX'''  
+
| '''AVG'''<br/>[[Albtal-Verkehrs-Gesellschaft|Albtal-<br/>Verkehrs-<br/>Gesellschaft]] || '''DB'''<br/>[[Deutsche Bahn|Deutsche<br/>Bahn]] || '''F'''<br/>[[Ferry]] || '''IC'''<br/>[[InterCity]] || '''ICE'''<br/>[[Intercity Express|Intercity<br/>Express]] || '''IRE''' || '''FSX'''  
 
|- align=center valign=top
 
|- align=center valign=top
 
| '''NZ''' || '''R ''' || '''RB '''<br/>[[Regionalbahn]] || '''RE''' || '''S'''<br/>[[S-Bahn]] || '''U'''<br/>[[U-Bahn]] || '''X'''<br/>[[Express bus]]  
 
| '''NZ''' || '''R ''' || '''RB '''<br/>[[Regionalbahn]] || '''RE''' || '''S'''<br/>[[S-Bahn]] || '''U'''<br/>[[U-Bahn]] || '''X'''<br/>[[Express bus]]  
Line 69: Line 69:
  
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Germany rail transport templates]]
 
[[Category:Germany rail transport templates]]
 +
[[Category:Possible merge into Template:Rail-interchange]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:49, 1 May 2020

This template is a mirror of its German Wikipedia equivalent. It creates and displays uniform symbols (with predefined values and colours) for German public transport routes (including rail, bus and ferry).

Parameter Required Description Default
1 Yes train category
AVG
Albtal-
Verkehrs-
Gesellschaft
DB
Deutsche
Bahn
F
Ferry
IC
InterCity
ICE
Intercity
Express
IRE FSX
NZ R RB
Regionalbahn
RE S
S-Bahn
U
U-Bahn
X
Express bus
2 No route number
3 No optional text
4 No text colour (for S-Bahn and U-Bahn) black
5 No background colour white
6 No border colour black
7 No tool tip text
8 No corner radius 0 for U-bahn;
1 for others

Examples

  • {{Bahnlinie|AVG|1}}AVG 1
  • {{Bahnlinie|DB|1}}DB 1
  • {{Bahnlinie|F|2}}F 2
  • {{Bahnlinie|IC|50}}50 (generic number only, without text)
  • {{Bahnlinie|IC|50|IC}}IC 50 (with text as the 3rd parameter, indicating the line type)
  • {{Bahnlinie|ICE}}ICE
  • {{Bahnlinie|IRE|1}}IRE 1
  • {{Bahnlinie|RB|40}}RB 40
  • {{Bahnlinie|RB||R 10|grey|white|black}}R 10
  • {{Bahnlinie|RE|1}}RE 1
  • {{Bahnlinie|S|1}}S 1
  • {{Bahnlinie|X|7}}X 7
  • {{Bahnlinie|U|1||black|yellow|black}}U 1