Difference between revisions of "Template:Building"

From Gobblerpedia
Jump to: navigation, search
imported>Alex
m
imported>Cov
m (Reverted edits by Alex (talk) to last revision by Cov)
Line 1: Line 1:
<includeonly>* {{Building/about|{{{name}}}|{{{uri}}}}}
+
{{#if: {{{osm|}}} | * [http://www.openstreetmap.org/browse/way/{{{osm}}} {{{name}}} on OpenStreetMap]|}}
* {{Building/info|{{{name}}}|{{{num}}}}}
+
{{#if: {{{info|}}} | * [http://www.vt.edu/about/buildings/{{{info}}}.html University about page for {{{name}}}]|}}
* {{OSM/link|{{{name}}}|{{{osm}}}}}
+
{{#if: {{{facil|}}} | * VT [[Facilities]] [http://www.cdcd.vt.edu/Building.Info/{{{facil}}}.html information for {{{name}}}]|}}
 +
 
 
[[Category:Buildings]]
 
[[Category:Buildings]]
</includeonly><noinclude>
 
===Usage===
 
<code><nowiki>{{Building|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. "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 [http://www.cdcd.vt.edu/MBlist/General.html master list].
 
|-
 
| <code>osi</code>
 
| The OpenStreetMap identifier. To find this, use the [http://nominatim.openstreetmap.org/ Nominatim].
 
|}
 
</noinclude>
 
 
See also [[Template:Residence Hall]].
 

Revision as of 17:08, 14 March 2011