Open main menu

Difference between revisions of "Template:Infobox bryggeri"

(Created page with "{{Infobox | bodyclass = vcard | bodystyle = {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}} {{#if:{{{width|}}}|width: {{{width}}};}} {{#if:{{{tablecolor|}}}|background-co...")
 
 
(71 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}}}
 
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}}}
 
| abovestyle  = {{#if:{{{color|}}}|background-color: {{{color}}}}}
 
| abovestyle  = {{#if:{{{color|}}}|background-color: {{{color}}}}}
 
| title      = <includeonly>{{#if:{{{color|}}}||{{{title|{{BASEPAGENAME}}}}} {{#if:{{{status|}}}|<br /><small>{{{status}}}</small>}}}}</includeonly>
 
| above      = {{#if:{{{color|}}}|{{{title|{{BASEPAGENAME}}}}} {{#if:{{{status|}}}|<br /><small>{{{status}}}</small>}}}}
 
  
 
| image      = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}}
 
| image      = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}}
Line 12: Line 9:
  
 
| label1      = Namn
 
| label1      = Namn
| data1      = {{{namn|}}}
+
| data1      = {{#if: {{{namn|}}} | [[{{{namn}}}]] }}
 
| class1      = fn
 
| class1      = fn
  
Line 19: Line 16:
  
 
| label3      = Landskap
 
| label3      = Landskap
| data3      = {{{landskap|}}}
+
| data3      = {{#if: {{{landskap|}}} | [[{{{landskap}}}]] }}
  
 
| label4      = Ort
 
| label4      = Ort
Line 25: Line 22:
  
 
| label5      = Öppningsår
 
| label5      = Öppningsår
| data5      = {{#if: {{{öppningsår|}}} | [[{{{öppningsår}}}]] }}
+
| data5      = {{#if: {{{öppningsår|}}} | {{{öppningsår}}} }}
  
 
| label6      = Stängningår
 
| label6      = Stängningår
| data6      = {{#if: {{{stängningår|}}} | [[{{{stängningår}}}]] }}
+
| data6      = {{#if: {{{stängningår|}}} | {{{stängningår}}} }}
  
| label7      = label7
+
| label7      = Website
| data7      = {{#if: {{{label7|}}} | [[{{{label7}}}]] }}
+
| data7      = {{{website<includeonly>|</includeonly>}}}
  
| label8      = label8
+
| label8      = Info
| data8      = {{#if: {{{label8|}}} | [[{{{label8}}}]] }}
+
| data8      = {{#if: {{{info|}}} | [[{{{info}}}]] }}
  
 
| label9      = label9
 
| label9      = label9
Line 173: Line 170:
 
|label62      = Spouse
 
|label62      = Spouse
 
|data62      = {{#if: {{{spouse|}}} | [[{{{spouse|}}}]] }}
 
|data62      = {{#if: {{{spouse|}}} | [[{{{spouse|}}}]] }}
 +
}}
  
| label70    = How we met
+
{{#if:{{{image1|}}}|[[File:{{{image1|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}} {{#if:{{{image2|}}}|[[File:{{{image2|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}}
| data70      = {{{howwemet|}}}
 
 
 
| label71    = When we met it was
 
| data71      = {{{whenwemet|}}}
 
 
 
| label72    = Where we met
 
| data72      = {{{wherewemet|}}}
 
 
 
| header73    = {{#if:{{{subpages|}}}|[[Special:Prefixindex/User:{{BASEPAGENAMEE}}|{{BASEPAGENAME}} subpages]]}}
 
 
 
| data74      = {{#if:{{{subpages|}}}|<div style="text-align: left">
 
{{{subpages|}}}
 
</div>}}
 
 
 
|label75      = Year we met
 
|data75      = {{{yearwemet|}}}
 
 
 
| header76    = {{#if:{{{userboxes|}}}|Userboxes}}
 
 
 
| data77      = {{#if:{{{userboxes|}}}|
 
 
 
<table cellspacing=0 cellpadding=0 style="background: transparent; vertical-align: middle !important; text-align: center; font-size: 95%; color: {{{fontcolor|black}}}; margin: auto">
 
<tr><td>
 
  
{{{userboxes|}}}
+
{{#if:{{{image3|}}}|[[File:{{{image3|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}}
</td></tr>
 
</table>
 
}}
 
  
{{#formredlink:target={{{Relatives|}}}|form=Relatives}}
+
{{#ifexist: Category:{{{namn|}}} Backar | [[:Category:{{{namn|}}} Backar|Backar]] | }}
}}
 
<noinclude></noinclude>
 
  
{{#if: {{{first_met|}}} | [[Category:{{{first_met}}}]]}}
+
{{#ifexist: Category:{{{namn|}}} Underlägg | [[:Category:{{{namn|}}} Underlägg|Underlägg]] | }}
  
 +
{{#ifeq: {{{land|}}} | Sverige | [[Category:Svenska bryggerier]]}}
  
 +
{{#ifeq: {{{stängningår|}}} |  | [[Category:{{#ifeq: {{{land|}}} | Sverige | Svenska}} aktiva bryggerier]]}}
  
 +
{{#if: {{{stängningår|}}} | [[Category:{{#ifeq: {{{land|}}} | Sverige | Svenska}} nedlagda bryggerier]]}}
  
{| cellpadding="2" style="width: 50%; border:none; align: center; 1px solid darkgray; text-align: center;" |- border="0"
+
{{#if: {{{landskap|}}} | [[Category:Bryggerier i {{{landskap|}}}]]}}
|- align="center"
 
| {{#ifeq: {{{spouse|}}} | Bo | [[Image:YFFO1290-orange.JPG|108px | link=The Philippines|Ongoing]]}}
 
|}
 

Latest revision as of 17:36, 12 May 2020

Website {{{website}}}