Difference between revisions of "Template:Infobox blueprint"

From Underrail Wiki
Jump to navigation Jump to search
m
(attempt at layout improvement)
Line 5: Line 5:
  
 
|- <!-- color of item name is quality-dependent -->
 
|- <!-- color of item name is quality-dependent -->
| style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" |{{{name|blueprint's name}}}
+
| style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" |{{{name|(blueprint's name)}}}
  
 
|-
 
|-
Line 11: Line 11:
  
 
|-
 
|-
| style="color:gray;" colspan="3" |{{{description|blueprint's description}}}
+
| style="color:gray;" colspan="3" |{{{description|(blueprint's description)}}}
  
 
|-
 
|-
Line 17: Line 17:
  
 
|-
 
|-
| style="color:yellow;" colspan="3" |Value: {{{value|blueprint's value}}}
+
| style="color:yellow;" colspan="3" |Value: {{{value|(blueprint's value)}}}
  
  
Line 24: Line 24:
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
 
|-
 
|-
| colspan="3" |{{{description2|crafting recipe's description}}}
+
| colspan="3" |{{{description2|(crafting recipe's description)}}}
  
|- align="left" valign="top"
+
|- align="center" valign="top"
| width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" |'''{{{component1|First component}}}'''
+
| width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" |'''{{{component1|(first component)}}}'''
 +
<!--
  
{{#if:{{{component2|}}}
+
box for 2nd component
|{{!}} width="34%" style="padding:15px; border:2px solid #808080; border-radius:1em;" {{!}}'''{{{component2|Second component (optional)}}}'''
+
-->{{#if:{{{component2|}}}|
 +
{{!}} width="34%" style="padding:15px; border:2px solid #808080; border-radius:1em;" {{!}}'''{{{component2|(second component)}}}'''
 +
|}}<!--
 +
 
 +
new row if there are 4 components
 +
-->{{#if:{{{component4|}}}|
 +
{{!}}- align="left" valign="top"
 +
|}}<!--
 +
 
 +
box for 3rd component
 +
-->{{#if:{{{component3|}}}|
 +
{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" {{!}}'''{{{component3|(third component)}}}'''
 +
|}}<!--
 +
 
 +
box for 4th component
 +
-->{{#if:{{{component4|}}}|
 +
{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" {{!}}'''{{{component4|(fourth component)}}}'''
 
|}}
 
|}}
{{#if:{{{component4|}}}|{{!}}- align="left" valign="top"|}}
+
|} <!-- close mandatory component table -->
{{#if:{{{component3|}}}
+
 
|{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" {{!}}'''{{{component3|Third component (optional)}}}'''
 
|}}
 
{{#if:{{{component4|}}}
 
|{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" {{!}}'''{{{component4|Fourth component (optional)}}}'''
 
|}}
 
|}
 
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
|- align="left" valign="top"
+
|- align="center" valign="top"
{{#if:{{{optional1|}}}
+
<!--
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" {{!}}'''{{{optional1|Optional component 1}}}'''
+
 
<font color="gray">Optional.
 
  
{{#if:{{{diffmod1|}}}
+
optional component 1
|Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white">{{{diffmod1|n%}}}</font> of the occupying item's requirements.|}}</font>
+
-->{{#if:{{{optional1|}}}
 +
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" {{!}}'''{{{optional1|(first optional)}}}'''
 +
<div style="text-align:left;"><font size="1" color="gray">Optional.
 +
<!--
 +
 
 +
optional difficulty mod 1
 +
-->{{#if:{{{diffmod1|}}}
 +
  |Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white">{{{diffmod1|}}}</font> of the occupying item's requirements.
 +
  |}}</font></div>
 
|}}
 
|}}
{{#if:{{{optional2|}}}
+
<!--
|{{!}} width="34%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" {{!}}'''{{{optional2|Optional component 2}}}'''
+
 
<font color="gray">Optional.
+
 
 +
optional component 2
 +
-->{{#if:{{{optional2|}}}
 +
|{{!}} width="34%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" {{!}}'''{{{optional2|(second optional)}}}'''
 +
<div style="text-align:left;"><font size="1" color="gray">Optional.
 +
<!--
  
{{#if:{{{diffmod2|}}}
+
optional difficulty mod 2
|Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white">{{{diffmod2|n%}}}</font> of the occupying item's requirements.|}}</font>
+
-->{{#if:{{{diffmod2|}}}
 +
  |Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white">{{{diffmod2|}}}</font> of the occupying item's requirements.
 +
  |}}</font></div>
 
|}}
 
|}}
{{#if:{{{optional3|}}}
+
<!--
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" {{!}}'''{{{optional3|Optional component 3}}}'''
+
 
<font color="gray">Optional.
+
 
 +
optional component 3
 +
-->{{#if:{{{optional3|}}}
 +
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" {{!}}'''{{{optional3|(third optional)}}}'''
 +
<div style="text-align:left;"><font size="1" color="gray">Optional.
 +
<!--
  
{{#if:{{{diffmod3|}}}
+
optional difficulty mod 3
|Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white">{{{diffmod3|n%}}}</font> of the occupying item's requirements.|}}</font>
+
-->{{#if:{{{diffmod3|}}}
 +
  |Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white">{{{diffmod3|}}}</font> of the occupying item's requirements.
 +
  |}}</font></div>
 
|}}
 
|}}
|}
+
|}<!-- close optional component table -->
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
+
|}<!-- and the whole infobox --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude>

Revision as of 07:54, 2 August 2013

Blueprint
(blueprint's name)
Blueprint
(blueprint's description)
Use: Download blueprint into your wristpad.
Value: (blueprint's value)



(crafting recipe's description)
(first component)


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_blueprint/doc to view this documentation. (edit) (How does this work?)

Template:Infobox blueprint/doc