Difference between revisions of "Template:Infobox"

From Culture.si
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
<noinclude>Prekopiraj spodnjo strukturo v izvorno kodo članka.  Pri '''Image''' vpiši samo ime slike.<pre>
 +
{{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        =
 +
  }}
 +
}}
 +
</pre></noinclude><table class="infobox" style="background:#eee;border:silver;float:right;clear:right">
 +
{{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:Infobox]]
 
*[[Template:InfoboxRow]]
 
*[[Template:InfoboxRow]]

Revision as of 16:35, 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         = 
  }}
}}