Difference between revisions of "Template:Infobox blueprint"

From Underrail Wiki
Jump to navigation Jump to search
m
(i kinda hope this would finally work)
Line 23: Line 23:
  
  
<hr style="background-color:#AE5700; height:2px;">
+
<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;"
 
{| width="100%" cellspacing="10" style="background-color:#000000; color:#ffffff;"
Line 37: Line 42:
 
box for 2nd component
 
box for 2nd component
 
-->{{#if:{{{component2|}}}
 
-->{{#if:{{{component2|}}}
|{{!}} width="34%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Second component" <!--
+
|{{!}} width="34%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Second component" {{!}}'''{{{component2|(second component)}}}'''
-->{{!}}'''{{{component2|(second component)}}}'''
 
|}}
 
 
<!--
 
<!--
  
Line 51: Line 54:
 
box for 3rd component
 
box for 3rd component
 
-->{{#if:{{{component3|}}}
 
-->{{#if:{{{component3|}}}
|{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Third component" <!--
+
|{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Third component" {{!}}'''{{{component3|(third component)}}}'''
-->{{!}}'''{{{component3|(third component)}}}'''
 
|}}
 
 
<!--
 
<!--
  
Line 59: Line 60:
 
box for 4th component
 
box for 4th component
 
-->{{#if:{{{component4|}}}
 
-->{{#if:{{{component4|}}}
|{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Fourth component" <!--
+
|{{!}} width="33%" style="padding:15px; border:2px solid #808080; border-radius:1em;" title="Fourth component" {{!}}'''{{{component4|(fourth component)}}}'''
-->{{!}}'''{{{component4|(fourth component)}}}'''
+
|}} <!-- close if component4 -->
|}}
+
|}} <!-- close if component3 -->
 +
|}} <!-- close if component2 -->
 
|} <!-- close mandatory component table -->
 
|} <!-- close mandatory component table -->
  
Line 71: Line 73:
 
optional component 1
 
optional component 1
 
-->{{#if:{{{optional1|}}}
 
-->{{#if:{{{optional1|}}}
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" title="First optional component" <!--
+
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" title="First optional component" {{!}}'''{{{optional1|(first optional)}}}'''
-->{{!}}'''{{{optional1|(first optional)}}}'''
 
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<!--
 
<!--
Line 78: Line 79:
 
optional difficulty mod 1
 
optional difficulty mod 1
 
-->{{#if:{{{diffmod1|}}}
 
-->{{#if:{{{diffmod1|}}}
   |<br>Composition difficulty. Using this slot will also increase the total skill requirements by <!--
+
   |<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 color="white" title="Difficulty modifier">{{{diffmod1|}}}</font> of the occupying item's requirements.
 
 
   |}}</font></div>
 
   |}}</font></div>
|}}
 
 
<!--
 
<!--
  
Line 87: Line 86:
 
optional component 2
 
optional component 2
 
-->{{#if:{{{optional2|}}}
 
-->{{#if:{{{optional2|}}}
|{{!}} width="34%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" title="Second optional component" <!--
+
|{{!}} width="34%" style="padding:15px; border:2px dashed #808080; border-radius:1em;" title="Second optional component" {{!}}'''{{{optional2|(second optional)}}}'''
-->{{!}}'''{{{optional2|(second optional)}}}'''
 
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<!--
 
<!--
Line 97: Line 95:
 
--><font color="white" title="Difficulty modifier">{{{diffmod2|}}}</font> of the occupying item's requirements.
 
--><font color="white" title="Difficulty modifier">{{{diffmod2|}}}</font> of the occupying item's requirements.
 
   |}}</font></div>
 
   |}}</font></div>
|}}
 
 
<!--
 
<!--
  
Line 103: Line 100:
 
optional component 3
 
optional component 3
 
-->{{#if:{{{optional3|}}}
 
-->{{#if:{{{optional3|}}}
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;"  title="Third optional component" <!--
+
|{{!}} width="33%" style="padding:15px; border:2px dashed #808080; border-radius:1em;"  title="Third optional component" {{!}}'''{{{optional3|(third optional)}}}'''
-->{{!}}'''{{{optional3|(third optional)}}}'''
 
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<div style="background-color:#000000; text-align:left;"><font size="1" color="gray">Optional.
 
<!--
 
<!--
Line 113: Line 109:
 
--><font color="white" title="Difficulty modifier">{{{diffmod3|}}}</font> of the occupying item's requirements.
 
--><font color="white" title="Difficulty modifier">{{{diffmod3|}}}</font> of the occupying item's requirements.
 
   |}}</font></div>
 
   |}}</font></div>
|}}
+
|}} <!-- close if optional component3 -->
 +
|}} <!-- close if optional component2 -->
 +
|}} <!-- close if optional component1 -->
 
|}<!-- close optional component table -->
 
|}<!-- close optional component table -->
 
|}<!-- and the whole infobox --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 
|}<!-- and the whole infobox --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude>

Revision as of 08:55, 2 August 2013

Blueprint.png
(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