Template:Location map many: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jackmcbarn call lua directly, instead of calling other templates that just call lua. also supports unlimited points now instead of just 9 |
meta>Jackmcbarn Undid revision 603539673 by Jackmcbarn (talk): having issues. rv until fixed |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{location map+ | ||
| {{{1|World}}} | |||
| border = {{{border|}}} | |||
| alt = {{{alt|}}} | |||
| caption_undefined = {{#ifeq: {{{caption|+}}} | {{{caption|-}}} || defined }} | |||
| caption = {{{caption|}}} | |||
| label = <!-- there is no global label --> | |||
| float = {{{float|}}} | |||
| width = {{{width|}}} | |||
| relief= {{{relief|}}} | |||
| AlternativeMap = {{{AlternativeMap|}}} | |||
| overlay_image = {{{overlay_image|}}} | |||
|places= {{#if:{{{lat1|{{{lat|}}} }}}{{{lat1_deg|{{{lat_deg|}}} }}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat1|{{{lat|}}} }}}|long={{{long1|{{{long|}}} }}} | |||
|lat_deg={{{lat1_deg|{{{lat_deg|}}} }}} | |||
|lat_min={{{lat1_min|{{{lat_min|}}} }}} | |||
|lat_sec={{{lat1_sec|{{{lat_sec|}}} }}} | |||
|lat_dir={{{lat1_dir|{{{lat_dir|}}} }}} | |||
|lon_deg={{{lon1_deg|{{{lon_deg|}}} }}} | |||
|lon_min={{{lon1_min|{{{lon_min|}}} }}} | |||
|lon_sec={{{lon1_sec|{{{lon_sec|}}} }}} | |||
|lon_dir={{{lon1_dir|{{{lon_dir|}}} }}} | |||
|mark={{{mark1|{{{mark|}}}}}} | |||
|marksize={{{mark1size|{{{marksize|}}} }}} | |||
|link={{{link1|{{{link|}}}}}} | |||
|label={{{label1|{{{label|}}}}}} | |||
|label_size={{{label1_size|{{{label_size|}}} }}} | |||
|position={{{position1|{{{pos1|{{{position|{{{pos|}}} }}} }}} }}} | |||
|background={{{background1|{{{bg1|{{{background|{{{bg|}}} }}} }}} }}} | |||
}} | |||
}}{{#if:{{{lat2|}}}{{{lat2_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat2|}}}|long={{{long2|}}} | |||
|lat_deg={{{lat2_deg|}}} | |||
|lat_min={{{lat2_min|}}} | |||
|lat_sec={{{lat2_sec|}}} | |||
|lat_dir={{{lat2_dir|}}} | |||
|lon_deg={{{lon2_deg|}}} | |||
|lon_min={{{lon2_min|}}} | |||
|lon_sec={{{lon2_sec|}}} | |||
|lon_dir={{{lon2_dir|}}} | |||
|mark={{{mark2|}}} | |||
|marksize={{{mark2size|}}} | |||
|link={{{link2|}}} | |||
|label={{{label2|}}} | |||
|label_size={{{label2_size|}}} | |||
|position={{{position2|{{{pos2|}}}}}} | |||
|background={{{background2|{{{bg2|}}}}}} | |||
}} | |||
}}{{#if:{{{lat3|}}}{{{lat3_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat3|}}}|long={{{long3|}}} | |||
|lat_deg={{{lat3_deg|}}} | |||
|lat_min={{{lat3_min|}}} | |||
|lat_sec={{{lat3_sec|}}} | |||
|lat_dir={{{lat3_dir|}}} | |||
|lon_deg={{{lon3_deg|}}} | |||
|lon_min={{{lon3_min|}}} | |||
|lon_sec={{{lon3_sec|}}} | |||
|lon_dir={{{lon3_dir|}}} | |||
|mark={{{mark3|}}} | |||
|marksize={{{mark3size|}}} | |||
|link={{{link3|}}} | |||
|label={{{label3|}}} | |||
|label_size={{{label3_size|}}} | |||
|position={{{position3|{{{pos3|}}}}}} | |||
|background={{{background3|{{{bg3|}}}}}} | |||
}} | |||
}}{{#if:{{{lat4|}}}{{{lat4_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat4|}}}|long={{{long4|}}} | |||
|lat_deg={{{lat4_deg|}}} | |||
|lat_min={{{lat4_min|}}} | |||
|lat_sec={{{lat4_sec|}}} | |||
|lat_dir={{{lat4_dir|}}} | |||
|lon_deg={{{lon4_deg|}}} | |||
|lon_min={{{lon4_min|}}} | |||
|lon_sec={{{lon4_sec|}}} | |||
|lon_dir={{{lon4_dir|}}} | |||
|mark={{{mark4|}}} | |||
|marksize={{{mark4size|}}} | |||
|link={{{link4|}}} | |||
|label={{{label4|}}} | |||
|label_size={{{label4_size|}}} | |||
|position={{{position4|{{{pos4|}}}}}} | |||
|background={{{background4|{{{bg4|}}}}}} | |||
}} | |||
}}{{#if:{{{lat5|}}}{{{lat5_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat5|}}}|long={{{long5|}}} | |||
|lat_deg={{{lat5_deg|}}} | |||
|lat_min={{{lat5_min|}}} | |||
|lat_sec={{{lat5_sec|}}} | |||
|lat_dir={{{lat5_dir|}}} | |||
|lon_deg={{{lon5_deg|}}} | |||
|lon_min={{{lon5_min|}}} | |||
|lon_sec={{{lon5_sec|}}} | |||
|lon_dir={{{lon5_dir|}}} | |||
|mark={{{mark5|}}} | |||
|marksize={{{mark5size|}}} | |||
|link={{{link5|}}} | |||
|label={{{label5|}}} | |||
|label_size={{{label5_size|}}} | |||
|position={{{position5|{{{pos5|}}}}}} | |||
|background={{{background5|{{{bg5|}}}}}} | |||
}} | |||
}}{{#if:{{{lat6|}}}{{{lat6_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat6|}}}|long={{{long6|}}} | |||
|lat_deg={{{lat6_deg|}}} | |||
|lat_min={{{lat6_min|}}} | |||
|lat_sec={{{lat6_sec|}}} | |||
|lat_dir={{{lat6_dir|}}} | |||
|lon_deg={{{lon6_deg|}}} | |||
|lon_min={{{lon6_min|}}} | |||
|lon_sec={{{lon6_sec|}}} | |||
|lon_dir={{{lon6_dir|}}} | |||
|mark={{{mark6|}}} | |||
|marksize={{{mark6size|}}} | |||
|link={{{link6|}}} | |||
|label={{{label6|}}} | |||
|label_size={{{label6_size|}}} | |||
|position={{{position6|{{{pos6|}}}}}} | |||
|background={{{background6|{{{bg6|}}}}}} | |||
}} | |||
}}{{#if:{{{lat7|}}}{{{lat7_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat7|}}}|long={{{long7|}}} | |||
|lat_deg={{{lat7_deg|}}} | |||
|lat_min={{{lat7_min|}}} | |||
|lat_sec={{{lat7_sec|}}} | |||
|lat_dir={{{lat7_dir|}}} | |||
|lon_deg={{{lon7_deg|}}} | |||
|lon_min={{{lon7_min|}}} | |||
|lon_sec={{{lon7_sec|}}} | |||
|lon_dir={{{lon7_dir|}}} | |||
|mark={{{mark7|}}} | |||
|marksize={{{mark7size|}}} | |||
|link={{{link7|}}} | |||
|label={{{label7|}}} | |||
|label_size={{{label7_size|}}} | |||
|position={{{position7|{{{pos7|}}}}}} | |||
|background={{{background7|{{{bg7|}}}}}} | |||
}} | |||
}}{{#if:{{{lat8|}}}{{{lat8_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat8|}}}|long={{{long8|}}} | |||
|lat_deg={{{lat8_deg|}}} | |||
|lat_min={{{lat8_min|}}} | |||
|lat_sec={{{lat8_sec|}}} | |||
|lat_dir={{{lat8_dir|}}} | |||
|lon_deg={{{lon8_deg|}}} | |||
|lon_min={{{lon8_min|}}} | |||
|lon_sec={{{lon8_sec|}}} | |||
|lon_dir={{{lon8_dir|}}} | |||
|mark={{{mark8|}}} | |||
|marksize={{{mark8size|}}} | |||
|link={{{link8|}}} | |||
|label={{{label8|}}} | |||
|label_size={{{label8_size|}}} | |||
|position={{{position8|{{{pos8|}}}}}} | |||
|background={{{background8|{{{bg8|}}}}}} | |||
}} | |||
}}{{#if:{{{lat9|}}}{{{lat9_deg|}}} | |||
|{{Location map~|{{{1|World}}}|lat={{{lat9|}}}|long={{{long9|}}} | |||
|lat_deg={{{lat9_deg|}}} | |||
|lat_min={{{lat9_min|}}} | |||
|lat_sec={{{lat9_sec|}}} | |||
|lat_dir={{{lat9_dir|}}} | |||
|lon_deg={{{lon9_deg|}}} | |||
|lon_min={{{lon9_min|}}} | |||
|lon_sec={{{lon9_sec|}}} | |||
|lon_dir={{{lon9_dir|}}} | |||
|mark={{{mark9|}}} | |||
|marksize={{{mark9size|}}} | |||
|link={{{link9|}}} | |||
|label={{{label9|}}} | |||
|label_size={{{label9_size|}}} | |||
|position={{{position9|{{{pos9|}}}}}} | |||
|background={{{background9|{{{bg9|}}}}}} | |||
}} | |||
}} | |||
}}{{#if:{{{markhigh|}}}{{{mark1high|}}}{{{mark2high|}}}{{{mark3high|}}}{{{mark4high|}}}{{{mark5high|}}}{{{mark6high|}}}{{{mark7high|}}}{{{mark8high|}}}{{{mark9high|}}}{{{markhigh1|}}}{{{markhigh2|}}}{{{markhigh3|}}}{{{markhigh4|}}}{{{markhigh5|}}}{{{markhigh6|}}}{{{markhigh7|}}}{{{markhigh8|}}}{{{markhigh9|}}}|[[Category:Location map many using markhigh parameter]]}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> |