Template:Residence Hall: Difference between revisions

From Gobblerpedia
Jump to navigation Jump to search
imported>Paul2
No edit summary
imported>Echarlie
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
* {{Residence Hall/info|name={{{name}}}|uri={{{uri}}}}}
* {{Residence Hall/info|name={{{name}}}|uri={{{uri}}}}}
{{Building|name={{{name}}}|uri={{{uri}}}-hall|num={{{num}}}|osm={{{osm}}}}}
{{Building|name={{{name}}}|uri={{{uri}}}-hall|uri2={{{uri2}}}|num={{{num}}}|osm={{{osm}}}}}
[[Category:Residence Halls]]
[[Category:Residence Halls]]
</includeonly><noinclude>
</includeonly><noinclude>
Line 16: Line 16:
|-
|-
| <code>uri</code>
| <code>uri</code>
| The file name (sans extension) in [http://www.vt.edu/about/buildings/ <nowiki>http://www.vt.edu/about/buildings/[URI].html</nowiki>]. This is usually the name in lowercase, with hyphens instead of spaces, e.g. [http://www.vt.edu/about/buildings/lee-hall.html "lee"].
| The file name (sans extension) in [http://housing.vt.edu/experience/YourResidenceHall.html <nowiki>http://housing.vt.edu/experience/YourResidenceHall.htmlhttp://www.vt.edu/about/buildings/[URI].html</nowiki>]. This is usually the name in lowercase, with hyphens instead of spaces, e.g. [http://www.vt.edu/about/buildings/lee-hall.html "lee"].
|-
| <code>uri2</code>
| The file name (sans extension) in [http://www.vt.edu/about/buildings/ <nowiki>http://housing.vt.edu/experience/YourResidenceHall/HallListing/[URI].html</nowiki>]. This is usually the short name. e.g. [http://housing.vt.edu/experience/YourResidenceHall/HallListing/Thomas.html "Thomas"].
|-
|-
| <code>num</code>
| <code>num</code>

Revision as of 02:57, 5 June 2017

Usage

{{Residence Hall|name=[NAME]|uri=[URI]|num=[NUM]|osm=[OSM]}}

Parameter Description
name The building's proper name/title, e.g. "Lee Hall".
uri The file name (sans extension) in http://housing.vt.edu/experience/YourResidenceHall.htmlhttp://www.vt.edu/about/buildings/[URI].html. This is usually the name in lowercase, with hyphens instead of spaces, e.g. "lee".
uri2 The file name (sans extension) in http://housing.vt.edu/experience/YourResidenceHall/HallListing/[URI].html. This is usually the short name. e.g. "Thomas".
num The official building number, used for Template:Residence_Hall/info. To find the building number, consult the BuildingList.
osm The OpenStreetMap identifier (way). To find this, use the Nominatim.

The only difference between the parameters for this template and Template:Building is that you should leave the "-hall" off the uri parameter, as it's added automatically. Note that outside of the parameters this template differs in the category it adds to an article (Category:Residence Halls).