Difference between revisions of "Template:Residence Hall"
imported>Alex m |
imported>Echarlie |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | * {{Residence Hall/info|name={{{name}}}| | + | * {{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> | + | </includeonly><noinclude> |
− | <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> |
− | The only difference between the parameters for this template and [[Template:Building]] is that you should leave the "-hall" off the <code> | + | {| class="wikitable" |
+ | |- | ||
+ | ! Parameter | ||
+ | ! Description | ||
+ | |- | ||
+ | | <code>name</code> | ||
+ | | The building's proper name/title, e.g. "Lee Hall". | ||
+ | |- | ||
+ | | <code>uri</code> | ||
+ | | 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> | ||
+ | | The official building number, used for [[Template:Residence_Hall/info]]. To find the building number, consult the [[BuildingList]]. | ||
+ | |- | ||
+ | | <code>osm</code> | ||
+ | | The OpenStreetMap identifier (way). To find this, use the [http://nominatim.openstreetmap.org/ Nominatim]. | ||
+ | |} | ||
+ | |||
+ | The only difference between the parameters for this template and [[Template:Building]] is that you should leave the "-hall" off the <code>uri</code> 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]]). | ||
</noinclude> | </noinclude> |
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).