Difference between revisions of "Template:Residence Hall"
imported>Cov |
imported>Paul2 |
||
Line 6: | Line 6: | ||
===Usage=== | ===Usage=== | ||
<code><nowiki>{{Residence Hall|name=[NAME]|uri=[URI]|num=[NUM]|osm=[OSM]}}</nowiki></code> | <code><nowiki>{{Residence Hall|name=[NAME]|uri=[URI]|num=[NUM]|osm=[OSM]}}</nowiki></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://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"]. | ||
+ | |- | ||
+ | | <code>num</code> | ||
+ | | The official building number, used for [[Template:Residence_Hall/info]]. To find the building number, consult the [http://www.cdcd.vt.edu/MBlist/General.html master list]. | ||
+ | |- | ||
+ | | <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]]). | 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> |
Revision as of 23:51, 12 April 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://www.vt.edu/about/buildings/[URI].html. This is usually the name in lowercase, with hyphens instead of spaces, e.g. "lee". |
num
|
The official building number, used for Template:Residence_Hall/info. To find the building number, consult the master list. |
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).