Template:RestaurantandPub: Difference between revisions

From Wikibok
Jump to navigation Jump to search
(Created page with "{{infobox| bodyclass = vcard| titleclass = fn org| title = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }} | imageclass = logo|image= {{#if: {{{Image1|}}} | Ima...")
 
No edit summary
 
(68 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox| bodyclass  = vcard| titleclass = fn org| title      = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }} | imageclass = logo|image= {{#if: {{{Image1|}}} | [[Image:{{{Image1|}}}|200px]]}}| caption    = {{{caption|}}}| label1    = Type| class1    = category| data1      = {{{type<includeonly>|{{{company_type|}}}</includeonly>}}}
{{infobox
| label2    = Type of place
| bodyclass  = vcard
| class2    = {{#if:{{{restaurant|}}}|label|adr}}| data2    = {{#if: {{{restaurant<includeonly>|</includeonly>}}}|<span class="locality">{{{restaurant}}}</span>{{#if: {{{pub<includeonly>|</includeonly>}}}|,&#32;}}}}{{#if: {{{pub<includeonly>|</includeonly>}}}|<span class="country-name">{{{pub}}}</span>}}{{#if:{{{restaurant|}}}|{{{restaurant}}} }}
| titleclass = fn org
| title      = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}  
| imageclass = logo
|image= {{#if: {{{Image1|}}} | [[Image:{{{Image1|}}}|200px]]}}
| caption    = {{{caption|}}}


| label3    = Year visited| data3    = {{{year_visited<includeonly>|</includeonly>}}}| label4    = First time| data4    = {{{first_time<includeonly>|</includeonly>}}}| label5   = Location
| label1    = Type of place
| class5   = {{#if:{{{location|}}}|label|adr}}| data5     = {{#if: {{{location_city<includeonly>|</includeonly>}}}|<span class="locality">{{{location_city}}}</span>{{#if: {{{location_country<includeonly>|</includeonly>}}}|,&#32;}}}}{{#if: {{{location_country<includeonly>|</includeonly>}}}|<span class="country-name">{{{location_country}}}</span>}}{{#if:{{{location|}}}|{{{location}}} }}| label6   = Country| data6     = {{{country<includeonly>|</includeonly>}}}| label7   = Area served| data7     = {{{area_served<includeonly>|</includeonly>}}}| label8   = Production output| data8     = {{{production<includeonly>|</includeonly>}}}| label9    = Owner(s)| data9    = {{{owner<includeonly>|</includeonly>}}}| label10    = Employees| data10    = {{{num_employees<includeonly>|</includeonly>}}}| label11    = Parent| data11    = {{{parent<includeonly>|</includeonly>}}}| label12   = Website| data12     = {{{homepage<includeonly>|{{{website|}}}</includeonly>}}}| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}{{#if: {{{year_visited|}}} | [[Category:{{{year_visited}}}]]}}{{#if: {{{location_country|}}} | [[Category:{{{location_country}}}]]}}{{#if: {{{location_country|}}} | [[Category:{{{location_country}}} pubs]]}}{{#if: {{{location_city|}}} | [[Category:{{{location_city}}}]]}}[[Category:Pub]]{{#if: {{{location_city|}}} | [[Category:{{{location_city}}} pubs]]}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> __HIDDENCAT__
| data1      = {{#if: {{{type_of_place<includeonly>|}}} | {{{type_of_place}}}<includeonly> }}
 
| label2    = Year visited
| data2      = {{#if: {{{year_visited<includeonly>|}}} | {{{year_visited}}}<includeonly> }}
 
| label3    = First time
| data3      = {{#if: {{{visited_date<includeonly>|}}} | {{{visited_date}}}<includeonly> }}
 
| label14   = Location| class14   = {{#if:{{{location|}}}|label|adr}}
| data14     = {{#if: {{{location_city<includeonly>|</includeonly>}}}|<span class="locality">{{{location_city}}}</span>{{#if: {{{location_country<includeonly>|</includeonly>}}}|,&#32;}}}}{{#if: {{{location_country<includeonly>|</includeonly>}}}|<span class="country-name">{{{location_country}}}</span>}}{{#if:{{{location|}}}|{{{location}}} }}
 
| label6     = Website
| data6     = {{#if: {{{homepage<includeonly>|}}} | {{{website}}}<includeonly> }}
 
| label7     = Year 2
| data7     = {{#if: {{{year2<includeonly>|}}} | {{{year2}}}<includeonly> }}
 
| label8     = Year 3
| data18     = {{#if: {{{year3<includeonly>|}}} | {{{year3}}}<includeonly> }}
 
| label9    = Year 4
| data9      = {{#if: {{{year4<includeonly>|}}} | {{{year4}}}<includeonly> }}
 
| label10   = Year 5
| data10     = {{#if: {{{year5<includeonly>|}}} | {{{year5}}}<includeonly> }}
 
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  
 
 
 
{{#if: {{{year_visited|}}} | [[Category:{{{year_visited|}}}]]}}
{{#if: {{{year2|}}} | [[Category:{{{year2|}}}]]}}
{{#if: {{{year3|}}} | [[Category:{{{year3|}}}]]}}
{{#if: {{{year4|}}} | [[Category:{{{year4|}}}]]}}
{{#if: {{{year5|}}} | [[Category:{{{year5|}}}]]}}
 
{{#if: {{{visited_date|}}} | [[Category:{{{visited_date}}}]]}}
{{#if: {{{location_country|}}} | [[Category:{{{location_country}}}]]}}
{{#if: {{{location_city|}}} | [[Category:{{{location_city}}}]]}}
 
{{#if:{{{restaurant|}}} | [[Category:Restaurant]]}}
{{#if:{{{restaurant|}}} | [[Category:{{{location_country}}} restaurants]]}}
{{#if:{{{restaurant|}}} | [[Category:{{{location_city}}} restaurants]]}}
 
{{#if:{{{pub|}}} | [[Category:Pub]]}}
{{#if:{{{pub|}}} | [[Category:{{{location_country}}} pubs]]}}
{{#if:{{{pub|}}} | [[Category:{{{location_city}}} pubs]]}}
 
 
 
<noinclude> __HIDDENCAT__

Latest revision as of 12:56, 29 May 2018

RestaurantandPub
Type of place {{{location_city}}}, {{{location_country}}}
Website References: {{{footnotes}}}