Difference between revisions of "Template:Highway"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
<div class="highway-box-main" {{#if: {{{Height|}}} | style="height: {{{Height}}};"}}>
 
<div class="highway-box-main" {{#if: {{{Height|}}} | style="height: {{{Height}}};"}}>
 
<div class="highway-title">{{{Title|{{PAGENAME}}}}}</div>
 
<div class="highway-title">{{{Title|{{PAGENAME}}}}}</div>
<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 class="highway-line1" />
 
<hr class="highway-line1" />
Line 33: Line 33:
 
<div class="highway-box-bottom"></div>
 
<div class="highway-box-bottom"></div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
 
== Example ==
 
== Example ==
  
 
{{Highway
 
{{Highway
| Title      = The Crystal
+
| Title      = The crystal
| Image      = 0_Crystal.png
+
| Image      = 0_crystal.png
 
| Route      = 65
 
| Route      = 65
 
| Direction  = clockwise
 
| Direction  = clockwise
 
| Left        = Bureau
 
| Left        = Bureau
 
| Left link  = Bureau of Reclaimed Spaces
 
| Left link  = Bureau of Reclaimed Spaces
| Right      = The Tree
+
| Right      = The feather
 
| Route2      = 8192
 
| Route2      = 8192
 
| Left2      = Self Storage
 
| Left2      = Self Storage
Line 57: Line 56:
 
  <nowiki>
 
  <nowiki>
 
{{Highway
 
{{Highway
| Title      = The Crystal
+
| Title      = The crystal
| Image      = 0_Crystal.png
+
| Image      = 0_crystal.png
 
| Route      = 65
 
| Route      = 65
| Direction  = Clockwise
+
| Direction  = clockwise
 
| Left        = Bureau
 
| Left        = Bureau
 
| Left link  = Bureau of Reclaimed Spaces
 
| Left link  = Bureau of Reclaimed Spaces
| Right      = The Tree
+
| Right      = The feather
| Right link  = (blank)
+
| Right link  = (left blank in example)
 
| Route2      = 8192
 
| Route2      = 8192
| Direction2  = (blank)
+
| Direction2  = (left blank in example)
 
| Left2      = Self Storage
 
| Left2      = Self Storage
 
| Left link2  = Random Access Self Storage
 
| Left link2  = Random Access Self Storage
Line 74: Line 73:
 
}}</nowiki>
 
}}</nowiki>
  
All variables below <code>Route</code> are optional. <code>Height</code> is for slightly justing the height (relative to auto) to make the background images line up.
+
All variables below <code>Route</code> are optional. <code>Height</code> is for slightly justing the height (relative to auto) to make the notebook spine background images line up.
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:55, 1 December 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 feather
| Right link  = (left blank in example)
| Route2      = 8192
| Direction2  = (left blank in example)
| Left2       = Self Storage
| Left link2  = Random Access Self Storage
| Right2      = Self Storage
| Right link2 = Random Access Self Storage
| Height      = 441px
}}

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.