Difference between revisions of "Template:Australia locator map"
Jump to navigation
Jump to search
imported>Frietjes (nowrap) |
imported>Frietjes |
||
Line 4: | Line 4: | ||
| places = | | places = | ||
{{#if:{{{adelaide-icon|}}}{{{adelaide-bb-icon|}}}{{{adelaide-label|}}}| | {{#if:{{{adelaide-icon|}}}{{{adelaide-bb-icon|}}}{{{adelaide-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-34.9290|138.6010}}|label_size= | + | {{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|}}}}}}} |
}}{{#if:{{{brisbane-icon|}}}{{{brisbane-bb-icon|}}}{{{brisbane-label|}}}| | }}{{#if:{{{brisbane-icon|}}}{{{brisbane-bb-icon|}}}{{{brisbane-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-27.4667|153.0333}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{canberra-icon|}}}{{{canberra-bb-icon|}}}{{{canberra-label|}}}| | }}{{#if:{{{canberra-icon|}}}{{{canberra-bb-icon|}}}{{{canberra-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-35.6|149.0}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{darwin-icon|}}}{{{darwin-bb-icon|}}}{{{darwin-label|}}}| | }}{{#if:{{{darwin-icon|}}}{{{darwin-bb-icon|}}}{{{darwin-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-12.4500|130.8333}}|label_size= | + | {{Location map~|Australia|coordinates={{coord|-12.4500|130.8333}}|label_size=80|position={{#if:{{{darwin-label|}}}||none}}|mark={{{darwin-icon|}}} |label={{nowrap|{{{darwin-label|}}}}}}} |
}}{{#if:{{{geelong-icon|}}}{{{geelong-bb-icon|}}}{{{geelong-label|}}}| | }}{{#if:{{{geelong-icon|}}}{{{geelong-bb-icon|}}}{{{geelong-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-38.3|144.1}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{gold-coast-icon|}}}{{{gold-coast-bb-icon|}}}{{{gold-coast-label|}}}| | }}{{#if:{{{gold-coast-icon|}}}{{{gold-coast-bb-icon|}}}{{{gold-coast-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-28.0167|153.4000}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{gosford-icon|}}}{{{gosford-bb-icon|}}}{{{gosford-label|}}}| | }}{{#if:{{{gosford-icon|}}}{{{gosford-bb-icon|}}}{{{gosford-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-33.5|151.3}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{hobart-icon|}}}{{{hobart-bb-icon|}}}{{{hobart-label|}}}| | }}{{#if:{{{hobart-icon|}}}{{{hobart-bb-icon|}}}{{{hobart-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-42.8806|147.3250}}|label_size= | + | {{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|}}}}}}} |
}}{{#if:{{{melbourne-icon|}}}{{{melbourne-bb-icon|}}}{{{melbourne-label|}}}| | }}{{#if:{{{melbourne-icon|}}}{{{melbourne-bb-icon|}}}{{{melbourne-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-37.8136|144.9631}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{newcastle-icon|}}}{{{newcastle-bb-icon|}}}{{{newcastle-label|}}}| | }}{{#if:{{{newcastle-icon|}}}{{{newcastle-bb-icon|}}}{{{newcastle-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-32.9167|151.7500}}|label_size= | + | {{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|}}}}}}}}} |
}}{{#if:{{{perth-icon|}}}{{{perth-bb-icon|}}}{{{perth-label|}}}| | }}{{#if:{{{perth-icon|}}}{{{perth-bb-icon|}}}{{{perth-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-31.9520|115.8589}}|label_size= | + | {{Location map~|Australia|coordinates={{coord|-31.9520|115.8589}}|label_size=80|position={{#if:{{{perth-label|}}}||none}}|mark={{{perth-icon|}}} |label={{nowrap|{{{perth-label|}}}}}}} |
}}{{#if:{{{rockhampton-icon|}}}{{{rockhampton-bb-icon|}}}{{{rockhampton-label|}}}| | }}{{#if:{{{rockhampton-icon|}}}{{{rockhampton-bb-icon|}}}{{{rockhampton-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-23.3750|150.5117}}|label_size= | + | {{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|}}}}}}} |
}}{{#if:{{{sydney-icon|}}}{{{sydney-bb-icon|}}}{{{sydney-label|}}}| | }}{{#if:{{{sydney-icon|}}}{{{sydney-bb-icon|}}}{{{sydney-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-34.1|150.8}}|label_size= | + | {{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|}}}| | }}{{#if:{{{townsville-icon|}}}{{{townsville-bb-icon|}}}{{{townsville-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-19.2564|146.8183}}|label_size= | + | {{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|}}}| | }}{{#if:{{{wollongong-icon|}}}{{{wollongong-bb-icon|}}}{{{wollongong-label|}}}| | ||
− | {{Location map~|Australia|coordinates={{coord|-34.8|150.5}}|label_size= | + | {{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= | |caption= | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} |
Latest revision as of 15:46, 23 February 2018
This template is intended as a locator map for Australia. It is preset with 15 locations, with customizable labels and icons for those locations.
- 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 locationadelaide-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
The above documentation is transcluded from Template:Australia locator map/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |