Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
<div style="text-align: center; font-size: 12pt; width: 100%; white-space: nowrap;">
 
<div style="text-align: center; font-size: 12pt; width: 100%; white-space: nowrap;">
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; max-width: 30px;">{{#if: {{{Left|}}} | [[{{{LeftLink|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}</div>
+
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; width: 75px; white-space: pre-line; line-height: 1.1em;">{{#if: {{{Left|}}} | [[{{{LeftLink|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Left}}} | [[File:0_left.png|link=]]}}</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Left}}} | [[File:0_left.png|link=]]}}</div>
 
<div style="display: inline-block; vertical-align: middle;">[[File:0_wheel.png|link=]]</div>
 
<div style="display: inline-block; vertical-align: middle;">[[File:0_wheel.png|link=]]</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Right}}} | [[File:0_right.png|link=]]}}</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Right}}} | [[File:0_right.png|link=]]}}</div>
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; max-width: 30px;">{{#if: {{{Right|}}} | [[{{{RightLink|{{{Right}}}}}}|{{color|white|{{{Right}}}}}]] | ...}}</div>
+
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; width: 75px; white-space: pre-line; line-height: 1.1em;">{{#if: {{{Right|}}} | [[{{{RightLink|{{{Right}}}}}}|{{color|white|{{{Right}}}}}]] | ...}}</div>
  
 
</div>
 
</div>
Line 17: Line 17:
  
 
<div style="text-align: center; font-size: 12pt; width: 100%; white-space: nowrap;">
 
<div style="text-align: center; font-size: 12pt; width: 100%; white-space: nowrap;">
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; max-width: 30px;">{{#if: {{{Left2|}}} | [[{{{LeftLink2|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] | ...}}</div>
+
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; width: 75px; white-space: pre-line; line-height: 1.1em;">{{#if: {{{Left2|}}} | [[{{{LeftLink2|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] | ...}}</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Left2}}} | [[File:0_left.png|link=]]}}</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Left2}}} | [[File:0_left.png|link=]]}}</div>
 
<div style="display: inline-block; vertical-align: middle;">[[File:0_wheel.png|link=]]</div>
 
<div style="display: inline-block; vertical-align: middle;">[[File:0_wheel.png|link=]]</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Right2}}} | [[File:0_right.png|link=]]}}</div>
 
<div style="display: inline-block; vertical-align: middle; margin: 0 20px;">{{#if: {{{Right2}}} | [[File:0_right.png|link=]]}}</div>
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; max-width: 30px;">{{#if: {{{Right2|}}} | [[{{{RightLink2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | ...}}</div>
+
<div class="inconsolata" style="display: inline-block; vertical-align: middle; text-transform: uppercase; width: 75px; white-space: pre-line; line-height: 1.1em;">{{#if: {{{Right2|}}} | [[{{{RightLink2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | ...}}</div>
  
 
</div>
 
</div>

Revision as of 11:05, 30 June 2018


Example

The Crystal
Route 65 (clockwise)

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  = 
| Route2      = 8192
| Direction2  = 
| Left2       = Self Storage
| Left link2  = Random Access Self Storage
| Right2      = Self Storage
| Right link2 = Random Access Self Storage
}}