Difference between revisions of "Template:Infobox blueprint"

From Underrail Wiki
Jump to navigation Jump to search
m
(removed garbage)
 
(4 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;" title="Blueprint icon" |[[File:items_devices_blueprint.png|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;" title="{{#switch: {{{itemquality}}} | low = Quality: Low | normal = Quality: Normal | high = Quality: High | rarity = Quality: Rarity | artifact = Quality: Artifact | No quality specified }}" |{{{name|(blueprint's name)}}}
 
 
 
|-
 
| style="color:yellow;" colspan="2" title="Item type" |Blueprint
 
 
 
|-
 
| style="color:gray;" colspan="3" title="Item description" |{{{description|(blueprint's description)}}}
 
 
 
|-
 
| style="color:green;" colspan="3" title="Item uses" |Use: Download blueprint into your wristpad.
 
 
 
|-
 
| style="color:yellow;" colspan="3" title="Base trading value" |Value: {{{value|(blueprint's value)}}}
 
 
 
|-
 
| colspan="3" |
 
 
 
 
 
<hr style="background-color:#AE5700; height:2px;"><!--
 
 
 
COMPONENT TABLE STARTS HERE.
 
CONTAINS NESTED IFS WITHOUT ANY INDENTATION,
 
BECAUSE MEDIAWIKI MARKUP HATES WHITESPACES
 
-->
 
 
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
 
|-
 
| colspan="3" title="Crafting recipe description" |{{{description2|(crafting recipe's description)}}}
 
 
 
|- align="center" valign="top"
 
| width="{{#if:{{{component4|50%|33%}}}" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="First component" |'''{{{component1|(first component)}}}'''
 
<!--
 
 
 
 
 
box for 2nd component
 
-->{{#if:{{{component2|}}}
 
|{{!}} width="{{#if:{{{component4|50%|33%}}}" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Second component" {{!}}'''{{{component2|(second component)}}}'''
 
<!--
 
 
 
new row if there are 4 components
 
-->{{#if:{{{component4|}}}
 
|{{!}}- align="center" valign="top"
 
|}}
 
<!--
 
 
 
 
 
box for 3rd component
 
-->{{#if:{{{component3|}}}
 
|{{!}} width="{{#if:{{{component4|50%|33%}}}" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Third component" {{!}}'''{{{component3|(third component)}}}'''
 
<!--
 
 
 
 
 
box for 4th component
 
-->{{#if:{{{component4|}}}
 
|{{!}} width="50%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Fourth component" {{!}}'''{{{component4|(fourth component)}}}'''
 
|}} <!-- close if component4 -->
 
|}} <!-- close if component3 -->
 
|}} <!-- close if component2 -->
 
|} <!-- 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;" title="First optional component" {{!}}'''{{{optional1|(first optional)}}}'''
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<!--
 
 
 
optional difficulty mod 1
 
-->{{#if:{{{diffmod1|}}}
 
  |<br>Composition difficulty. Using this slot will also increase the total skill requirements by <font color="white" title="Difficulty modifier">{{{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;" title="Second optional component" {{!}}'''{{{optional2|(second optional)}}}'''
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<!--
 
 
 
optional difficulty mod 2
 
-->{{#if:{{{diffmod2|}}}
 
  |<br>Composition difficulty. Using this slot will also increase the total skill requirements by <!--
 
--><font color="white" title="Difficulty modifier">{{{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;"  title="Third optional component" {{!}}'''{{{optional3|(third optional)}}}'''
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<!--
 
 
 
optional difficulty mod 3
 
-->{{#if:{{{diffmod3|}}}
 
  |<br>Composition difficulty. Using this slot will also increase the total skill requirements by <!--
 
--><font color="white" title="Difficulty modifier">{{{diffmod3|}}}</font> of the occupying item's requirements.
 
  |}}</font></div>
 
|}} <!-- close if optional component3 -->
 
|}} <!-- close if optional component2 -->
 
|}} <!-- close if optional component1 -->
 
|}<!-- close optional component table -->
 
|}<!-- and the whole infobox --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 

Latest revision as of 20:18, 28 October 2014