Template:RestaurantandPub: Difference between revisions

From Wikibok
Jump to navigation Jump to search
No edit summary
No edit summary
 
(39 intermediate revisions by the same user not shown)
Line 2: Line 2:
| bodyclass  = vcard
| bodyclass  = vcard
| titleclass = fn org
| titleclass = fn org
| imageclass = logo|image= {{#if: {{{Image1|}}} | [[Image:{{{Image1|}}}|200px]]}}| caption    = {{{caption|}}}
| title      = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}
| imageclass = logo
|image= {{#if: {{{Image1|}}} | [[Image:{{{Image1|}}}|200px]]}}
| caption    = {{{caption|}}}


| label2     = Type of place
| label1     = Type of place
| data2     = {{{type_of_place<includeonly>|</includeonly>}}}
| data1     = {{#if: {{{type_of_place<includeonly>|}}} | {{{type_of_place}}}<includeonly> }}


| label3     = Year visited
| label2     = Year visited
| data3     = {{{year_visited<includeonly>|</includeonly>}}}
| data2     = {{#if: {{{year_visited<includeonly>|}}} | {{{year_visited}}}<includeonly> }}


| label4     = First time
| label3     = First time
| data4     = {{{visited_date<includeonly>|</includeonly>}}}
| data3     = {{#if: {{{visited_date<includeonly>|}}} | {{{visited_date}}}<includeonly> }}


| label5    = Location
| label14    = Location| class14    = {{#if:{{{location|}}}|label|adr}}
| class5    = {{#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}}} }}
| 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
| label6    = Website
| data6      = {{{country<includeonly>|</includeonly>}}}
| data6      = {{#if: {{{homepage<includeonly>|}}} | {{{website}}}<includeonly> }}


| label7    = Area served
| label7    = Year 2
| data7      = {{{area_served<includeonly>|</includeonly>}}}
| data7      = {{#if: {{{year2<includeonly>|}}} | {{{year2}}}<includeonly> }}


| label8    = Production output
| label8    = Year 3
| data8      = {{{production<includeonly>|</includeonly>}}}
| data18    = {{#if: {{{year3<includeonly>|}}} | {{{year3}}}<includeonly> }}


| label9    = Owner(s)
| label9    = Year 4
| data9      = {{{owner<includeonly>|</includeonly>}}}
| data9      = {{#if: {{{year4<includeonly>|}}} | {{{year4}}}<includeonly> }}


| label10    = Employees
| label10    = Year 5
| data10    = {{{num_employees<includeonly>|</includeonly>}}}
| data10    = {{#if: {{{year5<includeonly>|}}} | {{{year5}}}<includeonly> }}


| label11    = Parent
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  
| data11    = {{{parent<includeonly>|</includeonly>}}}


| label12    = Website
| data12    = {{{homepage<includeonly>|{{{website|}}}</includeonly>}}}


| label13    = Year 2
| data13    = {{{year2<includeonly>|</includeonly>}}}


| label14    = Year 3
{{#if: {{{year_visited|}}} | [[Category:{{{year_visited|}}}]]}}
| data14    = {{{year3<includeonly>|</includeonly>}}}
 
| label15    = Year 4
| data15    = {{{year4<includeonly>|</includeonly>}}}
 
| label16    = Year 5
| data16    = {{{year5<includeonly>|</includeonly>}}}
 
| label9    = Sweet
| data1      = {{{sweet<includeonly>|</includeonly>}}}
 
 
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}
}}
 
{{#if: {{{year_visited|}}}  
 
 
| [[Category:{{{year_visited}}}]]}}
{{#if: {{{year2|}}} | [[Category:{{{year2|}}}]]}}
{{#if: {{{year2|}}} | [[Category:{{{year2|}}}]]}}
{{#if: {{{year3|}}} | [[Category:{{{year3|}}}]]}}
{{#if: {{{year3|}}} | [[Category:{{{year3|}}}]]}}
Line 77: Line 55:
{{#if:{{{pub|}}} | [[Category:{{{location_country}}} pubs]]}}
{{#if:{{{pub|}}} | [[Category:{{{location_country}}} pubs]]}}
{{#if:{{{pub|}}} | [[Category:{{{location_city}}} pubs]]}}
{{#if:{{{pub|}}} | [[Category:{{{location_city}}} pubs]]}}
{{#if:{{{sweet|}}} | [[Category:°]]}}






<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> __HIDDENCAT__
<noinclude> __HIDDENCAT__

Latest revision as of 12:56, 29 May 2018

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