Difference between revisions of "Template:Infobox"
(25 intermediate revisions by 2 users not shown) | |||
Line 75: | Line 75: | ||
http://www.last.fm/lfmid | http://www.last.fm/lfmid | ||
http://www.behance.net/bhid | http://www.behance.net/bhid | ||
+ | mastodon:http://www.sonedomain.net/mstid | ||
... | ... | ||
}} | }} | ||
</pre> | </pre> | ||
− | </noinclude> | + | </noinclude>{{#ifeq:{{#this:depth}}|1| |
− | + | <div class="contact-info" | |
− | {{#ifeq:{{#this:depth}}|1| | + | ><div class="infobox" |
− | <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="img">{{infoboxImageRow |
− | |||
− | |||
− | <div class="img"> | ||
− | {{infoboxImageRow | ||
| label = | | label = | ||
| name = image- | | name = image- | ||
Line 94: | Line 91: | ||
| hasimage = [[category:HAS IMAGE]] | | hasimage = [[category:HAS IMAGE]] | ||
| noimage = {{missing image}}[[category:NO IMAGE]] | | noimage = {{missing image}}[[category:NO IMAGE]] | ||
− | }} | + | }}{{infoboxImageRow |
− | {{infoboxImageRow | ||
| label = | | label = | ||
| name = logo | | name = logo | ||
Line 102: | Line 98: | ||
| hasimage = [[category:HAS LOGO]] | | hasimage = [[category:HAS LOGO]] | ||
| noimage = {{missing logo}}[[category:NO LOGO]] | | noimage = {{missing logo}}[[category:NO LOGO]] | ||
− | }} | + | }}</div> <!-- Zapira .img --><div class="text" |
− | </div> <!-- Zapira .img --> | + | >{{Contact |
− | |||
− | <div class="text"> | ||
− | {{Contact | ||
| name = {{#if:{{{localname|{{{local name|{{{name}}}}}}}}}|{{{localname|{{{local name|{{{name}}}}}}}}}|{{{name|{{FULLPAGENAME}}}}}}} | | name = {{#if:{{{localname|{{{local name|{{{name}}}}}}}}}|{{{localname|{{{local name|{{{name}}}}}}}}}|{{{name|{{FULLPAGENAME}}}}}}} | ||
| street = {{{street|{{{street address|}}}}}} | | street = {{{street|{{{street address|}}}}}} | ||
Line 120: | Line 113: | ||
townName = {{#str:replace|{{{town}}}|^[A-Z][A-Z]-\S+ |}} | townName = {{#str:replace|{{{town}}}|^[A-Z][A-Z]-\S+ |}} | ||
| zip = {{#str:replace|{{{town}}}|^([A-Z][A-Z]-\S+) .*$|$1}} | | zip = {{#str:replace|{{{town}}}|^([A-Z][A-Z]-\S+) .*$|$1}} | ||
− | }}} | + | }}}{{#ifeq:{{{town}}}|{{{townName}}}|| |
− | |||
{{#ifeq:{{#str:substr|{{{zip}}}|0|2}}|SI| | {{#ifeq:{{#str:substr|{{{zip}}}|0|2}}|SI| | ||
{{infoboxRow | {{infoboxRow | ||
Line 128: | Line 120: | ||
| value = {{{region|{{#str:substr|{{{town|}}}|0|4}}}}} | | value = {{{region|{{#str:substr|{{{town|}}}|0|4}}}}} | ||
| type = text | | type = text | ||
+ | | hidden = TRUE | ||
}} | }} | ||
− | }} | + | }}{{infoboxRow |
− | |||
| hidden = TRUE | | hidden = TRUE | ||
| label = Zip | | label = Zip | ||
Line 136: | Line 128: | ||
| value = {{{zip}}} | | value = {{{zip}}} | ||
| type = hidden | | type = hidden | ||
− | }} | + | }}{{infoboxRow |
− | |||
| hidden = TRUE | | hidden = TRUE | ||
| label = TownName | | label = TownName | ||
Line 145: | Line 136: | ||
}} | }} | ||
}} | }} | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Post | | label = Post | ||
| hidden = TRUE | | hidden = TRUE | ||
Line 152: | Line 142: | ||
| value = {{{town|}}} | | value = {{{town|}}} | ||
| type = text | | type = text | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Country | | label = Country | ||
| hidden = {{#if:{{{country|}}}||HIDDEN}} | | hidden = {{#if:{{{country|}}}||HIDDEN}} | ||
Line 159: | Line 148: | ||
| value = {{uc:{{{country|si}}}}} | | value = {{uc:{{{country|si}}}}} | ||
| type = text | | type = text | ||
− | }} | + | }}{{infoboxRowAccounts|accounts={{{accounts|}}}}}{{infoboxRow |
− | {{infoboxRow | ||
| label = Proprietor | | label = Proprietor | ||
| name = Proprietor | | name = Proprietor | ||
| value = {{{proprietor|}}} | | value = {{{proprietor|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Founded by | | label = Founded by | ||
| name = Founded by | | name = Founded by | ||
| value = {{{founded by|}}} | | value = {{{founded by|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Founded by | | name = Founded by | ||
| value = {{{founded by 2|}}} | | value = {{{founded by 2|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Founded by | | name = Founded by | ||
| value = {{{founded by 3|}}} | | value = {{{founded by 3|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Founded by | | name = Founded by | ||
| value = {{{founded by 4|}}} | | value = {{{founded by 4|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Managed by | | label = Managed by | ||
| name = Managed by | | name = Managed by | ||
| value = {{{managed by|}}} | | value = {{{managed by|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Managed by | | name = Managed by | ||
| value = {{{managed by 2|}}} | | value = {{{managed by 2|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Managed by | | name = Managed by | ||
| value = {{{managed by 3|}}} | | value = {{{managed by 3|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Organised by | | label = Organised by | ||
| name = Organised by | | name = Organised by | ||
| value = {{{organised by|{{{organized by|}}}}}} | | value = {{{organised by|{{{organized by|}}}}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Organised by | | name = Organised by | ||
| value = {{{organised by 2|{{{organized by 2|}}}}}} | | value = {{{organised by 2|{{{organized by 2|}}}}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Organised by | | name = Organised by | ||
| value = {{{organised by 3|{{{organized by 3|}}}}}} | | value = {{{organised by 3|{{{organized by 3|}}}}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Published by | | label = Published by | ||
| name = Published by | | name = Published by | ||
| value = {{{published by|}}} | | value = {{{published by|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Published by | | name = Published by | ||
| value = {{{published by 2|}}} | | value = {{{published by 2|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = | | label = | ||
| name = Published by | | name = Published by | ||
| value = {{{published by 3|}}} | | value = {{{published by 3|}}} | ||
| type = link | | type = link | ||
− | }}<!--{{infoboxRow | + | }}{{{contacts|}}}<!--{{infoboxRow |
| label = Open | | label = Open | ||
| name = | | name = | ||
Line 253: | Line 228: | ||
| value = {{{official hours|}}} | | value = {{{official hours|}}} | ||
| type = text | | type = text | ||
− | }}--> | + | }}-->{{infoboxRow |
− | {{infoboxRow | ||
| label = Frequency | | label = Frequency | ||
| name = Frequency | | name = Frequency | ||
| value = {{{frequency|}}} | | value = {{{frequency|}}} | ||
| type = text | | type = text | ||
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| hidden = TRUE | | hidden = TRUE | ||
| label = Dates and duration | | label = Dates and duration | ||
Line 266: | Line 239: | ||
| value = {{{dates and duration|}}} | | value = {{{dates and duration|}}} | ||
| type = text | | type = text | ||
− | }} | + | }}{{#if:{{{duration weeks|}}}|{{DurationWeeks|weeks={{{duration weeks}}}}} |
− | {{#if:{{{duration weeks|}}}|{{DurationWeeks|weeks={{{duration weeks}}}}}}} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Weeks | | label = Weeks | ||
| hidden = TRUE | | hidden = TRUE | ||
Line 274: | Line 246: | ||
| value = {{{duration weeks|}}} | | value = {{{duration weeks|}}} | ||
| type = text | | type = text | ||
− | }} | + | }}{{#if:{{{festival dates|}}}|{{FestivalDates|{{{festival dates}}}}} |
− | {{#if:{{{festival dates|}}}|{{FestivalDates|{{{festival dates}}}}}}} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Festival dates | | label = Festival dates | ||
| name = Festival dates | | name = Festival dates | ||
| value = {{{festival dates|}}} | | value = {{{festival dates|}}} | ||
− | | type = | + | | type = splitlast |
− | }} | + | }}{{infoboxRow |
− | {{infoboxRow | ||
| label = Location | | label = Location | ||
| name = Location | | name = Location | ||
| value = {{{location|}}} | | value = {{{location|}}} | ||
| type = link | | type = link | ||
− | }} | + | }}</div><!-- Zapira .text --><div class="map"> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </div> <!-- Zapira .text --> | ||
− | |||
− | <div class="map"> | ||
{{infoboxRow | {{infoboxRow | ||
| name = Map | | name = Map | ||
| value = {{{map|}}} | | value = {{{map|}}} | ||
| type = embed | | type = embed | ||
− | }} | + | }}</div><!-- Zapira .infobox -->{{{extra|}}}{{#if:{{{eventsfor|}}} |
− | |||
− | </div> <!-- Zapira .infobox --> | ||
− | |||
− | |||
− | {{{extra|}}} | ||
− | |||
− | {{#if:{{{eventsfor|}}} | ||
|{{#arr:loop|k=v|{{#arr:split|{{{covering|{{{{{{eventsfor|}}}}}}}}}|,}} | |{{#arr:loop|k=v|{{#arr:split|{{{covering|{{{{{{eventsfor|}}}}}}}}}|,}} | ||
|each= {{eventsForThisPage|field={{{eventsfor|}}}|page={{{v}}}}} | |each= {{eventsForThisPage|field={{{eventsfor|}}}|page={{{v}}}}} | ||
− | }} | + | }}|{{eventsForThisPage}}}}{{EUProjectsForThisPage}}}}<!-- Zapira tisti if parser function visoko zgoraj --></div><!-- Zapira contact info -->{{#if:{{#str:test|{{{founded by|}}}|^\s*(Municipality|University|Government|Ministry)[ _]}} |
− | |{{eventsForThisPage}} | ||
− | }} | ||
− | }} <!-- Zapira tisti if parser function visoko zgoraj --> | ||
− | |||
− | |||
− | {{#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]] | ||
− | }} | + | }}</div> |
Latest revision as of 23:24, 4 April 2024
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 mastodon:http://www.sonedomain.net/mstid ... }}