Difference between revisions of "Template:Infobox"
Line 292: | Line 292: | ||
{{#if:{{{accounts|}}}| | {{#if:{{{accounts|}}}| | ||
<div>Online accounts:</div> | <div>Online accounts:</div> | ||
− | + | ||
− | + | {{#arr:dataloop | |
− | + | |{{#arr:match|{{{accounts}}} | |
− | + | |https?:\/\/(.*?\.)?(.*?)\..*?\/(.*)}} | |
+ | |each = {{infoboxRow | ||
|name= {{{2}}} account | |name= {{{2}}} account | ||
|value = {{{0}}} | |value = {{{0}}} | ||
|hidden = true | |hidden = true | ||
|type = text | |type = text | ||
− | + | }} | |
− | [{{{0}}} {{{2}}}] | + | [{{{0}}} {{{2}}}] |
− | }} | + | }} |
}} | }} | ||
</div> <!-- Zapira .text --> | </div> <!-- Zapira .text --> |
Revision as of 00:51, 17 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 ... }}