Difference between revisions of "Template:Infobox blueprint"

From Underrail Wiki
Jump to navigation Jump to search
(attempt at layout improvement)
(removed garbage)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
+
#REDIRECT [[Template:Infobox item]]
{| style={{Infobox common style}}
 
|-
 
| rowspan="3" width="50px" height="50px" align="center" valign="center" style="color:white;" |[[File:items_devices_blueprint.png|full|Blueprint|link=]]
 
 
 
|- <!-- 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:yellow;" colspan="2" |Blueprint
 
 
 
|-
 
| style="color:gray;" colspan="3" |{{{description|(blueprint's description)}}}
 
 
 
|-
 
| style="color:green;" colspan="3" |Use: Download blueprint into your wristpad.
 
 
 
|-
 
| style="color:yellow;" colspan="3" |Value: {{{value|(blueprint's value)}}}
 
 
 
 
 
-----
 
 
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
 
|-
 
| colspan="3" |{{{description2|(crafting recipe's description)}}}
 
 
 
|- align="center" valign="top"
 
| width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" |'''{{{component1|(first component)}}}'''
 
<!--
 
 
 
box for 2nd component
 
-->{{#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)}}}'''
 
|}}
 
|} <!-- close mandatory component table -->
 
 
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
 
|- align="center" valign="top"
 
<!--
 
 
 
 
 
optional component 1
 
-->{{#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>
 
|}}
 
<!--
 
 
 
 
 
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.
 
<!--
 
 
 
optional difficulty mod 2
 
-->{{#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>
 
|}}
 
<!--
 
 
 
 
 
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.
 
<!--
 
 
 
optional difficulty mod 3
 
-->{{#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 -->
 
|}<!-- and the whole infobox --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 

Latest revision as of 20:18, 28 October 2014