Difference between revisions of "Template:Infobox"

From Culture.si
 
(9 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
 
...
 
...
  
Line 82: Line 83:
 
<div class="contact-info"
 
<div class="contact-info"
 
><div class="infobox"
 
><div class="infobox"
 +
><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  =
Line 97: Line 99:
 
| noimage = {{missing logo}}[[category:NO LOGO]]
 
| noimage = {{missing logo}}[[category:NO LOGO]]
 
}}</div> <!-- Zapira .img --><div class="text"
 
}}</div> <!-- Zapira .img --><div class="text"
><div class="contact-info-title">Contact <small class="track-link">{{#if:{{ISADMIN}}|[[Track:{{PAGENAME}}|Track]]|}}</small></div>
+
>{{Contact
{{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 147: Line 148:
 
| value = {{uc:{{{country|si}}}}}
 
| value = {{uc:{{{country|si}}}}}
 
| type  = text
 
| type  = text
}}{{infoboxRow
+
}}{{infoboxRowAccounts|accounts={{{accounts|}}}}}{{infoboxRow
 
| label = Proprietor
 
| label = Proprietor
 
| name  = Proprietor
 
| name  = Proprietor
Line 217: Line 218:
 
| value = {{{published by 3|}}}
 
| value = {{{published by 3|}}}
 
| type  = link
 
| type  = link
}}<!--{{infoboxRow
+
}}{{{contacts|}}}<!--{{infoboxRow
 
| label = Open
 
| label = Open
 
| name  =  
 
| name  =  
Line 250: Line 251:
 
| name  = Festival dates
 
| name  = Festival dates
 
| value = {{{festival dates|}}}
 
| value = {{{festival dates|}}}
| type  = split
+
| type  = splitlast
 
}}{{infoboxRow
 
}}{{infoboxRow
 
| label = Location
 
| label = Location
Line 256: Line 257:
 
| value = {{{location|}}}
 
| value = {{{location|}}}
 
| type  = link
 
| type  = link
}}{{{contacts|}}}</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}}
 
}}{{EUProjectsForThisPage}}
 
}} <!-- Zapira tisti if parser function visoko zgoraj --></div><!-- Zapira contact info -->{{#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
...

}}