Difference between revisions of "Template:Building"

From Gobblerpedia
Jump to: navigation, search
imported>Alex
m
imported>Echarlie
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>* {{Building/about|{{{name}}}|{{{uri}}}}}
* {{#if: {{{info|}}} |[http://www.vt.edu/about/buildings/{{{info}}}.html General information about {{{name}}}]|(Info page not given).}}
+
<!--* {{Building/info|{{{name}}}|{{{num}}}}}-->
* {{#if: {{{num|}}} |VT [[Facilities]] [http://www.cdcd.vt.edu/Building.Info/{{{num}}}.html information for {{{name}}}]|(Bldg. number not given).}}
+
* {{OSM/link|{{{name}}}|{{{osm}}}}}
* {{#if: {{{osm|}}} |[http://www.openstreetmap.org/browse/way/{{{osm}}} {{{name}}} on OpenStreetMap]|(OSM not given).}}
 
 
 
 
[[Category:Buildings]]
 
[[Category:Buildings]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
===Usage===
 
===Usage===
<code><nowiki>{{Building|info=<INFO>|num=<NUM>|osm=<OpenStreetMap ID>}}</nowiki></code>
+
<code><nowiki>{{Building|name=[NAME]|uri=[URI]|num=[NUM]|osm=[OSM]}}</nowiki></code>
 
 
Resources that are linked to:
 
 
 
* [http://www.vt.edu/about/buildings/ <nowiki>http://www.vt.edu/about/buildings/<INFO>.html</nowiki>]
 
  
* [http://www.cdcd.vt.edu/Building.Info/ <nowiki>http://www.cdcd.vt.edu/Building.Info/<NUM>.html</nowiki>]
+
{| class="wikitable"
** To find the associated building number, consult http://www.cdcd.vt.edu/MBlist/General.html
+
|-
 +
! Parameter
 +
! Description
 +
|-
 +
| <code>name</code>
 +
| The building's proper name/title, e.g. "Burruss 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/burruss-hall.html "burruss-hall"].
 +
|-
 +
| <code>num</code>
 +
| The official building number, used for [[Template:Building/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].
 +
|}
  
* http://www.openstreetmap.org/
+
See also [[Template:Residence Hall]].</noinclude>
** To find the associated OSM, use http://nominatim.openstreetmap.org/
 
</noinclude>
 

Latest revision as of 02:53, 5 June 2017

Usage

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

Parameter Description
name The building's proper name/title, e.g. "Burruss 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. "burruss-hall".
num The official building number, used for Template:Building/info. To find the building number, consult the BuildingList.
osm The OpenStreetMap identifier (way). To find this, use the Nominatim.

See also Template:Residence Hall.