Difference between revisions of "Template:InfoboxSlo"

From Culture.si
(Created page with "<div class="contact-info"> <div class="contact-info-title">Kontaktni podatki</div><table class="infobox"> [[Image:{{{image|}}}]] [[Image:{{{logo|{{{localname|{{FULLPAGENAME}}}...")
 
 
(58 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div class="contact-info">
 
<div class="contact-info">
 
<div class="contact-info-title">Kontaktni podatki</div><table class="infobox">
 
<div class="contact-info-title">Kontaktni podatki</div><table class="infobox">
[[Image:{{{image|}}}]]
 
[[Image:{{{logo|{{{localname|{{FULLPAGENAME}}}}} (logo).svg}}}]]
 
 
{{infoboxContactPrint
 
{{infoboxContactPrint
| name      = {{#if:{{{localname|{{{local name|{{{name}}}}}}}}}|{{{localname|{{{local name|{{{name}}}}}}}}}|{{{name|{{FULLPAGENAME}}}}}}}
+
| name      = [[{{{_ref}}}|{{{foaf:name|{{{Localname}}}}}}]]
| street    = {{{street|{{{street address|}}}}}}
+
| street    = {{{Street}}}
| town      = {{{town|}}}
+
| town      = {{{Post|}}}
| website  = {{{website|}}}
+
| website  = {{{Website|}}}
| email    = {{{email|}}}
+
| email    = {{{Email|}}}
| telephone = {{{telephone|}}}
+
| telephone = {{{Telephone|}}}
| fax      = {{{fax|}}}
+
| fax      = {{{Fax|}}}
 
| save      = TRUE
 
| save      = TRUE
}}{{#set:localname={{#if:{{{localname|{{{local name|{{{name}}}}}}}}}|{{{localname|{{{local name|{{{name}}}}}}}}}|{{{name|{{FULLPAGENAME}}}}}}}}}{{#if:{{{town|}}}
 
| {{{
 
  townName = {{#str:replace|{{{town}}}|^[A-Z][A-Z]-\S+ |}}
 
| zip = {{#str:replace|{{{town}}}|^([A-Z][A-Z]-\S+) .*$|$1}}
 
  }}}
 
  {{#ifeq:{{{town}}}|{{{townName}}}||
 
    {{#ifeq:{{#str:substr|{{{zip}}}|0|2}}|SI|
 
      {{infoboxRowPrint
 
      | label = Region
 
      | name  = Region
 
      | value = {{{region|{{#str:substr|{{{town|}}}|0|4}}}}}
 
      | type  = text
 
      }}
 
    }}
 
    {{infoboxRowPrint
 
    | hidden = TRUE
 
    | label = Zip
 
    | name  = Zip
 
    | value = {{{zip}}}
 
    | type  = hidden
 
    }}{{infoboxRowPrint
 
    | hidden = TRUE
 
    | label = TownName
 
    | name  = TownName
 
    | value = {{{townName}}}
 
    | type  = hidden
 
    }}
 
  }}
 
}}
 
{{infoboxRowPrint
 
| label = Post
 
| hidden = TRUE
 
| name  = Post
 
| value = {{{town|}}}
 
| type  = text
 
}}{{infoboxRowPrint
 
| label = Country
 
| hidden = {{#if:{{{country|}}}||HIDDEN}}
 
| name  = Country
 
| value = {{uc:{{{country|si}}}}}
 
| type  = text
 
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Proprietor
+
| label = Lastnik
 
| name  = Proprietor
 
| name  = Proprietor
| value = {{{proprietor|}}}
+
| value = {{{Proprietor|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Founded by
+
| label = Ustanovitelji
 
| name  = Founded by
 
| name  = Founded by
| value = {{{founded by|}}}
+
| value = {{{Founded by|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Founded by
 
| name  = Founded by
| value = {{{founded by 2|}}}
+
| value = {{{Founded by 2|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Founded by
 
| name  = Founded by
| value = {{{founded by 3|}}}
+
| value = {{{Founded by 3|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Founded by
 
| name  = Founded by
| value = {{{founded by 4|}}}
+
| value = {{{Founded by 4|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Managed by
+
| label = Upravlja
 
| name  = Managed by
 
| name  = Managed by
| value = {{{managed by|}}}
+
| value = {{{Managed by|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Managed by
 
| name  = Managed by
| value = {{{managed by 2|}}}
+
| value = {{{Managed by 2|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Managed by
 
| name  = Managed by
| value = {{{managed by 3|}}}
+
| value = {{{Managed by 3|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Organised by
+
| label = Organizator
 
| name  = Organised by
 
| name  = Organised by
| value = {{{organised by|{{{organized by|}}}}}}
+
| value = {{{Organised by|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Organised by
 
| name  = Organised by
| value = {{{organised by 2|{{{organized by 2|}}}}}}
+
| value = {{{Organised by 2|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Organised by
 
| name  = Organised by
| value = {{{organised by 3|{{{organized by 3|}}}}}}
+
| value = {{{Organised by 3|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Published by
+
| label = Založnik(i):
 
| name  = Published by
 
| name  = Published by
| value = {{{published by|}}}
+
| value = {{{Published by|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Published by
 
| name  = Published by
| value = {{{published by 2|}}}
+
| value = {{{Published by 2|}}}
| type  = link
+
| type  = local link
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label = &nbsp;
 
| label = &nbsp;
 
| name  = Published by
 
| name  = Published by
| value = {{{published by 3|}}}
+
| value = {{{Published by 3|}}}
| type  = link
+
| type  = local link
 
}}<!--{{infoboxRowPrint
 
}}<!--{{infoboxRowPrint
| label = Open
+
| label = Odprto
 
| name  =  
 
| name  =  
| value = {{{opening hours|}}}
+
| value = {{{Opening hours|}}}
 
| type  = text
 
| type  = text
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Official hours
+
| label = Uradne ure
 
| name  =  
 
| name  =  
| value = {{{official hours|}}}
+
| value = {{{Official hours|}}}
 
| type  = text
 
| type  = text
 
}}-->{{infoboxRowPrint
 
}}-->{{infoboxRowPrint
| label = Frequency
+
| label = Frekvenca
 
| name  = Frequency
 
| name  = Frequency
| value = {{{frequency|}}}
+
| value = {{{Frequency|}}}
 
| type  = text
 
| type  = text
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Dates and duration
+
| label = Datumi in trajanje
 
| name  = Frequency
 
| name  = Frequency
| 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}}}}}}}
 
{{infoboxRowPrint
 
{{infoboxRowPrint
| label = Weeks
+
| label = Tedni
 
| hidden = TRUE
 
| hidden = TRUE
 
| name  = Duration weeks
 
| name  = Duration weeks
| value = {{{duration weeks|}}}
+
| value = {{{Duration weeks|}}}
 
| type  = text
 
| type  = text
}}
+
}}{{#if:{{{Facebook account|}}}{{{Twitter account|}}}{{{Vimeo account|}}}{{{Youtube account|}}}|<tr><td colspan="2">
{{infoboxRowPrint
+
 
| label = Location
+
<b>Družbena omrežja:</b>
 +
 
 +
{{#if:{{{Facebook account|}}}|[{{{Facebook account|}}} Facebook]}}
 +
{{#if:{{{Twitter account|}}}|[{{{Twitter account|}}} Twitter]}}
 +
{{#if:{{{Vimeo account|}}}|[{{{Vimeo account|}}} Vimeo]}}
 +
{{#if:{{{Youtube account|}}}|[{{{Youtube account|}}} Youtube]}}
 +
</td></tr>
 +
}}{{infoboxRowPrint
 +
| label = Lokacija
 
| name  = Location
 
| name  = Location
| value = {{{location|}}}
+
| value = {{{Location|}}}
 
| type  = link
 
| type  = link
 
}}{{{contacts|}}}{{infoboxRowPrint
 
}}{{{contacts|}}}{{infoboxRowPrint
   | name  = Map
+
   | name  = Zemljevid
   | value = {{{map|}}}
+
   | value = {{{Map|}}}
 
   | type  = embed
 
   | type  = embed
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
   | name  = Webshot
 
   | name  = Webshot
   | value = File:{{FULLPAGENAME}} (website).png
+
   | value = {{{Webshot|}}}
 
   | type  = image
 
   | type  = image
}}{{#if:{{{accounts|}}}|
+
}}
{{#arr:dataloop
+
</table>
|{{#arr:match|{{{accounts}}}
 
|https?:\/\/(.*\.)?(.*?)\..*?\/(.*)}}
 
|each = {{infoboxRowPrint
 
  |label = {{{2}}}
 
  |name= {{{2}}} account
 
  |value = {{{0}}}
 
  |type = text
 
}}}}
 
}}</table>
 
 
{{{extra|}}}
 
{{{extra|}}}
{{EUProjectsForThisPage}}
 
{{eventsForThisPage}}
 
 
</div>
 
</div>

Latest revision as of 16:38, 23 August 2017

Kontaktni podatki


[[{{{_ref}}}|{{{Localname}}}]]
{{{Street}}},