Template:Infobox UK place: Difference between revisions
No edit summary |
No edit summary |
||
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><!-- | ||
Line 10: | Line 10: | ||
***** Name in other languages **** | ***** Name in other languages **** | ||
-->{{#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>}}<!-- | -->{{#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>}} | ||
{{#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}} }}<br> | |||
<!-- | |||
***** Static image ***** | ***** Static image ***** |
Revision as of 12:15, 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