Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
<div class="highway-arrow">{{#if: {{{2Right|}}} | [[File:0_right.png|link={{{2Right link|{{{2Right}}}}}}]]}}</div>
 
<div class="highway-arrow">{{#if: {{{2Right|}}} | [[File:0_right.png|link={{{2Right link|{{{2Right}}}}}}]]}}</div>
 
<div class="highway-neighbors">{{#if: {{{2Right|}}} | [[{{{2Right link|{{{2Right}}}}}}|{{color|white|{{{2Right}}}}}]] | ...}}{{#if: {{{2Right act|}}} | &#32;(Act {{{2Right act|}}})<br>&bull;<br>[[{{{2Right2 link|{{{2Right2}}}}}}|{{color|white|{{{2Right2}}}}}]] (Act {{{Right2 act|}}}) | }}</div>
 
<div class="highway-neighbors">{{#if: {{{2Right|}}} | [[{{{2Right link|{{{2Right}}}}}}|{{color|white|{{{2Right}}}}}]] | ...}}{{#if: {{{2Right act|}}} | &#32;(Act {{{2Right act|}}})<br>&bull;<br>[[{{{2Right2 link|{{{2Right2}}}}}}|{{color|white|{{{2Right2}}}}}]] (Act {{{Right2 act|}}}) | }}</div>
 +
</div>}}
 +
 +
{{#if: {{{3Route|}}} |
 +
<hr class="highway-line3" />
 +
 +
<div class="highway-routeno">[[Route {{{3Route|1}}}|{{color|white|Route&nbsp;{{{3Route|1}}} {{#if: {{{2Direction|}}} | ({{{2Direction}}})}}}}]]</div>
 +
<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-arrow">{{#if: {{{3Left|}}} | [[File:0_left.png|link={{{3Left link|{{{3Left}}}}}}]]}}</div>
 +
<div class="highway-truck">[[File:0_wheel.png|link=]]</div>
 +
<div class="highway-arrow">{{#if: {{{3Right|}}} | [[File:0_right.png|link={{{3Right link|{{{3Right}}}}}}]]}}</div>
 +
<div class="highway-neighbors">{{#if: {{{3Right|}}} | [[{{{3Right link|{{{3Right}}}}}}|{{color|white|{{{3Right}}}}}]] | ...}}{{#if: {{{3Right act|}}} | &#32;(Act {{{3Right act|}}})<br>&bull;<br>[[{{{3Right2 link|{{{3Right2}}}}}}|{{color|white|{{{3Right2}}}}}]] (Act {{{Right2 act|}}}) | }}</div>
 
</div>}}
 
</div>}}
  
Line 46: Line 58:
 
| Right2      = The tree
 
| Right2      = The tree
 
| Right2 act  = III
 
| Right2 act  = III
| 2Route      = 8192
+
| 2Route     = 65
| 2Left       = Self Storage
+
| 2Direction  = counterclockwise
| 2Left link  = Random Access Self Storage
+
| 2Left      = The bottle
| 2Right     = Self Storage
+
| 2Right      = Bureau
| 2Right link = Random Access Self Storage
+
| 2Right link = Bureau of Reclaimed Spaces
 +
| 3Route     = 8192
 +
| 3Left       = Self Storage
 +
| 3Left link  = Random Access Self Storage
 +
| 3Right     = Self Storage
 +
| 3Right link = Random Access Self Storage
 
| Height      = 511px
 
| Height      = 511px
 
}}
 
}}
Line 61: Line 78:
 
| Title        = The crystal
 
| Title        = The crystal
 
| Image        = 0_crystal.png
 
| Image        = 0_crystal.png
 +
 
| Route        = 65
 
| Route        = 65
 
| Direction    = clockwise
 
| Direction    = clockwise
Line 75: Line 93:
 
| Right2 link  =  
 
| Right2 link  =  
 
| Right2 act  = III
 
| Right2 act  = III
| 2Route      = 8192
+
 
| 2Direction  =  
+
| 2Route      = 65
| 2Left        = Self Storage
+
| 2Direction  = counterclockwise
| 2Left link  = Random Access Self Storage
+
| 2Left        = The bottle
 +
| 2Left link  =  
 
| 2Left act    =  
 
| 2Left act    =  
 
| 2Left2      =  
 
| 2Left2      =  
 
| 2Left2 link  =  
 
| 2Left2 link  =  
 
| 2Left2 act  =  
 
| 2Left2 act  =  
| 2Right      = Self Storage
+
| 2Right      = Bureau
| 2Right link  = Random Access Self Storage
+
| 2Right link  = Bureau of Reclaimed Spaces
 
| 2Right act  =  
 
| 2Right act  =  
 
| 2Right2      =  
 
| 2Right2      =  
 
| 2Right2 link =  
 
| 2Right2 link =  
 
| 2Right2 act  =  
 
| 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      = 511px
 
| Height      = 511px
 
}}</nowiki>
 
}}</nowiki>

Revision as of 08:51, 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       = 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.