Difference between revisions of "Template:Region"
(Created page with '==={{{Name}}})=== This page lists entries from {{{Name}}} region. We also have a page for [[{{{Capital}}}]].') |
|||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | ==={{{ | + | <noinclude><pre> |
− | + | {{Region | |
+ | | name = | ||
+ | | capital = | ||
+ | | map = | ||
+ | }} | ||
+ | </pre></noinclude> | ||
+ | {{#ifeq:{{#this:depth}}|1| | ||
+ | <table class="infobox"> | ||
+ | {{Contact | ||
+ | | name = {{#if:{{{localname|{{{local name|{{{name}}}}}}}}}|{{{localname|{{{local name|{{{name}}}}}}}}}|{{{name|{{FULLPAGENAME}}}}}}} | ||
+ | | street = {{{street|{{{street address|}}}}}} | ||
+ | | town = {{{capital|}}} | ||
+ | | website = {{{website|}}} | ||
+ | | email = {{{email|}}} | ||
+ | | telephone = {{{telephone|}}} | ||
+ | | fax = {{{fax|}}} | ||
+ | | save = TRUE | ||
+ | }} | ||
+ | {{#if:{{{capital|}}} | ||
+ | | {{infoboxRow | ||
+ | | label = Capital | ||
+ | | name = Capital | ||
+ | | value = {{{capital}}} | ||
+ | | type = link | ||
+ | }} | ||
+ | {{infoboxRow | ||
+ | | label = Region | ||
+ | | name = Region | ||
+ | | value = {{{region|{{#custom:sub|{{{capital|}}}|0|4}}}}} | ||
+ | | type = text | ||
+ | }} | ||
+ | }} | ||
+ | {{infoboxRow | ||
+ | | name = Map | ||
+ | | value = {{{map|}}} | ||
+ | | type = embed | ||
+ | }} | ||
+ | </table> | ||
+ | }} | ||
+ | {{RegionBar}} | ||
+ | {{region queries}} |