Difference between revisions of "Template:Australia locator map"

From blackwiki
Jump to navigation Jump to search
imported>Afaber012
imported>Frietjes
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{Location map+|Australia
|above    = {{#if: {{{team|<noinclude>x</noinclude>}}} | {{bb|{{{team|}}}}}<br>}}Baseball at the Olympics
+
| width = {{{size|450}}}
|headerstyle=background:#999999;color:#f5f5f5;
+
| AlternativeMap={{#switch:{{{map|grey}}}|grey|gray=Australia location map grey.svg|relief=Australia relief map.jpg}}
|header1  = {{#if: {{{stockholm|}}}{{{berlin|}}}{{{finland|}}}{{{melbourne|}}}{{{tokyo|}}} | Exhibition }}
+
| places =
|label2  = {{flagicon|SWE}} [[Baseball at the 1912 Summer Olympics|Stockholm, 1912]]
+
{{#if:{{{adelaide-icon|}}}{{{adelaide-bb-icon|}}}{{{adelaide-label|}}}|
|data2    = {{{stockholm|}}}
+
{{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|}}}}}}}
|label3  = {{flagicon|GER|Nazi}} [[Baseball at the 1936 Summer Olympics|Berlin, 1936]]
+
}}{{#if:{{{brisbane-icon|}}}{{{brisbane-bb-icon|}}}{{{brisbane-label|}}}|
|data3    = {{{berlin|}}}
+
{{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|}}}}}}}}}
|label4  = {{flagicon|FIN}} [[Baseball at the 1952 Summer Olympics|Finland, 1952]]
+
}}{{#if:{{{canberra-icon|}}}{{{canberra-bb-icon|}}}{{{canberra-label|}}}|
|data4    = {{{finland|}}}
+
{{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|}}}}}}}}}
|label5  = {{flagicon|AUS}} [[Baseball at the 1956 Summer Olympics|Melbourne, 1956]]
+
}}{{#if:{{{darwin-icon|}}}{{{darwin-bb-icon|}}}{{{darwin-label|}}}|
|data5    = {{{melbourne|}}}
+
{{Location map~|Australia|coordinates={{coord|-12.4500|130.8333}}|label_size=80|position={{#if:{{{darwin-label|}}}||none}}|mark={{{darwin-icon|}}} |label={{nowrap|{{{darwin-label|}}}}}}}
|label6  = {{flagicon|JPN}} [[Baseball at the 1964 Summer Olympics|Tokyo, 1964]]
+
}}{{#if:{{{geelong-icon|}}}{{{geelong-bb-icon|}}}{{{geelong-label|}}}|
|data6    = {{{tokyo|}}}
+
{{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|}}}}}}}}}
|header8  = {{#if: {{{los-angeles|}}}{{{seoul|}}} | Demonstration }}
+
}}{{#if:{{{gold-coast-icon|}}}{{{gold-coast-bb-icon|}}}{{{gold-coast-label|}}}|
|label9  = {{flagicon|USA}} [[Baseball at the 1984 Summer Olympics|Los Angeles, 1984]]
+
{{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|}}}}}}}}}
|data9    = {{{los-angeles|}}}
+
}}{{#if:{{{gosford-icon|}}}{{{gosford-bb-icon|}}}{{{gosford-label|}}}|
|label10  = {{flagicon|KOR}} [[Baseball at the 1988 Summer Olympics|Seoul, 1988]]
+
{{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|}}}}}}}}}
|data10    = {{{seoul|}}}
+
}}{{#if:{{{hobart-icon|}}}{{{hobart-bb-icon|}}}{{{hobart-label|}}}|
|header11  = {{#if: {{{barcelona|}}}{{{atlanta|}}}{{{sydney|}}}{{{athens|}}}{{{beijing|}}} | Medal Tally }}
+
{{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|}}}}}}}
|label12  = {{flagicon|ESP}} [[Baseball at the 1992 Summer Olympics|Barcelona, 1992]]
+
}}{{#if:{{{melbourne-icon|}}}{{{melbourne-bb-icon|}}}{{{melbourne-label|}}}|
|data12    = {{{barcelona|}}}
+
{{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|}}}}}}}}}
|label13  = {{flagicon|USA}} [[Baseball at the 1996 Summer Olympics|Atlanta, 1996]]
+
}}{{#if:{{{newcastle-icon|}}}{{{newcastle-bb-icon|}}}{{{newcastle-label|}}}|
|data13    = {{{atlanta|}}}
+
{{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|}}}}}}}}}
|label14  = {{flagicon|AUS}} [[Baseball at the 2000 Summer Olympics|Sydney, 2000]]
+
}}{{#if:{{{perth-icon|}}}{{{perth-bb-icon|}}}{{{perth-label|}}}|
|data14    = {{{sydney|}}}
+
{{Location map~|Australia|coordinates={{coord|-31.9520|115.8589}}|label_size=80|position={{#if:{{{perth-label|}}}||none}}|mark={{{perth-icon|}}} |label={{nowrap|{{{perth-label|}}}}}}}
|label15  = {{flagicon|GRE}} [[Baseball at the 2004 Summer Olympics|Athens, 2004]]
+
}}{{#if:{{{rockhampton-icon|}}}{{{rockhampton-bb-icon|}}}{{{rockhampton-label|}}}|
|data15    = {{{athens|}}}
+
{{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|}}}}}}}
|label16  = {{flagicon|CHN}} [[Baseball at the 2008 Summer Olympics|Beijing, 2008]]
+
}}{{#if:{{{sydney-icon|}}}{{{sydney-bb-icon|}}}{{{sydney-label|}}}|
|data16    = {{{beijing|}}}
+
{{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|}}}}}}}
|header17 = {{#if: {{{gold|}}}{{{silver|}}}{{{bronze|}}} | Medal Tally }}
+
}}{{#if:{{{townsville-icon|}}}{{{townsville-bb-icon|}}}{{{townsville-label|}}}|
|label18  = [[Image:Gold medal olympic.svg|30x15px|right]] Gold
+
{{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|}}}}}}}
|data18  = {{{gold|}}}
+
}}{{#if:{{{wollongong-icon|}}}{{{wollongong-bb-icon|}}}{{{wollongong-label|}}}|
|label19  = [[Image:Silver medal olympic.svg|30x15px|right]] Silver
+
{{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|}}}}}}}}}
|data19  = {{{silver|}}}
+
}}
|label20  = [[Image:Bronze medal olympic.svg|30x15px|right]] Bronze
+
|caption=
|data20  = {{{bronze|}}}
+
}}</includeonly><noinclude>
|label21  = [[Image:GoldSilverBronze medals.svg|30x15px|right]] Rank
+
{{documentation}}
|data21  = {{{rank|}}}
 
}}<noinclude>[[Category:Baseball templates|Olympic Record]]</noinclude>
 

Latest revision as of 15:46, 23 February 2018

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