Template:BS-KRZ/doc

From blackwiki
Jump to navigation Jump to search

This template will create the code for a grade-separated crossing when a suitable icon does not exist.

Usage

Parameters
  • 1 = lower line.
  • 2 = BRIDGE type (see Bridges, portals, overpasses and other formations)
    Note that only the suffix is required, as the template automatically includes the BRIDGE root.
  • 3 = upper line.
  • 4 = column number the template is used in. If omitted the output is usable by {{Routemap}} and does not have to be transcluded.

Note: Due to some template and wiki markup limitations, this template only works if it is substituted into the BS row template instead of transcluding it in. This will result in the {{BS-KRZ}} template being replaced by regular BSicon coding.

Example

Icons:
  (STR2+4)   (BRIDGErl)   (uSTR3+1)
Input:
{{BS-KRZ|STR2+4|rl|uSTR3+1}}
Result:
Template:Superimpose5
STR2+4!~BRIDGErl!~uSTR3+1
Input:
{{subst:BS-KRZ|STR2+4|rl|uSTR3+1|1}}
Result:
Template:Superimpose5
STR2+4|O1=BRIDGErl|O12=uSTR3+1