Difference between revisions of "Template:Infobox"
Line 1: | Line 1: | ||
− | {{#ifeq:{{#this:depth}}|1| | + | <noinclude> |
− | < | + | *[[Template:Infobox]] |
− | + | *[[Template:InfoboxRow]] | |
− | + | *[[Template:Contact]] | |
− | + | </noinclude>{{#ifeq:{{#this:depth}}|1| | |
− | + | <table class="infobox"> | |
− | + | {{infoboxRow2 | |
− | + | | label = | |
− | + | | name = image | |
− | + | | value = {{{Image|{{FULLPAGENAME}}.jpg}}} | |
− | + | | type = image | |
}} | }} | ||
− | </ | + | {{Contact2 |
+ | | Name = {{{Name|{{FULLPAGENAME}}}}} | ||
+ | | Street = {{{Street|}}} | ||
+ | | Town = {{{Town|}}} | ||
+ | | Website = {{{Website|}}} | ||
+ | | Email = {{{Email|}}} | ||
+ | | Telephone = {{{Telephone|}}} | ||
+ | | Fax = {{{Fax|}}} | ||
+ | | save = TRUE | ||
+ | }} | ||
+ | {{#if:{{{Town|}}} | ||
+ | | {{infoboxRow2 | ||
+ | | label = | ||
+ | | name = Region | ||
+ | | value = {{#sub:{{{Town}}}|0|4}} | ||
+ | | display = | ||
+ | | type = text | ||
+ | }} | ||
+ | }} | ||
+ | {{infoboxRow2 | ||
+ | | label = Proprietor | ||
+ | | name = Proprietor | ||
+ | | value = {{{Proprietor|}}} | ||
+ | | type = link | ||
+ | }} | ||
+ | {{infoboxRow2 | ||
+ | | label = Founder | ||
+ | | name = Founder | ||
+ | | value = {{{Founder|}}} | ||
+ | | type = link | ||
+ | }} | ||
+ | {{infoboxRow2 | ||
+ | | label = Manager | ||
+ | | name = Manager | ||
+ | | value = {{{Manager|}}} | ||
+ | | type = link | ||
+ | }} | ||
+ | {{infoboxRow2 | ||
+ | | label = Organizer | ||
+ | | name = Organizer | ||
+ | | value = {{{Organizer|}}} | ||
+ | | type = link | ||
+ | }} | ||
+ | {{infoboxRow2 | ||
+ | | label = Open | ||
+ | | name = | ||
+ | | value = {{{Opening hours|}}} | ||
+ | | type = text | ||
+ | }} | ||
+ | {{infoboxRow2 | ||
+ | | label = Location | ||
+ | | name = Location | ||
+ | | value = {{{Location|}}} | ||
+ | | type = text | ||
+ | }} | ||
+ | {{{Contacts|}}} | ||
+ | </table> | ||
}} | }} |