Difference between revisions of "Template:Australia locator map"

From blackwiki
Jump to navigation Jump to search
imported>Afaber012
(changed header to "medal tally")
imported>Frietjes
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{Location map+|Australia
|title    = Baseball at the Olympics
+
| width = {{{size|450}}}
|above    = {{bb|AUS}}
+
| AlternativeMap={{#switch:{{{map|grey}}}|grey|gray=Australia location map grey.svg|relief=Australia relief map.jpg}}
|header1  = Exhibition
+
| places =
|label2  = {{flagicon|AUS}} [[Baseball at the 1956 Summer Olympics|Melbourne, 1956]]
+
{{#if:{{{adelaide-icon|}}}{{{adelaide-bb-icon|}}}{{{adelaide-label|}}}|
|data2    = 0-1
+
{{Location map~|Australia|coordinates={{coord|-34.9290|138.6010}}|label_size=80|position={{#if:{{{adelaide-label|}}}|left|none}}|mark={{{adelaide-icon|}}} |label={{nowrap|{{{adelaide-label|}}}}}}}
|header3  = Demonstration
+
}}{{#if:{{{brisbane-icon|}}}{{{brisbane-bb-icon|}}}{{{brisbane-label|}}}|
|label4  = {{flagicon|KOR}} [[Baseball at the 1988 Summer Olympics|Seoul, 1988]]
+
{{Location map~|Australia|coordinates={{coord|-27.4667|153.0333}}|label_size=80|position={{#if:{{{brisbane-label|}}}|left|none}}|mark={{{brisbane-icon|}}} |label={{raise|0.2em|{{nowrap|{{{brisbane-label|}}}}}}}}}
|data4    = 5th
+
}}{{#if:{{{canberra-icon|}}}{{{canberra-bb-icon|}}}{{{canberra-label|}}}|
|header5  = Medal
+
{{Location map~|Australia|coordinates={{coord|-35.6|149.0}}|label_size=80|position={{#if:{{{canberra-label|}}}|left|none}}|mark={{{canberra-icon|}}} |label={{lower|0.3em|{{nowrap|{{{canberra-label|}}}}}}}}}
|label6  = {{flagicon|ESP}} [[Baseball at the 1992 Summer Olympics|Barcelona, 1992]]
+
}}{{#if:{{{darwin-icon|}}}{{{darwin-bb-icon|}}}{{{darwin-label|}}}|
|data6    = DNQ
+
{{Location map~|Australia|coordinates={{coord|-12.4500|130.8333}}|label_size=80|position={{#if:{{{darwin-label|}}}||none}}|mark={{{darwin-icon|}}} |label={{nowrap|{{{darwin-label|}}}}}}}
|label7  = {{flagicon|USA}} [[Baseball at the 1996 Summer Olympics|Atlanta, 1996]]
+
}}{{#if:{{{geelong-icon|}}}{{{geelong-bb-icon|}}}{{{geelong-label|}}}|
|data7    = 7th
+
{{Location map~|Australia|coordinates={{coord|-38.3|144.1}}|label_size=80|position={{#if:{{{geelong-label|}}}|left|none}}|mark={{{geelong-icon|}}} |label={{lower|0.2em|{{nowrap|{{{geelong-label|}}}}}}}}}
|label8  = {{flagicon|AUS}} [[Baseball at the 2000 Summer Olympics|Sydney, 2000]]
+
}}{{#if:{{{gold-coast-icon|}}}{{{gold-coast-bb-icon|}}}{{{gold-coast-label|}}}|
|data8    = 7th
+
{{Location map~|Australia|coordinates={{coord|-28.0167|153.4000}}|label_size=80|position={{#if:{{{gold-coast-label|}}}|left|none}}|mark={{{gold-coast-icon|}}} |label={{lower|0.2em|{{nowrap|{{{gold-coast-label|}}}}}}}}}
|label9  = {{flagicon|GRE}} [[Baseball at the 2004 Summer Olympics|Athens, 2004]]
+
}}{{#if:{{{gosford-icon|}}}{{{gosford-bb-icon|}}}{{{gosford-label|}}}|
|data9    = [[Image:Silver medal with cup.svg|16px]] 2nd
+
{{Location map~|Australia|coordinates={{coord|-33.5|151.3}}|label_size=80|position={{#if:{{{gosford-label|}}}|left|none}}|mark={{{gosford-icon|}}} |label={{raise|0.3em|{{nowrap|{{{gosford-label|}}}}}}}}}
|label10  = {{flagicon|CHN}} [[Baseball at the 2008 Summer Olympics|Beijing, 2008]]
+
}}{{#if:{{{hobart-icon|}}}{{{hobart-bb-icon|}}}{{{hobart-label|}}}|
|data10  = 10th<ref name="2008 dnq10">Australia failed to qualify for the Beijing Games. In the final qualifying tournament, placed 2nd among teams that failed to qualify.</ref>
+
{{Location map~|Australia|coordinates={{coord|-42.8806|147.3250}}|label_size=80|position={{#if:{{{hobart-label|}}}|left|none}}|mark={{{hobart-icon|}}} |label={{nowrap|{{{hobart-label|}}}}}}}
|header11 = Medal Tally
+
}}{{#if:{{{melbourne-icon|}}}{{{melbourne-bb-icon|}}}{{{melbourne-label|}}}|
|label12  = [[Image:Gold medal with cup.svg|16px]] Gold
+
{{Location map~|Australia|coordinates={{coord|-37.8136|144.9631}}|label_size=80|position={{#if:{{{melbourne-label|}}}|left|none}}|mark={{{melbourne-icon|}}} |label={{raise|0.2em|{{nowrap|{{{melbourne-label|}}}}}}}}}
|data12  = -
+
}}{{#if:{{{newcastle-icon|}}}{{{newcastle-bb-icon|}}}{{{newcastle-label|}}}|
|label13  = [[Image:Silver medal with cup.svg|16px]] Silver
+
{{Location map~|Australia|coordinates={{coord|-32.9167|151.7500}}|label_size=80|position={{#if:{{{newcastle-label|}}}|left|none}}|mark={{{newcastle-icon|}}} |label={{raise|0.6em|{{nowrap|{{{newcastle-label|}}}}}}}}}
|data13  = 1
+
}}{{#if:{{{perth-icon|}}}{{{perth-bb-icon|}}}{{{perth-label|}}}|
|label14  = [[Image:Bronze medal with cup.svg|16px]] Bronze
+
{{Location map~|Australia|coordinates={{coord|-31.9520|115.8589}}|label_size=80|position={{#if:{{{perth-label|}}}||none}}|mark={{{perth-icon|}}} |label={{nowrap|{{{perth-label|}}}}}}}
|data14  = -
+
}}{{#if:{{{rockhampton-icon|}}}{{{rockhampton-bb-icon|}}}{{{rockhampton-label|}}}|
|label15  = Rank
+
{{Location map~|Australia|coordinates={{coord|-23.3750|150.5117}}|label_size=80|position={{#if:{{{rockhampton-label|}}}|left|none}}|mark={{{rockhampton-icon|}}}|label={{nowrap|{{{rockhampton-label|}}}}}}}
|data15  = 5th
+
}}{{#if:{{{sydney-icon|}}}{{{sydney-bb-icon|}}}{{{sydney-label|}}}|
 +
{{Location map~|Australia|coordinates={{coord|-34.1|150.8}}|label_size=80|position={{#if:{{{sydney-label|}}}|left|none}}|mark={{{sydney-icon|}}} |label={{nowrap|{{{sydney-label|}}}}}}}
 +
}}{{#if:{{{townsville-icon|}}}{{{townsville-bb-icon|}}}{{{townsville-label|}}}|
 +
{{Location map~|Australia|coordinates={{coord|-19.2564|146.8183}}|label_size=80|position={{#if:{{{townsville-label|}}}|left|none}}|mark={{{townsville-icon|}}} |label={{nowrap|{{{townsville-label|}}}}}}}
 +
}}{{#if:{{{wollongong-icon|}}}{{{wollongong-bb-icon|}}}{{{wollongong-label|}}}|
 +
{{Location map~|Australia|coordinates={{coord|-34.8|150.5}}|label_size=80|position={{#if:{{{wollongong-label|}}}|left|none}}|mark={{{wollongong-icon|}}} |label={{lower|0.1em|{{nowrap|{{{wollongong-label|}}}}}}}}}
 
}}
 
}}
 +
|caption=
 +
}}</includeonly><noinclude>
 +
{{documentation}}

Latest revision as of 15:46, 23 February 2018

50px Template documentation[view] [edit] [history] [purge]

This template is intended as a locator map for Australia. It is preset with 15 locations, with customizable labels and icons for those locations.

  1. redirect Template:Parameter names example

Usage

Parameter list

  • size - the width of the template in pixels
  • Defaults to 450.
  • Don't use "px" at the end of the number, it's already coded for.
  • adelaide-label - the label for the location
  • adelaide-icon - the name of the image for the location
  • Only the filename (with extension) should be used.
  • For best results, the file should be in a 3:2 width:height format. Variations on this will likely make the icon appear either too north (eg 2:1) or too far west (eg 1:1).
  • adelaide-bb-icon - to use a standard red pin.
  • Only the icon parameter is required. Size and alignment are preset.

For the parameters above, "adelaide" can be substituted for any of the other locations, following the same format. The full list of locations in the format accepted by the template is:

  • adelaide
  • brisbane
  • canberra
  • darwin
  • geelong
  • gold-coast
  • gosford
  • hobart
  • melbourne
  • newcastle
  • perth
  • rockhampton
  • sydney
  • townsville
  • wollongong

See also