Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
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}}})}}}}]]</div>
+
<div class="highway-routeno">[[Route {{{Route|0}}}|{{color|white|Route&nbsp;{{{Route|0}}} {{#if: {{{Direction|}}} | <small>({{{Direction}}})</small>}}}}]]</div>
 
<div class="highway-routebox">
 
<div class="highway-routebox">
 
<div class="highway-neighbors">{{#if: {{{Left|}}} | [[{{{Left link|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}{{#if: {{{Left act|}}} | &#32;(Act {{{Left act|}}})<br>&bull;<br>[[{{{Left2 link|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] (Act {{{Left2 act|}}}) | }}</div>
 
<div class="highway-neighbors">{{#if: {{{Left|}}} | [[{{{Left link|{{{Left}}}}}}|{{color|white|{{{Left}}}}}]] | ...}}{{#if: {{{Left act|}}} | &#32;(Act {{{Left act|}}})<br>&bull;<br>[[{{{Left2 link|{{{Left2}}}}}}|{{color|white|{{{Left2}}}}}]] (Act {{{Left2 act|}}}) | }}</div>
Line 20: Line 20:
 
<hr class="highway-line2" />
 
<hr class="highway-line2" />
  
<div class="highway-routeno">[[Route {{{2Route|1}}}|{{color|white|Route&nbsp;{{{2Route|1}}} {{#if: {{{2Direction|}}} | ({{{2Direction}}})}}}}]]</div>
+
<div class="highway-routeno">[[Route {{{2Route|1}}}|{{color|white|Route&nbsp;{{{2Route|1}}} {{#if: {{{2Direction|}}} | <small>({{{2Direction}}})</small>}}}}]]</div>
 
<div class="highway-routebox">
 
<div class="highway-routebox">
 
<div class="highway-neighbors">{{#if: {{{2Left|}}} | [[{{{2Left link|{{{2Left}}}}}}|{{color|white|{{{2Left}}}}}]] | ...}}{{#if: {{{2Left act|}}} | &#32;(Act {{{2Left act|}}})<br>&bull;<br>[[{{{2Left2 link|{{{2Left2}}}}}}|{{color|white|{{{2Left2}}}}}]] (Act {{{2Left2 act|}}}) | }}</div>
 
<div class="highway-neighbors">{{#if: {{{2Left|}}} | [[{{{2Left link|{{{2Left}}}}}}|{{color|white|{{{2Left}}}}}]] | ...}}{{#if: {{{2Left act|}}} | &#32;(Act {{{2Left act|}}})<br>&bull;<br>[[{{{2Left2 link|{{{2Left2}}}}}}|{{color|white|{{{2Left2}}}}}]] (Act {{{2Left2 act|}}}) | }}</div>
Line 32: Line 32:
 
<hr class="highway-line2" />
 
<hr class="highway-line2" />
  
<div class="highway-routeno">[[Route {{{3Route|1}}}|{{color|white|Route&nbsp;{{{3Route|1}}} {{#if: {{{3Direction|}}} | ({{{3Direction}}})}}}}]]</div>
+
<div class="highway-routeno">[[Route {{{3Route|1}}}|{{color|white|Route&nbsp;{{{3Route|1}}} {{#if: {{{3Direction|}}} | <small>({{{3Direction}}})</small>}}}}]]</div>
 
<div class="highway-routebox">
 
<div class="highway-routebox">
 
<div class="highway-neighbors">{{#if: {{{3Left|}}} | [[{{{3Left link|{{{3Left}}}}}}|{{color|white|{{{3Left}}}}}]] | ...}}{{#if: {{{3Left act|}}} | &#32;(Act {{{3Left act|}}})<br>&bull;<br>[[{{{3Left2 link|{{{3Left2}}}}}}|{{color|white|{{{3Left2}}}}}]] (Act {{{3Left2 act|}}}) | }}</div>
 
<div class="highway-neighbors">{{#if: {{{3Left|}}} | [[{{{3Left link|{{{3Left}}}}}}|{{color|white|{{{3Left}}}}}]] | ...}}{{#if: {{{3Left act|}}} | &#32;(Act {{{3Left act|}}})<br>&bull;<br>[[{{{3Left2 link|{{{3Left2}}}}}}|{{color|white|{{{3Left2}}}}}]] (Act {{{3Left2 act|}}}) | }}</div>

Revision as of 10:10, 3 January 2020

Example


Usage

{{Highway
| Title        = The crystal
| Image        = 0_crystal.png

| Route        = 65
| Direction    = clockwise
| Left         = Bureau
| Left link    = Bureau of Reclaimed Spaces
| Left act     = 
| Left2        = 
| Left2 link   = 
| Left2 act    = 
| Right        = The feather
| Right link   = 
| Right act    = II
| Right2       = The tree
| Right2 link  = 
| Right2 act   = III

| 2Route       = 65
| 2Direction   = counterclockwise
| 2Left        = The bottle
| 2Left link   = 
| 2Left act    = 
| 2Left2       = 
| 2Left2 link  = 
| 2Left2 act   = 
| 2Right       = Bureau
| 2Right link  = Bureau of Reclaimed Spaces
| 2Right act   = 
| 2Right2      = 
| 2Right2 link = 
| 2Right2 act  = 

| 3Route       = 8192
| 3Direction   = 
| 3Left        = Self Storage
| 3Left link   = Random Access Self Storage
| 3Left act    = 
| 3Left2       = 
| 3Left2 link  = 
| 3Left2 act   = 
| 3Right       = Self Storage
| 3Right link  = Random Access Self Storage
| 3Right act   = 
| 3Right2      = 
| 3Right2 link = 
| 3Right2 act  = 

| Height       = 621px
}}

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.