Difference between revisions of "Template:Infobox"

From Culture.si
 
(3 intermediate revisions by the same user 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 147: Line 148:
 
| value = {{uc:{{{country|si}}}}}
 
| value = {{uc:{{{country|si}}}}}
 
| type  = text
 
| type  = text
}}{{#if:{{{accounts|}}}|
+
}}{{infoboxRowAccounts|accounts={{{accounts|}}}}}{{infoboxRow
<div class="ibr row-online-accounts">
 
{{#arr:dataloop
 
|{{#arr:match|{{{accounts}}}
 
|https?:\/\/(.*?\.)?(.*?)\..*?\/(.*)}}
 
|each = {{infoboxRow
 
  |name= {{{2}}} account
 
  |value = {{{0}}}
 
  |hidden = true
 
  |type = text
 
}}
 
[{{{0}}} {{{2}}}]
 
}}</div>
 
}}{{infoboxRow
 
 
| label = Proprietor
 
| label = Proprietor
 
| name  = Proprietor
 
| name  = Proprietor
Line 274: Line 262:
 
   | 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>
</div>
 

Latest revision as of 00:24, 5 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
...

}}