Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
Line 10: Line 10:
 
<div class="highway-routeno">[[Route {{{Route|0}}}|{{color|white|Route&nbsp;{{{Route|0}}} {{#if: {{{Direction|}}} | ({{{Direction}}})}}}}]]</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}}}}}]] | ...}}{{#if: {{{Left act|}}} | &#32;(Act {{{Left act|}}})<br>&bull;<br>[[{{{Left link2|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] (Act {{{Left2 act|}}}) | }}</div>
 
<div class="highway-arrow">{{#if: {{{Left|}}} | [[File:0_left.png|link={{{Left link|{{{Left}}}}}}]]}}</div>
 
<div class="highway-arrow">{{#if: {{{Left|}}} | [[File:0_left.png|link={{{Left link|{{{Left}}}}}}]]}}</div>
 
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
 
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
Line 64: Line 64:
 
| Direction  = clockwise
 
| Direction  = clockwise
 
| Left        = Bureau
 
| Left        = Bureau
 +
| Left act    = (left blank in example)
 
| Left link  = Bureau of Reclaimed Spaces
 
| Left link  = Bureau of Reclaimed Spaces
 +
| Left2      = (left blank in example)
 +
| Left2 act  = (left blank in example)
 +
| Left2 link  = (left blank in example)
 
| Right      = The feather
 
| Right      = The feather
 
| Right act  = II
 
| Right act  = II

Revision as of 15:31, 1 December 2018

Example


Usage

{{Highway
| Title       = The crystal
| Image       = 0_crystal.png
| Route       = 65
| Direction   = clockwise
| Left        = Bureau
| Left act    = (left blank in example)
| Left link   = Bureau of Reclaimed Spaces
| Left2       = (left blank in example)
| Left2 act   = (left blank in example)
| Left2 link  = (left blank in example)
| Right       = The feather
| Right act   = II
| Right link  = (left blank in example)
| Right2      = The tree
| Right2 act  = III
| Right2 link = (left blank in example)
| 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      = 511px
}}

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.