Difference between revisions of "Template:Routebox"
Jump to navigation
Jump to search
(Updated template) |
(Added created_text variable) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div | + | <div class="routebox"> |
− | <table> | + | <table width="100%"> |
<tr> | <tr> | ||
− | <td colspan="2" | + | <td colspan="2" class="center rb-shield">{{#ifexpr: {{{noshield|0}}} | | [[File:{{{type}}}_{{{number}}}{{#if: {{{shield_variant|}}} | _{{{shield_variant}}} | }}.png|80px]] }}</td> |
− | {{#ifexpr: {{{noshield|0}}} | | [[File:{{{type}}}_{{{number}}}{{#if: {{{shield_variant|}}} | _{{{shield_variant}}} | }}.png| | + | </tr> |
+ | <tr> | ||
+ | <td colspan="2" class="center rb-routename">{{{name|Route Name Here}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2" class="center rb-highwayname">{{{highway|Highway Name Here}}}{{#if: {{{addl_highways|}}} | <br />{{{addl_highways}}} | }}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2" class="center rb-map">{{#if: {{{map|}}} | [[File:{{{map}}}|300px]] | }}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th colspan="2" class="center rb-subheader">Route Information</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2" class="center">Maintained by {{{maintained_by|Jurisdiction}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th class="right">Length{{#if: {{{addl_lengths|}}} | s | }}</th> | ||
+ | <td class="left">{{{length|0.00}}} mi. {{#if: {{{length_note|}}} | — {{{length_note}}} | }}{{#if: {{{length_ref|}}} | {{{length_ref}}} | }}{{#if: {{{addl_lengths|}}} | <br />{{{addl_lengths}}} | }}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th class="right">{{{created_text|Existed}}}</th> | ||
+ | <td class="left">{{{created|1900}}} to {{{removed|present}}}{{#if: {{{addl_timespans|}}} | <br />{{{addl_timespans}}} | }}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th colspan="2" class="center rb-subheader">Junctions</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th class="right">{{{start_terminus_dir|One}}} End</th> | ||
+ | <td class="left">{{{start_terminus|}}}</td> | ||
+ | </td> | ||
+ | </tr> | ||
+ | {{#if: {{{junctions|}}} | ||
+ | | <tr> | ||
+ | <th class="right"> </th> | ||
+ | <td class="left">{{{junctions}}}</td> | ||
+ | </td> | ||
+ | </tr> | ||
+ | | }} | ||
+ | <tr> | ||
+ | <th class="right">{{{end_terminus_dir|Other}}} End</th> | ||
+ | <td class="left">{{{end_terminus|}}}</td> | ||
</td> | </td> | ||
+ | </tr> | ||
+ | {{#if: {{{multiplexes|}}} | ||
+ | | <tr> | ||
+ | <th colspan="2" class="center rb-subheader">Multiplexes</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <th class="right"> </th> |
− | {{{ | + | <td class="left">{{{multiplexes}}}</td> |
</td> | </td> | ||
+ | </tr> | ||
+ | | }} | ||
+ | <tr> | ||
+ | <th colspan="2" class="center rb-subheader">Navigation</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td colspan="2" | + | <td colspan="2" class="center"> |
− | {{{ | + | <table width="100%"> |
− | {{ | + | <tr> |
+ | <td class="left">← {{{prev_route|}}}</td> | ||
+ | <td class="right">{{{next_route|}}} →</td> | ||
+ | </tr> | ||
+ | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | </div | + | </div> |
Latest revision as of 12: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 | |||
|