Template:RestaurantandPub: Difference between revisions

From Wikibok
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 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<includeonly>|}}} | [[{{{type_of_place}}}]]<includeonly> }}}
| data1      = {{#if: {{{type_of_place<includeonly>|}}} | {{{type_of_place}}}<includeonly> }}


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


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


| label14    = Location| class14    = {{#if:{{{location|}}}|label|adr}}
| 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}}} }}
| 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}}} }}
| label5    = Country
| data5      = {{#if: {{{country<includeonly>|}}} | [[{{{country}}}]]<includeonly> }}}


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


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


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


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


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


| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  
| below      = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|'''References:''' {{{footnotes}}} }}}}  
}}




Line 59: 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}}}