Difference between revisions of "Template:Residence Hall"

From Gobblerpedia
Jump to: navigation, search
imported>Paul2
imported>Echarlie
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
* {{Residence Hall/info|name={{{name}}}|uri={{{uri}}}}}
+
* {{Residence Hall/info|name={{{name}}}|uri2={{{uri2}}}}}
 
{{Building|name={{{name}}}|uri={{{uri}}}-hall|num={{{num}}}|osm={{{osm}}}}}
 
{{Building|name={{{name}}}|uri={{{uri}}}-hall|num={{{num}}}|osm={{{osm}}}}}
 
[[Category:Residence Halls]]
 
[[Category:Residence Halls]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
===Usage===
 
===Usage===
<code><nowiki>{{Residence Hall|name=[NAME]|uri=[URI]|num=[NUM]|osm=[OSM]}}</nowiki></code>
+
<code><nowiki>{{Residence Hall|name=[NAME]|uri=[URI]|uri2=[URI2]|num=[NUM]|osm=[OSM]}}</nowiki></code>
  
 
{| class="wikitable"
 
{| class="wikitable"
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/[URI2].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>

Latest revision as of 02:59, 5 June 2017

Usage

{{Residence Hall|name=[NAME]|uri=[URI]|uri2=[URI2]|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/[URI2].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).