Difference between revisions of "Template:Gtav-road"

From Grand Theft Wiki
Jump to: navigation, search
(+"intersections" for non-highways)
(Fixing the way the template shows interstate signs)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
 
| above={{#if:{{{number|}}}|{{#ifeq:{{{type}}}|Interstate|Interstate|{{{type}}} Route}} {{{number}}}|{{{name|{{PAGENAME}}}}}}}
 
| above={{#if:{{{number|}}}|{{#ifeq:{{{type}}}|Interstate|Interstate|{{{type}}} Route}} {{{number}}}|{{{name|{{PAGENAME}}}}}}}
| image={{#if:{{{shield|}}}|[[File:{{{shield}}}|128px]]}} {{#if:{{{image|}}}|{{{image}}}}} {{#if:{{{number|}}}|[[File:{{#ifeq:{{{type}}}|Interstate|Interstate|Route}} {{{number}}} shield.svg|150px|Highway shield]]}}
+
| image={{#if:{{{shield|}}}|[[File:{{{shield}}}|128px]]}} {{#if:{{{image|}}}|{{{image}}}}} {{#if:{{{number|}}}|[[File:{{#ifeq:{{{type}}}|Interstate|Interstate|Route}}{{{number}}}-GTAV-logo.svg|150px|Highway shield]]}}
 
| caption = {{#if:{{{caption|}}}|{{{caption}}}|Part of the [[Numbered Highways in San Andreas|San Andreas Highway System]]}}
 
| caption = {{#if:{{{caption|}}}|{{{caption}}}|Part of the [[Numbered Highways in San Andreas|San Andreas Highway System]]}}
 
| header3={{#if:{{{east end|}}}{{{south end|}}}{{{exits|}}}{{{other names|}}}| Road information }}
 
| header3={{#if:{{{east end|}}}{{{south end|}}}{{{exits|}}}{{{other names|}}}| Road information }}
Line 8: Line 8:
 
| label5=West end:
 
| label5=West end:
 
| data5={{#if:{{{west end|}}} | {{{west end}}}}}
 
| data5={{#if:{{{west end|}}} | {{{west end}}}}}
| label6=Major junctions
+
| label6=Major junctions:
 
| data6={{#if:{{{junctions|}}} | {{{junctions}}}}}
 
| data6={{#if:{{{junctions|}}} | {{{junctions}}}}}
| label7=Intersections
+
| label7=Intersections:
 
| data7={{#if:{{{intersections|}}} | {{{intersections}}}}}
 
| data7={{#if:{{{intersections|}}} | {{{intersections}}}}}
 
| label8=North end:
 
| label8=North end:

Revision as of 03:40, 22 April 2014

This infobox is to show quick information about a road in GTA V. This could be used for both routes and streets.

Example template

{{gtav-road
|type=
|number=
|south end=
|west end=
|junctions=
|intersections=
|north end=
|east end=
|exits=
|other names=
}}

Usage

Interstate 2
Highway shield
Part of the San Andreas Highway System
Road information
West end: in Del Perro
Major junctions: in Del Perro
in Rockford Hills
in Little Seoul
in Textile City
East end: and in East Los Santos
Other names: Del Perro Freeway
  • type: They type of highway it is. This would either be Interstate, Urban, or Rural
  • number: The number of the route. If Interstate 2 is the article, the number would be 2
  • other names: Any other names this route is known as. For example: Interstate 2 is also known as the Del Perro Freeway

Junctions and termini

Since GTA V is based on Los Angeles, road measurements begin from the west or south, and end at the east or north. Do not mix south/west or north/east, as this will break the template.

  • south end or west end: the intersection and location the road begins. If it intersects with another route, use {{rmark}} to show it's marker before listing its location.
  • junctions: list of major intersections with other routes, in order from beginning (e/s) to end (w/n). Each intersection is separated by a
    tag. Use {{rmark}} to show it's marker before listing its location. Do not list the ending intersections, because they are already listed.
  • north end or south end: the intersection and location the road begins. If it intersects with another route, use {{rmark}} to show it's marker before listing its location.