Difference between revisions of "Template:Routebox"

From Beaver State Roads
Jump to navigation Jump to search
(Updated some CSS)
(Added created_text variable)
 
(8 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td colspan="2" class="center rb-highwayname">{{{highway|HighwayName Here}}}{{#if: {{{addl_highways|}}} | <br />{{{addl_highways}}} | }}</td>
+
<td colspan="2" class="center rb-highwayname">{{{highway|Highway Name Here}}}{{#if: {{{addl_highways|}}} | <br />{{{addl_highways}}} | }}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td colspan="2" class="center">{{#if: {{{map|}}} | [[File:{{{map}}}|300px]] | }}</td>
+
<td colspan="2" class="center rb-map">{{#if: {{{map|}}} | [[File:{{{map}}}|300px]] | }}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th colspan="2" class="center subheader">Route Information</th>
+
<th colspan="2" class="center rb-subheader">Route Information</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td colspan="2" align="center">Maintained by {{{maintained_by|Jurisdiction}}}</td>
+
<td colspan="2" class="center">Maintained by {{{maintained_by|Jurisdiction}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th align="right">Length{{#if: {{{addl_lengths|}}} | s | }}</th>
+
<th class="right">Length{{#if: {{{addl_lengths|}}} | s | }}</th>
<td align="left">{{{length|0.00}}} mi.{{#if: {{{length_note|}}} | &mdash; {{{length_note}}} | }}{{#if: {{{addl_lengths|}}} | <br />{{{addl_lengths}}} | }}</td>
+
<td class="left">{{{length|0.00}}} mi. {{#if: {{{length_note|}}} | &mdash; {{{length_note}}} | }}{{#if: {{{length_ref|}}} | {{{length_ref}}} | }}{{#if: {{{addl_lengths|}}} | <br />{{{addl_lengths}}} | }}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th align="right">Existed</th>
+
<th class="right">{{{created_text|Existed}}}</th>
<td align="left">{{{created|1900}}}-{{{removed|present}}}{{#if: {{{addl_timespans|}}} | <br />{{{addl_timespans}}} | }}</td>
+
<td class="left">{{{created|1900}}} to {{{removed|present}}}{{#if: {{{addl_timespans|}}} | <br />{{{addl_timespans}}} | }}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th colspan="2" align="center" class="subheader">Junctions</th>
+
<th colspan="2" class="center rb-subheader">Junctions</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th align="right">{{{start_terminus_dir|One}}} End</th>
+
<th class="right">{{{start_terminus_dir|One}}} End</th>
<td align="left">{{{start_terminus|}}}</td>
+
<td class="left">{{{start_terminus|}}}</td>
 
</td>
 
</td>
 
</tr>
 
</tr>
 
{{#if: {{{junctions|}}}  
 
{{#if: {{{junctions|}}}  
 
| <tr>
 
| <tr>
<th align="right">&nbsp;</th>
+
<th class="right">&nbsp;</th>
<td align="left">{{{junctions}}}</td>
+
<td class="left">{{{junctions}}}</td>
 
</td>
 
</td>
 
</tr>
 
</tr>
 
| }}
 
| }}
 
<tr>
 
<tr>
<th align="right">{{{end_terminus_dir|Other}}} End</th>
+
<th class="right">{{{end_terminus_dir|Other}}} End</th>
<td align="left">{{{end_terminus|}}}</td>
+
<td class="left">{{{end_terminus|}}}</td>
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
{{#if: {{{multiplexes|}}}
 +
| <tr>
 +
<th colspan="2" class="center rb-subheader">Multiplexes</th>
 +
</tr>
 +
<tr>
 +
<th class="right">&nbsp;</th>
 +
<td class="left">{{{multiplexes}}}</td>
 +
</td>
 +
</tr>
 +
| }}
 
<tr>
 
<tr>
<th colspan="2" align="center" class="subheader">Navigation</th>
+
<th colspan="2" class="center rb-subheader">Navigation</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td colspan="2" align="center>
+
<td colspan="2" class="center">
 
<table width="100%">
 
<table width="100%">
 
<tr>
 
<tr>
<td align="left">&larr; {{{prev_route|}}}</td>
+
<td class="left">&larr; {{{prev_route|}}}</td>
<td align="right">{{{next_route|}}} &rarr;</td>
+
<td class="right">{{{next_route|}}} &rarr;</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 61: Line 71:
 
</tr>
 
</tr>
 
</table>
 
</table>
</div><!--[[File:OR_64_1948.png|20px]]-->
+
</div>

Latest revision as of 11:02, 13 October 2022

[[File:{{{type}}}_{{{number}}}.png|80px]]
Route Name Here
Highway Name Here
Route Information
Maintained by Jurisdiction
Length 0.00 mi.
Existed 1900 to present
Junctions
One End
Other End
Navigation