Difference between revisions of "Template:Region"
m (typo Its not It's) |
|||
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 | ||
+ | | name = Map | ||
+ | | value = {{{map|}}} | ||
+ | | type = embed | ||
+ | }} | ||
+ | </table> | ||
+ | }} | ||
{{RegionBar}} | {{RegionBar}} | ||