Actions

User

Difference between revisions of "Carticket/Infobox Test"

From Unofficial Stationeers Wiki

< User:Carticket
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 
| aboveclass = fn ingredient
 
| aboveclass = fn ingredient
<!-- | image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}} }}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}} -->
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
 +
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 +
<!-- | image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}} }}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}} -->
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
| abovestyle = background-color: #102c59
+
| abovestyle = background-color: #fc640b
 +
| headerstyle = background-color: #183d62
 +
| datastyle  = text-align:right
  
 
| label1    = Machine
 
| label1    = Machine
Line 16: Line 20:
 
| data4      = {{{pressure|}}}
 
| data4      = {{{pressure|}}}
 
| label5    = Temperature
 
| label5    = Temperature
| data5      = {{{temperature|}}}
+
| data5      = {{ #if: {{{temperature|}}} | {{{temperature}}} kPa }}
| header6    = {{#if:{{{Parameter iron|}}}{{{Parameter copper|}}}{{{Parameter silicon|}}}{{{Parameter gold|}}}{{{Parameter silver|}}}{{{Parameter lead|}}}{{{Parameter nickel|}}}{{{Parameter carbon|}}}{{{Parameter hydrocarbon|}}}{{{Parameter steel|}}}{{{Parameter electrum|}}}{{{Parameter invar|}}}{{{Parameter constantan|}}}{{{Parameter solder|}}}{{{Parameter egg|}}}{{{Parameter flour|}}}{{{Parameter milk|}}}|Ingredients}}
+
| header6    = {{#if:{{{iron|}}}{{{copper|}}}{{{silicon|}}}{{{gold|}}}{{{silver|}}}{{{lead|}}}{{{nickel|}}}{{{carbon|}}}{{{hydrocarbon|}}}{{{steel|}}}{{{electrum|}}}{{{invar|}}}{{{constantan|}}}{{{solder|}}}{{{egg|}}}{{{flour|}}}{{{milk|}}} | Ingredients }}
| label6     = [[Iron]]
+
<!-- | header6    = Ingredients -->
| data6     = {{{iron|}}}
+
| label7     = [[Iron]]
| label7     = [[Copper]]
+
| data7     = {{ #if: {{{iron|}}} | {{{iron}}} g }}
| data7     = {{{copper|}}}
+
| label8     = [[Copper]]
 +
| data8     = {{ #if: {{{copper|}}} | {{{copper}}} g }}
 
| label9    = [[Silicon]]
 
| label9    = [[Silicon]]
| data9      = {{{silicon|}}}
+
| data9      = {{ #if: {{{silicon|}}} | {{{silicon}}} g }}
 
| label10    = [[Gold]]
 
| label10    = [[Gold]]
| data10    = {{{gold|}}}
+
| data10    = {{ #if: {{{gold|}}} | {{{gold}}} g }}
 
| label11    = [[Silver]]
 
| label11    = [[Silver]]
| data11    = {{{silver|}}}
+
| data11    = {{ #if: {{{silver|}}} | {{{silver}}} g }}
 
| label12    = [[Lead]]
 
| label12    = [[Lead]]
| data12    = {{{lead|}}}
+
| data12    = {{ #if: {{{lead|}}} | {{{lead}}} g }}
 
| label13    = [[Nickel]]
 
| label13    = [[Nickel]]
| data13    = {{{nickel|}}}
+
| data13    = {{ #if: {{{nickel|}}} | {{{nickel}}} g }}
 
| label14    = [[Carbon]]
 
| label14    = [[Carbon]]
| data14    = {{{carbon|}}}
+
| data14    = {{ #if: {{{carbon|}}} | {{{carbon}}} g }}
 
| label15    = [[Hydrocarbon]]
 
| label15    = [[Hydrocarbon]]
| data15    = {{{hydrocarbon|}}}
+
| data15    = {{ #if: {{{hydrocarbon|}}} | {{{hydrocarbon}}} g }}
 
| label16    = [[Steel]]
 
| label16    = [[Steel]]
| data16    = {{{steel|}}}
+
| data16    = {{ #if: {{{steel|}}} | {{{steel}}} g }}
 
| label17    = [[Electrum]]
 
| label17    = [[Electrum]]
| data17    = {{{electrum|}}}
+
| data17    = {{ #if: {{{electrum|}}} | {{{electrum}}} g }}
 
| label18    = [[Invar]]
 
| label18    = [[Invar]]
| data18    = {{{invar|}}}
+
| data18    = {{ #if: {{{invar|}}} | {{{invar}}} g }}
 
| label19    = [[Constantan]]
 
| label19    = [[Constantan]]
| data19    = {{{constantan|}}}
+
| data19    = {{ #if: {{{constantan|}}} | {{{constantan}}} g }}
 
| label20    = [[Solder]]
 
| label20    = [[Solder]]
| data20    = {{{Solder|}}}
+
| data20    = {{ #if: {{{solder|}}} | {{{solder}}} g }}
 
| label21    = [[Egg]]
 
| label21    = [[Egg]]
| data21    = {{{egg|}}}
+
| data21    = {{ #if: {{{egg|}}} | {{{egg}}} g }}
 
| label22    = [[Flour]]
 
| label22    = [[Flour]]
| data22    = {{{flour|}}}
+
| data22    = {{ #if: {{{flour|}}} | {{{flour}}} g }}
 
| label23    = [[Milk]]
 
| label23    = [[Milk]]
| data23    = {{{milk|}}}
+
| data23    = {{ #if: {{{milk|}}} | {{{milk}}} g }}
 
<!-- | below = {{#if:{{#invoke:Wikidata|getValue|P373|{{{commons|FETCH_WIKIDATA}}} }}
 
<!-- | below = {{#if:{{#invoke:Wikidata|getValue|P373|{{{commons|FETCH_WIKIDATA}}} }}
 
| {{icon|Commons}} [[Commons:{{#if:{{{commons|}}} | {{{commons}}} | Category:{{#invoke:Wikidata|getValue|P373|FETCH_WIKIDATA}} }} |Related media on Wikimedia Commons]]}} -->
 
| {{icon|Commons}} [[Commons:{{#if:{{{commons|}}} | {{{commons}}} | Category:{{#invoke:Wikidata|getValue|P373|FETCH_WIKIDATA}} }} |Related media on Wikimedia Commons]]}} -->
 
}}
 
}}
 
<noinclude>{{documentation}}<!-- Please add categories and interwiki links to /doc subpage, not here! --></noinclude>
 
<noinclude>{{documentation}}<!-- Please add categories and interwiki links to /doc subpage, not here! --></noinclude>

Latest revision as of 20:27, 19 December 2017

Documentation[create]