Raft Wiki
(Added support for 4 more tabs on page 2 and fixed an item bug)
(Preparation for a components and components tabs merge)
Line 20: Line 20:
 
<!--
 
<!--
 
*******
 
*******
  +
ItemInfobox's Components System is under construction
Following lines may be unstable!
 
 
*******
 
*******
 
-->
 
-->
Line 61: Line 61:
 
}}}}
 
}}}}
 
|-
 
|-
<!-- End of unstable code -->
 
 
{{#if: {{{component1name|}}} | {{!}} colspan="2" style="text-transform: uppercase; text-align: left;" {{!}} '''{{{componentTitle|Requires}}}'''}}
 
{{#if: {{{component1name|}}} | {{!}} colspan="2" style="text-transform: uppercase; text-align: left;" {{!}} '''{{{componentTitle|Requires}}}'''}}
 
|-
 
|-
Line 73: Line 72:
 
|-
 
|-
 
{{#if: {{{component5name|}}} | {{!}} width=50 {{!}} <div class="componentsimage">[[File:{{#titleparts:{{{component5name}}}|1}}.png|center|48px|link={{{component5name}}}]]</div> {{!!}} <div style="font-size:115%;" class="components">'''[[{{{component5name|}}}]]''' <span style="float: right; padding: 0 15px 0 9px;">'''{{{component5amount|}}}'''</span></div>}}
 
{{#if: {{{component5name|}}} | {{!}} width=50 {{!}} <div class="componentsimage">[[File:{{#titleparts:{{{component5name}}}|1}}.png|center|48px|link={{{component5name}}}]]</div> {{!!}} <div style="font-size:115%;" class="components">'''[[{{{component5name|}}}]]''' <span style="float: right; padding: 0 15px 0 9px;">'''{{{component5amount|}}}'''</span></div>}}
 
<!-- End of unstable code -->
 
|-
 
|-
 
{{#if: {{{descHeader|}}} | {{!}} colspan="2" style="text-transform: uppercase; text-align: left;" {{!}} {{{descHeader|}}} }}
 
{{#if: {{{descHeader|}}} | {{!}} colspan="2" style="text-transform: uppercase; text-align: left;" {{!}} {{{descHeader|}}} }}

Revision as of 18:23, 22 July 2021

Infobox