Template:RestaurantandPub: Difference between revisions

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


| label1    = Type
| label1    = Type of place
| class1    = category
| data1      = {{#if: {{{type_of_place<includeonly>|}}} | {{{type_of_place}}}<includeonly> }}
| data1      = {{{type<includeonly>|{{{company_type|}}}</includeonly>}}}


| label2   = What place is this
| label2     = Year visited
| class2    = {{#if:{{{restaurant|}}}|Yes|Restaurant|}}
| data2     = {{#if: {{{year_visited<includeonly>|}}} | {{{year_visited}}}<includeonly> }}
| 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}}} }}


| label3   = Year visited
| label3     = First time
| data3     = {{{year_visited<includeonly>|</includeonly>}}}
| data3     = {{#if: {{{visited_date<includeonly>|}}} | {{{visited_date}}}<includeonly> }}


| label4   = First time
| label14   = Location| class14    = {{#if:{{{location|}}}|label|adr}}
| data4     = {{{first_time<includeonly>|</includeonly>}}}
| 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> }}


| label5    = Location
| label7    = Year 2
| class5    = {{#if:{{{location|}}}|label|adr}}
| data7      = {{#if: {{{year2<includeonly>|}}} | {{{year2}}}<includeonly> }}
| 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
| label8    = Year 3
| data6     = {{{country<includeonly>|</includeonly>}}}
| data18     = {{#if: {{{year3<includeonly>|}}} | {{{year3}}}<includeonly> }}


| label7    = Area served
| label9    = Year 4
| data7    = {{{area_served<includeonly>|</includeonly>}}}
| data9      = {{#if: {{{year4<includeonly>|}}} | {{{year4}}}<includeonly> }}


| label8   = Production output
| label10   = Year 5
| data8     = {{{production<includeonly>|</includeonly>}}}
| data10     = {{#if: {{{year5<includeonly>|}}} | {{{year5}}}<includeonly> }}


| label9    = Owner(s)
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  
| 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: {{{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_country|}}} | [[Category:{{{location_country}}}]]}}
{{#if: {{{location_city|}}} | [[Category:{{{location_city}}}]]}}
{{#if: {{{location_city|}}} | [[Category:{{{location_city}}}]]}}
Line 65: Line 58:




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

Latest revision as of 12:56, 29 May 2018

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