Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
<div class="highway-image">[[File:{{{Image|0_Crystal.png}}}|200px|link=]]</div>
 
<div class="highway-image">[[File:{{{Image|0_Crystal.png}}}|200px|link=]]</div>
  
<hr style="highway-line1" />
+
<hr class="highway-line1" />
  
<div style="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 style="highway-routebox">
+
<div class="highway-routebox">
<div class="highway-neighbors" style="">{{#if: {{{Left|}}} | [[{{{Left link|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}</div>
+
<div class="highway-neighbors">{{#if: {{{Left|}}} | [[{{{Left link|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}</div>
<div style="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 style="highway-truck">[[File:0_wheel.png|link=]]</div>
+
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
<div style="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}}}}}]] | ...}}</div>
 
</div>
 
</div>
Line 17: Line 17:
 
<hr class="highway-line2" />
 
<hr class="highway-line2" />
  
<div style="highway-routeno">[[Route {{{Route2|1}}}|{{color|white|Route&nbsp;{{{Route2|1}}} {{#if: {{{Direction2|}}} | ({{{Direction2}}})}}}}]]</div>
+
<div class="highway-routeno">[[Route {{{Route2|1}}}|{{color|white|Route&nbsp;{{{Route2|1}}} {{#if: {{{Direction2|}}} | ({{{Direction2}}})}}}}]]</div>
<div style="highway-routebox">
+
<div class="highway-routebox">
 
<div class="highway-neighbors">{{#if: {{{Left2|}}} | [[{{{Left link2|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] | ...}}</div>
 
<div class="highway-neighbors">{{#if: {{{Left2|}}} | [[{{{Left link2|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] | ...}}</div>
<div style="highway-arrow">{{#if: {{{Left2|}}} | [[File:0_left.png|link={{{Left link2|{{{Left2}}}}}}]]}}</div>
+
<div class="highway-arrow">{{#if: {{{Left2|}}} | [[File:0_left.png|link={{{Left link2|{{{Left2}}}}}}]]}}</div>
<div style="highway-truck">[[File:0_wheel.png|link=]]</div>
+
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
<div style="highway-arrow">{{#if: {{{Right2|}}} | [[File:0_right.png|link={{{Right link2|{{{Right2}}}}}}]]}}</div>
+
<div class="highway-arrow">{{#if: {{{Right2|}}} | [[File:0_right.png|link={{{Right link2|{{{Right2}}}}}}]]}}</div>
 
<div class="highway-neighbors">{{#if: {{{Right2|}}} | [[{{{Right link2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | ...}}</div>
 
<div class="highway-neighbors">{{#if: {{{Right2|}}} | [[{{{Right link2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | ...}}</div>
 
</div>}}
 
</div>}}

Revision as of 11:40, 30 June 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 Tree
| Right link  = (blank)
| Route2      = 8192
| Direction2  = (blank)
| Left2       = Self Storage
| Left link2  = Random Access Self Storage
| Right2      = Self Storage
| Right link2 = Random Access Self Storage
}}