Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
 
<hr class="highway-line1" />
 
<hr class="highway-line1" />
  
<div class="highway-routeno">[[Route {{{Route|0}}}|{{color|white|Route&nbsp;{{{Route|0}}} {{#if: {{{Direction|}}} | ({{{Direction}}})}}}}]]{{#if: {{{Act|}}} | &nbsp;&ndash; Act {{{Act}}}}}</div>
+
<div class="highway-routeno">[[Route {{{Route|0}}}|{{color|white|Route&nbsp;{{{Route|0}}} {{#if: {{{Direction|}}} | ({{{Direction}}})}}}}]]</div>
 
<div class="highway-routebox">
 
<div class="highway-routebox">
 
<div class="highway-neighbors">{{#if: {{{Left|}}} | [[{{{Left link|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}</div>
 
<div class="highway-neighbors">{{#if: {{{Left|}}} | [[{{{Left link|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}</div>
Line 14: Line 14:
 
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
 
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
 
<div class="highway-arrow">{{#if: {{{Right|}}} | [[File:0_right.png|link={{{Right link|{{{Right}}}}}}]]}}</div>
 
<div class="highway-arrow">{{#if: {{{Right|}}} | [[File:0_right.png|link={{{Right link|{{{Right}}}}}}]]}}</div>
<div class="highway-neighbors">{{#if: {{{Right|}}} | [[{{{Right link|{{{Right}}}}}}|{{color|white|{{{Right}}}}}]] | ...}}</div>
+
<div class="highway-neighbors">{{#if: {{{Right|}}} | [[{{{Right link|{{{Right}}}}}}|{{color|white|{{{Right}}}}}]] | ...}}{{#if: {{{Right2|}}} | <br>&bull;<br>[[{{{Right link2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | }}</div>
 
</div>
 
</div>
  
{{#if: {{{Route2|}}} |
+
{{#if: {{{2Route|}}} |
 
<hr class="highway-line2" />
 
<hr class="highway-line2" />
  
<div class="highway-routeno">[[Route {{{Route2|1}}}|{{color|white|Route&nbsp;{{{Route2|1}}} {{#if: {{{Direction2|}}} | ({{{Direction2}}})}}}}]]</div>
+
<div class="highway-routeno">[[Route {{{2Route|1}}}|{{color|white|Route&nbsp;{{{2Route|1}}} {{#if: {{{2Direction|}}} | ({{{2Direction}}})}}}}]]</div>
 
<div class="highway-routebox">
 
<div class="highway-routebox">
<div class="highway-neighbors">{{#if: {{{Left2|}}} | [[{{{Left link2|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] | ...}}</div>
+
<div class="highway-neighbors">{{#if: {{{2Left|}}} | [[{{{2Left link|{{{2Left}}}}}}|{{color|white|{{{2Left}}}}}]] | ...}}</div>
<div class="highway-arrow">{{#if: {{{Left2|}}} | [[File:0_left.png|link={{{Left link2|{{{Left2}}}}}}]]}}</div>
+
<div class="highway-arrow">{{#if: {{{2Left|}}} | [[File:0_left.png|link={{{2Left link|{{{2Left}}}}}}]]}}</div>
 
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
 
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
<div class="highway-arrow">{{#if: {{{Right2|}}} | [[File:0_right.png|link={{{Right link2|{{{Right2}}}}}}]]}}</div>
+
<div class="highway-arrow">{{#if: {{{2Right|}}} | [[File:0_right.png|link={{{2Right link|{{{2Right}}}}}}]]}}</div>
<div class="highway-neighbors">{{#if: {{{Right2|}}} | [[{{{Right link2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | ...}}</div>
+
<div class="highway-neighbors">{{#if: {{{2Right|}}} | [[{{{2Right link|{{{2Right}}}}}}|{{color|white|{{{2Right}}}}}]] | ...}}</div>
 
</div>}}
 
</div>}}
  
Line 40: Line 40:
 
| Route      = 65
 
| Route      = 65
 
| Direction  = clockwise
 
| Direction  = clockwise
| Act        = II
 
 
| Left        = Bureau
 
| Left        = Bureau
 
| Left link  = Bureau of Reclaimed Spaces
 
| Left link  = Bureau of Reclaimed Spaces
 
| Right      = The feather
 
| Right      = The feather
| Route2     = 8192
+
| 2Route     = 8192
| Left2       = Self Storage
+
| 2Left       = Self Storage
| Left link2 = Random Access Self Storage
+
| 2Left link = Random Access Self Storage
| Right2     = Self Storage
+
| 2Right     = Self Storage
| Right link2 = Random Access Self Storage
+
| 2Right link = Random Access Self Storage
 
| Height      = 441px
 
| Height      = 441px
 
}}
 
}}
Line 61: Line 60:
 
| Route      = 65
 
| Route      = 65
 
| Direction  = clockwise
 
| Direction  = clockwise
| Act        = II
 
 
| Left        = Bureau
 
| Left        = Bureau
 
| Left link  = Bureau of Reclaimed Spaces
 
| Left link  = Bureau of Reclaimed Spaces
| Right      = The feather
+
| Right      = The feather (Act II)
| Right link  = (left blank in example)
+
| Right link  = The feather
| Route2     = 8192
+
| Right2      = The tree (Act III)
| Direction2 = (left blank in example)
+
| Right link2 = The tree
| Left2       = Self Storage
+
| 2Route     = 8192
| Left link2 = Random Access Self Storage
+
| 2Direction = (left blank in example)
| Right2     = Self Storage
+
| 2Left       = Self Storage
| Right link2 = Random Access Self Storage
+
| 2Left link = Random Access Self Storage
 +
| 2Right     = Self Storage
 +
| 2Right link = Random Access Self Storage
 
| Height      = 441px
 
| Height      = 441px
 
}}</nowiki>
 
}}</nowiki>

Revision as of 15:17, 1 December 2018

Example


Usage

{{Highway
| Title       = The crystal
| Image       = 0_crystal.png
| Route       = 65
| Direction   = clockwise
| Left        = Bureau
| Left link   = Bureau of Reclaimed Spaces
| Right       = The feather (Act II)
| Right link  = The feather
| Right2      = The tree (Act III)
| Right link2 = The tree
| 2Route      = 8192
| 2Direction  = (left blank in example)
| 2Left       = Self Storage
| 2Left link  = Random Access Self Storage
| 2Right      = Self Storage
| 2Right link = Random Access Self Storage
| Height      = 441px
}}

All variables below Route are optional. Height is for slightly justing the height (relative to auto) to make the notebook spine background images line up.