Template:RestaurantandPub: Difference between revisions

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


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


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


| label3    = First time
| label3    = First time
| data3      = {{#if: {{{visited_date|}}} | [[{{{visited_date}}}]] }}
| 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|}}} | [[{{{location_city}}}]], [[{{{location_country}}}]] }}
 
| label5    = Country
| data5      = {{#if: {{{country|}}} | [[{{{country}}}]] }}


| label6    = Website
| label6    = Website
| data6      = {{#if: {{{homepage|}}} | {{{website}}} }}
| data6      = {{#if: {{{homepage<includeonly>|}}} | {{{website}}}<includeonly> }}


| label7    = Year 2
| label7    = Year 2
| data7      = {{#if: {{{year2|}}} | [[{{{year2}}}]] }}
| data7      = {{#if: {{{year2<includeonly>|}}} | {{{year2}}}<includeonly> }}


| label8    = Year 3
| label8    = Year 3
| data18    = {{#if: {{{year3|}}} | [[{{{year3}}}]] }}
| data18    = {{#if: {{{year3<includeonly>|}}} | {{{year3}}}<includeonly> }}


| label9    = Year 4
| label9    = Year 4
| data9      = {{#if: {{{year4|}}} | [[{{{year4}}}]] }}
| data9      = {{#if: {{{year4<includeonly>|}}} | {{{year4}}}<includeonly> }}


| label10    = Year 5
| label10    = Year 5
| data10    = {{#if: {{{year5|}}} | [[{{{year5}}}]] }}
| data10    = {{#if: {{{year5<includeonly>|}}} | {{{year5}}}<includeonly> }}
}}
 
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  




Line 57: 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]]}}




<noinclude> __HIDDENCAT__
<noinclude> __HIDDENCAT__

Latest revision as of 12:56, 29 May 2018

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