Template:Residence Hall: Difference between revisions

imported>Alex
mNo edit summary
imported>Echarlie
No edit summary
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
* {{#if: {{{info|}}} |[http://www.housing.vt.edu/halls/{{{info}}}.php Housing and Residence Life page for {{{name}}}]|}}
<includeonly>
{{Building|name={{{name|}}}|info={{{info|}}}-hall|num={{{num|}}}|osm={{{osm|}}}}}
* {{Residence Hall/info|name={{{name}}}|uri2={{{uri2}}}}}
{{Building|name={{{name}}}|uri={{{uri}}}-hall|num={{{num}}}|osm={{{osm}}}}}
[[Category:Residence Halls]]
</includeonly><noinclude>
===Usage===
<code><nowiki>{{Residence Hall|name=[NAME]|uri=[URI]|uri2=[URI2]|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://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>