Difference between revisions of "Template:Infobox"

From Culture.si
Line 147: Line 147:
 
| 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

Revision as of 23:23, 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
...

}}