Template:RestaurantandPub: Difference between revisions

From Wikibok
Jump to navigation Jump to search
No edit summary
No edit summary
 
(31 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|}}}


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


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


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


| label4    = Location
| label14    = Location| class14    = {{#if:{{{location|}}}|label|adr}}
| class4    = {{#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}}} }}
| data4      = {{#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}}} }}


| label5     = Country
| label6     = Website
| data5     = {{{country<includeonly>|</includeonly>}}}
| data6     = {{#if: {{{homepage<includeonly>|}}} | {{{website}}}<includeonly> }}


| label6    = Website
| label7    = Year 2
| data6    = {{{homepage<includeonly>|{{{website|}}}</includeonly>}}}
| data7      = {{#if: {{{year2<includeonly>|}}} | {{{year2}}}<includeonly> }}


| label7    = Year 2
| label8    = Year 3
| data7     = {{{year2<includeonly>|</includeonly>}}}
| data18     = {{#if: {{{year3<includeonly>|}}} | {{{year3}}}<includeonly> }}


| label8    = Year 3
| label9    = Year 4
| data18    = {{{year3<includeonly>|</includeonly>}}}
| data9      = {{#if: {{{year4<includeonly>|}}} | {{{year4}}}<includeonly> }}
 
| label9    = Year 4
| data9    = {{{year4<includeonly>|</includeonly>}}}


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


| label11    = Sweet
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  
| data11    = {{{sweet<includeonly>|</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: {{{year2|}}} | [[Category:{{{year2|}}}]]}}
{{#if: {{{year3|}}} | [[Category:{{{year3|}}}]]}}
{{#if: {{{year3|}}} | [[Category:{{{year3|}}}]]}}
Line 60: 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}}}