Difference between revisions of "Template:Infobox föremål"

From Bryggeriklubben
Jump to navigation Jump to search
 
(76 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|}}}]]}}
 
| caption    = {{{image_caption|}}}
 
  
 
| label1      = Bryggeri
 
| label1      = Bryggeri
| data1      = {{{bryggeri|}}}
+
| data1      = {{#if: {{{bryggeri|}}} | [[{{{bryggeri}}}]] }}
 
| class1      = fn
 
| class1      = fn
  
Line 25: Line 19:
  
 
| label5      = Storlek
 
| label5      = Storlek
| data5      = {{#if: {{{storlek|}}} | [[{{{storlek}}}]] }}
+
| data5      = {{#if: {{{storlek|}}} | {{{storlek}}} mm }}
  
 
| label6      = Material
 
| label6      = Material
| data6      = {{#if: {{{material|[[Category:Material]]}}} | [[Category:Material]] }}
+
| data6      = {{#if: {{{material|}}} | {{{material|}}} }}
  
 
| label7      = År
 
| label7      = År
 
| data7      = {{#if: {{{år|}}} | [[{{{år}}}]] }}
 
| data7      = {{#if: {{{år|}}} | [[{{{år}}}]] }}
  
| label8      = label8
+
| label8      = extra1
| data8      = {{#if: {{{label8|}}} | [[{{{label8}}}]] }}
+
| data8      = {{#if: {{{extra1|}}} | {{{extra1}}} }}
  
| label9      = label9
+
| label9      = extra2
| data9      = {{{label9|}}}
+
| data9      = {{#if: {{{extra2|}}} | {{{extra2}}} }}
  
| label10    = label10
+
| label10    = extra3
| data10      = {{{label10|}}}
+
| data10      = {{#if: {{{extra3|}}} | {{{extra3}}} }}
  
 
| label11    = label11
 
| label11    = label11
Line 173: Line 167:
 
|label62      = Spouse
 
|label62      = Spouse
 
|data62      = {{#if: {{{spouse|}}} | [[{{{spouse|}}}]] }}
 
|data62      = {{#if: {{{spouse|}}} | [[{{{spouse|}}}]] }}
 +
}}
 +
<font color="white" font-size:0%">.</font></div>
 +
{{#if:{{{image1|}}}|[[File:{{{image1|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}} {{#if:{{{image2|}}}|[[File:{{{image2|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}}
  
| label70    = How we met
+
{{#if:{{{image3|}}}|[[File:{{{image3|}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]}}
| data70      = {{{howwemet|}}}
 
  
| label71    = When we met it was
 
| data71      = {{{whenwemet|}}}
 
  
| label72    = Where we met
+
{| cellpadding="2" style="width: 50%; border:none; align: center; 1px solid darkgray; text-align: center;" |- border="0"
| data72      = {{{wherewemet|}}}
+
|- align="center"
 
+
| {{#ifeq: {{{spouse|}}} | Bo | [[Image:YFFO1290-orange.JPG|108px | link=The Philippines|Ongoing]]}}
| 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|}}}
 
</td></tr>
 
</table>
 
}}
 
  
{{#formredlink:target={{{Relatives|}}}|form=Relatives}}
 
}}
 
<noinclude></noinclude>
 
  
{{#if: {{{first_met|}}} | [[Category:{{{first_met}}}]]}}
 
  
 +
{{#ifeq: {{{land|}}} | Sverige | [[Category:Svenska {{{föremål|}}}]]}}
  
 +
{{#if: {{{bryggeri|}}} | [[Category:{{{bryggeri|}}} {{{föremål|}}}]]}}
  
 +
{{#if: {{{år|}}} | [[Category:{{{år|}}}]]}}
  
{| cellpadding="2" style="width: 50%; border:none; align: center; 1px solid darkgray; text-align: center;" |- border="0"
+
{{#if: {{{varumärke|}}} | [[Category:{{{varumärke|}}}]]}}
|- align="center"
 
| {{#ifeq: {{{spouse|}}} | Bo | [[Image:YFFO1290-orange.JPG|108px | link=The Philippines|Ongoing]]}}
 
|}
 

Latest revision as of 22:26, 9 May 2020

.