Templat:Infobox map: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
baru |
k Robot: Perubahan kosmetika |
||
(2 revisi perantara oleh satu pengguna lainnya tidak ditampilkan) | |||
Baris 1:
<includeonly>{{#ifeq:{{{map|}}}||{{error|Error: no map specified when using {{tl|Infobox map}}}}}}
{{#if:{{{map|}}}▼
| default_width = {{#if:{{{default_width|}}}|{{{default_width}}}|220}}
| label = {{{label|}}}▼
| mark = {{ifempty|{{{mark|}}}|Red pog.svg}}▼
| background = {{{background|}}}▼
| mark = {{#if:{{{mark|}}}|{{{mark}}}|Red pog.svg}}
▲ | float = center
▲ | caption = <!-- no value assigned but it must be declared, see Location map -->
| lat_sec = {{{lat_sec|}}}
| lat_dir = {{{lat_dir|}}}
| long = {{{long|}}}
| lon_deg = {{{lon_deg|}}}
| lon_min = {{{lon_min|}}}
| lon_sec = {{{lon_sec|}}}
| lon_dir = {{{lon_dir|}}}
| {{#if:{{{pixel_x|}}}{{{pixel_y|}}}
| {{center | {{superimpose
| base_width = {{#if:{{{map_width|}}}|{{{map_width}}}|{{#if:{{{default_width|}}}|{{{default_width}}}|220}}}}px
| x = {{{pixel_x|}}}
| y = {{{pixel_y|}}}
| {{location mark+
| image = {{{map|}}}
| overlay = {{{overlay|}}}
| width = {{#if:{{{map_width|}}}|{{{map_width}}}|{{#if:{{{default_width|}}}|{{{default_width}}}|220}}}}
| caption =
| alt = {{{map_alt|}}}
| float = center
| type = <!-- default is not a thumb & no border -->
| marks = {{location mark~
| width = {{#if:{{{map_width|}}}|{{{map_width}}}|{{#if:{{{default_width|}}}|{{{default_width}}}|220}}}}
| position = {{lc:{{{label_position|}}} }}
| font_size =
▲ | background = {{{background|}}}
| mark_alt = {{{mark_alt|}}}
| mark_link = {{{mark_link|}}}
| x = {{{x|}}}
| y = {{{y|}}}
| x% = {{{x%|}}}
}}
}}
}}{{{map_caption|}}}{{main other|{{#if:{{#ifeq:{{{map|}}}||1}}{{{pixel_x|}}}{{{pixel_y|}}}|[[Kategori:Pages using Template:Infobox map needing attention]]}}}}</includeonly><noinclude>
▲ | base = {{{map|}}}
▲ | base_alt = {{ifempty|{{{map_alt|}}}|{{{map|}}}}}
▲ | float = {{ifempty|{{{mark|}}}|Red pog.svg}}
▲ | float_width = {{ifempty|{{{mark_width|}}}|8}}px
▲ }}
▲ | base = {{{map|}}}
▲ | base_alt = {{ifempty|{{{map_alt|}}}|{{{map|}}}}}
▲ | float = {{ifempty|{{{mark|}}}|Red pog.svg}}
▲ | float_width = {{ifempty|{{{mark_width|}}}|8}}px
▲ | x = {{{pixel_x|}}}
▲ | y = {{{pixel_y|}}}
▲ }}
▲}}<noinclude>{{documentation}}
</noinclude>
|