Template:Building: Difference between revisions

imported>Alex
No edit summary
imported>Alex
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<!--
* {{#if: {{{info|}}} |[http://www.vt.edu/about/buildings/{{{info}}}.html General information about {{{name}}}]|(Info page not given).}}
* {{#if: {{{num|}}} |VT [[Facilities]] [http://www.cdcd.vt.edu/Building.Info/{{{num}}}.html information for {{{name}}}]|(Bldg. number not given).}}
* {{#if: {{{osm|}}} |[http://www.openstreetmap.org/browse/way/{{{osm}}} {{{name}}} on OpenStreetMap]|(OSM not given).}}
-->
* {{Building/about|{{{name}}}|{{{uri}}}}}
* {{Building/about|{{{name}}}|{{{uri}}}}}
* {{Building/info|{{{name}}}|{{{num}}}}}
* {{Building/info|{{{name}}}|{{{num}}}}}
Line 11: Line 6:
[[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>


* [http://www.vt.edu/about/buildings/ <nowiki>http://www.vt.edu/about/buildings/[INFO].html</nowiki>]
{| class="wikitable"
 
|-
* [http://www.cdcd.vt.edu/Building.Info/ <nowiki>http://www.cdcd.vt.edu/Building.Info/[NUM].html</nowiki>]
! Parameter
** To find the associated building number, consult http://www.cdcd.vt.edu/MBlist/General.html
! Description
 
|-
* http://www.openstreetmap.org/
| [NAME]
** To find the associated OSM ID, use http://nominatim.openstreetmap.org/
| The building's proper name/title, e.g. "Burruss Hall".
-->
|-
| [URI]
| 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"].
|-
| [NUM]
| 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].
|-
| [OSM]
| The OpenStreetMap identifier. To find this, use the [http://nominatim.openstreetmap.org/ Nominatim].
|}
</noinclude>
</noinclude>