Difference between revisions of "Template:Infobox"

From Culture.si
Line 41: Line 41:
 
   }}
 
   }}
 
}}
 
}}
</pre></noinclude><table class="infobox" style="background:#eee;border:silver;float:right;clear:right">
+
</pre></noinclude>{{#ifeq:{{#this:depth}}|1|
{{infoboxRow
 
| label  =
 
| name    = image
 
| value  = {{{Image|{{FULLPAGENAME}}.jpg}}}
 
| type    = image
 
}}
 
{{Contact
 
| Name      = {{{Name|{{FULLPAGENAME}}}}}
 
| Street    = {{{Street|}}}
 
| Town      = {{{Town|}}}
 
| Website  = {{{Website|}}}
 
| Email    = {{{Email|}}}
 
| Telephone = {{{Telephone|}}}
 
| Fax      = {{{Fax|}}}
 
| save      = TRUE
 
}}
 
{{#if:{{{Town|}}}
 
| {{infoboxRow
 
  | label =
 
  | name  = Region
 
  | value = {{#sub:{{{Town}}}|0|4}}
 
  | display =
 
  | type  = text
 
  }}
 
}}
 
{{infoboxRow
 
| label = Proprietor
 
| name  = Proprietor
 
| value = {{{Proprietor|}}}
 
| type  = link
 
}}
 
{{infoboxRow
 
| label = Founder
 
| name  = Founder
 
| value = {{{Founder|}}}
 
| type  = link
 
}}
 
{{infoboxRow
 
| label = Managed by
 
| name  = Manager
 
| value = {{{Manager|}}}
 
| type  = link
 
}}
 
{{infoboxRow
 
| label = Organizer
 
| name  = Organizer
 
| value = {{{Organizer|}}}
 
| type  = link
 
}}
 
{{infoboxRow
 
| label = Open
 
| name  =
 
| value = {{{Opening hours|}}}
 
| type  = text
 
}}
 
{{infoboxRow
 
| label = Location
 
| name  = Location
 
| value = {{{Location|}}}
 
| type  = text
 
}}
 
{{{Contacts|}}}
 
</table>
 
*[[Template:Infobox]]
 
*[[Template:InfoboxRow]]
 
*[[Template:Contact]]
 
</noinclude>{{#ifeq:{{#this:depth}}|1|
 
 
<table class="infobox">
 
<table class="infobox">
 
{{infoboxRow
 
{{infoboxRow

Revision as of 17:22, 19 November 2009

Prekopiraj spodnjo strukturo v izvorno kodo članka. Pri Image vpiši samo ime slike.

{{Infobox
| name        =
| image       = 
| street      = 
| town        = 
| website     = 
| email       = 
| telephone   = 
| fax         = 
| founder     =
| proprietor  =
| managed by  = 
| contacts    = {{Contact
  | name        = 
  | role        =
  | street      = 
  | town        = 
  | website     = 
  | email       = 
  | telephone   = 
  | fax         = 
  }}{{Contact
  | name        = 
  | role        =
  | street      = 
  | town        = 
  | website     = 
  | email       = 
  | telephone   = 
  | fax         = 
  }}{{Contact
  | name        = 
  | role        =
  | street      = 
  | town        = 
  | website     = 
  | email       = 
  | telephone   = 
  | fax         = 
  }}
}}