Template:Infobox UK place: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table class="infobox geography vcard" style="width: 23em"> | <includeonly><table class="infobox geography vcard" style="width: 23em"> | ||
<tr class=mergedtoprow> | <tr class=mergedtoprow> | ||
<td style="font-size: 1.25em; width: 100%; white-space: nowrap; text-align: center" align=middle colspan=2><span class="fn org">'''{{{official_name}}}''' | <td style="font-size: 1.25em; width: 100%; white-space: nowrap; text-align: center" align=middle colspan=2><span class="fn org">'''{{{official_name}}}'''</span></td> | ||
</tr><!-- | </tr><!-- | ||
***** | ***** Name in other languages **** | ||
-->{{#if: {{{ | -->{{#if: {{{gaelic_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-gd|{{{gaelic_name}}} }}'''</td></tr>}}{{#if: {{{scots_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-sco|{{{scots_name}}} }}'''</td></tr>}}{{#if: {{{cornish_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-kw|{{{cornish_name}}} }}'''</td></tr>}}{{#if: {{{welsh_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-cy|{{{welsh_name}}} }}'''</td></tr>}}{{#if: {{{irish_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-ga|{{{irish_name}}} }}'''</td></tr>}}{{#if: {{{manx_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-gv|{{{manx_name}}} }}'''</td></tr>}}{{#if: {{{other_language_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>''[[{{{other_language}}}|{{{other_language_name}}}]]''</td></tr>}}{{#if: {{{local_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>{{{local_name}}}</td></tr>}} | ||
<!-- | |||
***** Static image ***** | ***** Static image ***** | ||
Line 53: | Line 52: | ||
| Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=maptitle}} | | Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=maptitle}} | ||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=maptitle}}|the [[United Kingdom]]{{Infobox UK place/NoLocalMap}} }} | | #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=maptitle}}|the [[United Kingdom]]{{Infobox UK place/NoLocalMap}} }} | ||
}}</small>''</center></td></tr>}} }}<!-- | }}</small>''</center></td></tr>}} }} | ||
<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>{{#if: {{{longitude|}}}|{{Coord|{{{latitude|}}}|{{{longitude|}}}|region:{{#ifeq: {{{crown_dependency|}}}|Isle of Man|IM|GB}}_{{ #if: {{{scale|}}}| scale:{{{scale|}}}| type:city{{#iferror: {{#expr: {{formatnum: {{{population}}}|R}}*1}}||({{formatnum: {{{population}}}|R}})}} }}|display=title}} }}</td></tr> | |||
<!-- | |||
***** Area ***** | ***** Area ***** |
Latest revision as of 12:23, 29 September 2009
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
[create] Template documentation