Difference between revisions of "Template:Town"
(Created page with '{{Infobox| |town={{{PAGENAME}}} }} {{Town queries}} Towns') |
|||
(26 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Infobox| | + | <noinclude>Prekopiraj spodnjo strukturo v izvorno kodo članka. Pri '''Image''' vpiši samo ime slike.<pre> |
− | | | + | {{Infobox |
+ | | name = | ||
+ | | post = | ||
+ | | image = | ||
+ | | map = | ||
+ | | coat of arms = | ||
+ | | founded by = | ||
+ | | year = | ||
+ | | website = | ||
+ | | wikipedia = | ||
+ | | municipality = | ||
}} | }} | ||
− | {{Town queries}} | + | </pre></noinclude>{{#ifeq:{{#this:depth}}|1| |
− | [[Category:Towns]] | + | <div class="contact-info"> |
+ | <div class="contact-info-title">Info</div><table class="infobox">{{infoboxRow | ||
+ | | label = | ||
+ | | name = image | ||
+ | | value = {{{image|{{{localname|{{{local name|{{{name|{{FULLPAGENAME}}}}}}}}}}}.jpg}}} | ||
+ | | type = image | ||
+ | }}{{#ifexist:{{{municipality}}}| | ||
+ | {{infoboxRow | ||
+ | | label = Municipality | ||
+ | | name = Municipality | ||
+ | | value = {{{municipality|}}} | ||
+ | | type = link | ||
+ | }} | ||
+ | }}{{#if:{{{post|}}} | ||
+ | | {{infoboxRow | ||
+ | | label = Region | ||
+ | | name = Region | ||
+ | | value = {{#custom:sub|{{{post|}}}|0|4}} | ||
+ | | type = link | ||
+ | }} | ||
+ | }}{{#if:{{{wikipedia|}}} | ||
+ | | {{infoboxRow | ||
+ | | label = Wikipedia | ||
+ | | name = Wikipedia | ||
+ | | value = {{{wikipedia}}} | ||
+ | | display = [{{{wikipedia}}} {{{name}}}] | ||
+ | | type = external link | ||
+ | }} | ||
+ | }}{{#if:{{{map|}}} | ||
+ | | {{infoboxRow | ||
+ | | name = Map | ||
+ | | value = {{{map|}}} | ||
+ | | type = embed | ||
+ | }} | ||
+ | }}</table><br>{{eventsForThisPage|page={{{name}}}}} | ||
+ | </div> | ||
+ | }} | ||
+ | <includeonly> | ||
+ | <div class="tabs"> | ||
+ | __NOTOC__ | ||
+ | {{#data:set|town|{{{name|{{FULLPAGENAME}}}}} | ||
+ | | name = {{{name|{{FULLPAGENAME}}}}} | ||
+ | | post = {{{post|}}} | ||
+ | | wikipedia = {{{wikipedia|}}} | ||
+ | | municipality = {{{municipality|}}} | ||
+ | | map = {{{map|}}} | ||
+ | }}{{#eval:wrap|Town queries}} | ||
+ | </div> | ||
+ | [[Category:Towns|{{{name|}}}]] | ||
+ | </includeonly> | ||
+ | |||
+ | {{FULLWIDTH}} |
Latest revision as of 06:50, 11 March 2021
Prekopiraj spodnjo strukturo v izvorno kodo članka. Pri Image vpiši samo ime slike.
{{Infobox | name = | post = | image = | map = | coat of arms = | founded by = | year = | website = | wikipedia = | municipality = }}