Difference between revisions of "Template: Infobox Settlement" - New World Encyclopedia

From New World Encyclopedia
(Change {{!}} into | in a template call)
m (Use {{!}} only for table syntax - NOT for template args)
Line 66: Line 66:
 
{{#if:{{{pushpin_map|}}}|
 
{{#if:{{{pushpin_map|}}}|
 
{{!}} colspan="2" align="center" {{!}} {{Location map|{{{pushpin_map|}}}
 
{{!}} colspan="2" align="center" {{!}} {{Location map|{{{pushpin_map|}}}
{{!}}label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{{official_name|}}} }}
+
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{{official_name|}}} }}
{{!}}lat = {{#switch: {{lc: {{{latNS}}} }} | s={{#expr:0-({{{latd}}}+{{{latm}}}/60+{{#if:{{{lats}}}|{{{lats}}}/360|0}})}} | n={{#expr:({{{latd}}}+{{{latm}}}/60+{{#if:{{{lats}}}|{{{lats}}}/360|0}})}} }}
+
|lat = {{#switch: {{lc: {{{latNS}}} }} | s={{#expr:0-({{{latd}}}+{{{latm}}}/60+{{#if:{{{lats}}}|{{{lats}}}/360|0}})}} | n={{#expr:({{{latd}}}+{{{latm}}}/60+{{#if:{{{lats}}}|{{{lats}}}/360|0}})}} }}
{{!}}long = {{#switch: {{lc: {{{longEW}}} }} | w={{#expr:0-({{{longd}}}+{{{longm}}}/60+{{#if:{{{longs}}}|{{{longs}}}/360|0}})}} | e={{#expr:({{{longd}}}+{{{longm}}}/60+{{#if:{{{longs}}}|{{{longs}}}/360|0}})}} }}
+
|long = {{#switch: {{lc: {{{longEW}}} }} | w={{#expr:0-({{{longd}}}+{{{longm}}}/60+{{#if:{{{longs}}}|{{{longs}}}/360|0}})}} | e={{#expr:({{{longd}}}+{{{longm}}}/60+{{#if:{{{longs}}}|{{{longs}}}/360|0}})}} }}
{{!}}float = none
+
|float = none
{{!}}caption =
+
|caption =
{{!}}border = none
+
|border = none
{{!}}position = {{#if:{{{pushpin_label_position|}}} | {{{pushpin_label_position|}}} | right }}
+
|position = {{#if:{{{pushpin_label_position|}}} | {{{pushpin_label_position|}}} | right }}
{{!}}width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize|}}} | 250 }}
+
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize|}}} | 250 }}
 
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption|}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small> }} }}
 
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption|}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small> }} }}
 
}}<!-- ***** Coordinates ***** -->
 
}}<!-- ***** Coordinates ***** -->

Revision as of 18:35, 13 May 2008

{{{official_name}}}

Credits

New World Encyclopedia writers and editors copied and adjusted this Wikipedia template in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.