Anonymous

Template:RestaurantandPub: Difference between revisions

From Wikibok
no edit summary
(Created page with "{{infobox| bodyclass = vcard| titleclass = fn org| title = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }} | imageclass = logo|image= {{#if: {{{Image1|}}} | Ima...")
 
No edit summary
Line 1: Line 1:
{{infobox| bodyclass  = vcard| titleclass = fn org| title      = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }} | imageclass = logo|image= {{#if: {{{Image1|}}} | [[Image:{{{Image1|}}}|200px]]}}| caption    = {{{caption|}}}| label1    = Type| class1    = category| data1      = {{{type<includeonly>|{{{company_type|}}}</includeonly>}}}
{{infobox
| bodyclass  = vcard
| titleclass = fn org
| title      = {{ifempty| {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}  
| imageclass = logo|image= {{#if: {{{Image1|}}} | [[Image:{{{Image1|}}}|200px]]}}| caption    = {{{caption|}}}
 
| label1    = Type
| class1    = category
| data1      = {{{type<includeonly>|{{{company_type|}}}</includeonly>}}}
 
| label2    = Type of place
| label2    = Type of place
| class2    = {{#if:{{{restaurant|}}}|label|adr}}| 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}}} }}
| class2    = {{#if:{{{restaurant|}}}|label|adr}}| 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| data3    = {{{year_visited<includeonly>|</includeonly>}}}| label4    = First time| data4    = {{{first_time<includeonly>|</includeonly>}}}| label5    = Location
| label3    = Year visited
| class5    = {{#if:{{{location|}}}|label|adr}}| 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| data6    = {{{country<includeonly>|</includeonly>}}}| label7    = Area served| data7    = {{{area_served<includeonly>|</includeonly>}}}| label8    = Production output| data8    = {{{production<includeonly>|</includeonly>}}}| label9    = Owner(s)| 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: {{{location_country|}}} | [[Category:{{{location_country}}}]]}}{{#if: {{{location_country|}}} | [[Category:{{{location_country}}} pubs]]}}{{#if: {{{location_city|}}} | [[Category:{{{location_city}}}]]}}[[Category:Pub]]{{#if: {{{location_city|}}} | [[Category:{{{location_city}}} pubs]]}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> __HIDDENCAT__
| data3    = {{{year_visited<includeonly>|</includeonly>}}}
 
| label4    = First time
| data4    = {{{first_time<includeonly>|</includeonly>}}}
 
 
| label5    = Location
| class5    = {{#if:{{{location|}}}|label|adr}}
| 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
| data6    = {{{country<includeonly>|</includeonly>}}}
 
| label7    = Area served
| data7    = {{{area_served<includeonly>|</includeonly>}}}
 
| label8    = Production output
| data8    = {{{production<includeonly>|</includeonly>}}}
 
| label9    = Owner(s)
| 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: {{{location_country|}}} | [[Category:{{{location_country}}}]]}}
{{#if: {{{location_city|}}} | [[Category:{{{location_city}}}]]}}
{{#if:{{{restaurant|}}} | [[Category:Restaurant]]}}
{{#if:{{{restaurant|}}} | [[Category:{{{location_country}}} restaurant]]}}
{{#if:{{{restaurant|}}} | [[Category:{{{location_city}}} restaurant]]}}
 
{{#if:{{{pub|}}} | [[Category:Pub]]}}
 
{{#if:{{{pub|}}} | [[Category:{{{location_country}}} pub]]}}
{{#if:{{{pub|}}} | [[Category:{{{location_city}}} pub]]}}
 
 
 
 
 
<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> __HIDDENCAT__
Bureaucrats, developer, smwadministrator, Administrators
10,677

edits