Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><div style="background: #000; color: #fff; border-radius: 10px; width: 350px; padding: 8px 8px 16px; float: right;">
+
<includeonly><div style="background: #000; color: #fff; border-radius: 10px; width: 350px; padding: 8px 8px 20px; float: right;">
 
<div class="inconsolata" style="text-align: center; text-transform: uppercase; font-size: 24pt; position: relative; z-index: 1;">{{{Title|{{FULLPAGENAME}}}}}</div>
 
<div class="inconsolata" style="text-align: center; text-transform: uppercase; font-size: 24pt; position: relative; z-index: 1;">{{{Title|{{FULLPAGENAME}}}}}</div>
 
<div style="text-align: center; margin-top: -30px;">[[File:{{{Image|0_Crystal.png}}}|200px|link=]]</div>
 
<div style="text-align: center; margin-top: -30px;">[[File:{{{Image|0_Crystal.png}}}|200px|link=]]</div>
  
<hr style="border: none; border-bottom: 1px dashed #fff; color: transparent; background-color: transparent; margin: 15px auto; width: 75%;">
+
<hr style="border: none; border-bottom: 1px solid #fff; color: transparent; background-color: transparent; margin: 17px auto 12px; width: 75%;">
  
 
<div style="text-align: center; font-size: 14pt; text-transform: uppercase; margin-bottom: 8px;">[[Route {{{Route|0}}}|{{color|white|Route {{{Route|0}}}}}]] {{#if: {{{Direction|}}} | ({{{Direction}}})}}</div>
 
<div style="text-align: center; font-size: 14pt; text-transform: uppercase; margin-bottom: 8px;">[[Route {{{Route|0}}}|{{color|white|Route {{{Route|0}}}}}]] {{#if: {{{Direction|}}} | ({{{Direction}}})}}</div>
Line 9: Line 9:
 
<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; width: 75px; white-space: pre-line; line-height: 1.1em;">{{#if: {{{Left|}}} | [[{{{Left link|{{{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|}}} | [[{{{Left link|{{{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={{{Left link|{{{Left}}}}}}]]}}</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={{{Right link|{{{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|}}} | [[{{{Right link|{{{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|}}} | [[{{{Right link|{{{Right}}}}}}|{{color|white|{{{Right}}}}}]] | ...}}</div>
  
Line 17: Line 17:
  
 
{{#if: {{{Route2|}}} |
 
{{#if: {{{Route2|}}} |
<hr style="border: none; border-bottom: 1px dashed #fff; color: transparent; background-color: transparent; margin: 15px auto; width: 75%;">
+
<hr style="border: none; border-bottom: 1px dashed #fff; color: transparent; background-color: transparent; margin: 15px auto 12px; width: 75%;">
  
 
<div style="text-align: center; font-size: 14pt; text-transform: uppercase; margin-bottom: 8px;">[[Route {{{Route2|1}}}|{{color|white|Route {{{Route2|1}}}}}]] {{#if: {{{Direction2|}}} | ({{{Direction2}}})}}</div>
 
<div style="text-align: center; font-size: 14pt; text-transform: uppercase; margin-bottom: 8px;">[[Route {{{Route2|1}}}|{{color|white|Route {{{Route2|1}}}}}]] {{#if: {{{Direction2|}}} | ({{{Direction2}}})}}</div>
Line 23: Line 23:
 
<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; width: 75px; white-space: pre-line; line-height: 1.1em;">{{#if: {{{Left2|}}} | [[{{{Left link2|{{{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|}}} | [[{{{Left link2|{{{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={{{Left link2|{{{Left2}}}}}}]]}}</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={{{Right link2|{{{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|}}} | [[{{{Right link2|{{{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|}}} | [[{{{Right link2|{{{Right2}}}}}}|{{color|white|{{{Right2}}}}}]] | ...}}</div>
  

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