Difference between revisions of "Template:Infobox"
(Poskus 3) |
|||
Line 78: | Line 78: | ||
}} | }} | ||
− | </pre></noinclude>{{#ifeq:{{#this:depth}}|1| | + | </pre> |
+ | </noinclude> | ||
+ | |||
+ | {{#ifeq:{{#this:depth}}|1| | ||
<div class="contact-info"> | <div class="contact-info"> | ||
<div class="contact-info-title">Contact <small class="track-link">{{#if:{{ISADMIN}}|[[Track:{{PAGENAME}}|Track]]|}}</small></div> | <div class="contact-info-title">Contact <small class="track-link">{{#if:{{ISADMIN}}|[[Track:{{PAGENAME}}|Track]]|}}</small></div> | ||
<div class="infobox"> | <div class="infobox"> | ||
+ | |||
<div class="img"> | <div class="img"> | ||
{{infoboxImageRow | {{infoboxImageRow | ||
Line 99: | Line 103: | ||
| noimage = {{missing logo}}[[category:NO LOGO]] | | noimage = {{missing logo}}[[category:NO LOGO]] | ||
}} | }} | ||
− | </div> | + | </div> <!-- Zapira .img --> |
+ | |||
<div class="text"> | <div class="text"> | ||
{{Contact | {{Contact | ||
Line 285: | Line 290: | ||
{{{contacts|}}} | {{{contacts|}}} | ||
{{#if:{{{accounts|}}}| | {{#if:{{{accounts|}}}| | ||
− | < | + | <h3>Online accounts:</h3> |
{{#arr:dataloop | {{#arr:dataloop | ||
|{{#arr:match|{{{accounts}}} | |{{#arr:match|{{{accounts}}} | ||
Line 298: | Line 303: | ||
}} | }} | ||
}} | }} | ||
+ | </div> <!-- Zapira .text --> | ||
+ | |||
<div class="map"> | <div class="map"> | ||
{{infoboxRow | {{infoboxRow | ||
Line 304: | Line 311: | ||
| type = embed | | type = embed | ||
}} | }} | ||
− | |||
</div> | </div> | ||
Line 315: | Line 321: | ||
|{{eventsForThisPage}} | |{{eventsForThisPage}} | ||
}} | }} | ||
− | </div> | + | </div> <!-- Zapira .infobox --> |
− | }} | + | }} <!-- Zapira tisti if parser function visoko zgoraj --> |
+ | |||
{{#if:{{#str:test|{{{founded by|}}}|^\s*(Municipality|University|Government|Ministry)[ _]}} | {{#if:{{#str:test|{{{founded by|}}}|^\s*(Municipality|University|Government|Ministry)[ _]}} | ||
|[[Category: Public entities]] | |[[Category: Public entities]] | ||
}} | }} | ||
+ | |||
{{#if:{{#str:test|{{PAGENAME}}|^\s*(Municipality|University|Government|Ministry)[ _]}} | {{#if:{{#str:test|{{PAGENAME}}|^\s*(Municipality|University|Government|Ministry)[ _]}} | ||
|[[Category: Public entities]] | |[[Category: Public entities]] | ||
}} | }} |
Revision as of 23:59, 16 February 2021
Prekopiraj spodnjo strukturo v izvorno kodo članka. Pri Image vpiši samo ime slike.
{{Infobox | name = | local name = | logo = | image = | street = | town = | region = ''if not in Slovenia'' | country = ''if not in Slovenia'' | website = | email = | telephone = | fax = | founded by = | founded by 2 = | founded by 3 = | founded by 4 = | organised by = | organised by 2 = | organised by 3 = | managed by = | managed by 2 = | managed by 3 = | published by = | published by 2 = | published by 3 = | opening hours = | official hours = | frequency = for festivals | dates and duration = for festivals | duration weeks = for festivals | festival dates = d.m.YY - d.m.YY, for festivals | contacts = {{Contact | name = | role = | street = | town = | website = | email = | email 2 = | telephone = | fax = }}{{Contact | name = | role = | street = | town = | website = | email = | telephone = | fax = }}{{Contact | name = | role = | street = | town = | website = | email = | telephone = | fax = }} | accounts = http://www.twitter.com/twid http://www.facebook.com/fbid http://www.youtube.com/ytid http://www.vimeo.com/vimid http://www.flickr.com/flid http://www.soundcloud.com/scid http://bandcamp.com/bcid http://www.discogs.com/dgid http://www.myspace.com/msid http://www.reverbnation.com/rvid http://www.last.fm/lfmid http://www.behance.net/bhid ... }}