Difference between revisions of "Template:BridgeSection"

From Wurmpedia
Jump to navigation Jump to search
Line 26: Line 26:
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{filler}}}
+
{{{filler}}}}}
}}
 
  
 
|-
 
|-
Line 54: Line 53:
 
}}{{#if:{{{improveItem|}}}|* {{#ifeq:{{{improveItem}}}|no|Cannot be [[improve]]d|[[Improve]] with [[{{{improveItem}}}]]}}}}
 
}}{{#if:{{{improveItem|}}}|* {{#ifeq:{{{improveItem}}}|no|Cannot be [[improve]]d|[[Improve]] with [[{{{improveItem}}}]]}}}}
  
<!--optional properties -->
 
{{#if: {{{decoration|}}}|
 
{{!}}-
 
! style="background-color:#3c5;" {{!}} Properties
 
{{!}}-
 
{{!}}|
 
 
{{#if: {{{storage|}}}|
 
{{!}}-
 
! style="background-color:#3c5;" {{!}} Properties
 
{{!}}-
 
{{!}}|
 
 
{{#ifeq: {{{combinable|no}}}|no||
 
{{!}}-
 
! style="background-color:#3c5;" {{!}} Properties
 
{{!}}-
 
{{!}}}}}}
 
}}
 
 
{{#if: {{{decoration|}}}|
 
{{#switch: {{lc:{{{decoration}}}}}
 
| yes = * Appears as decoration.[[Category:Decoration]]
 
| no = * Appears as an item pile.
 
}}
 
}}
 
 
{{#switch: {{lc:{{{storage}}}}}
 
| fsb = * Can be stored in a [[Food storage bin]].[[Category:Food storage items]]
 
| bsb = * Can be stored in a [[Bulk storage bin]].[[Category:Bulk storage items]]
 
}}
 
 
{{#if: {{{combinable|}}}|
 
{{#switch: {{lc:{{{combinable}}}}}
 
| hot = * Can be [[Combine|combined]] when glowing hot.
 
| yes = * Can be [[Combine|combined]].
 
}}
 
}}
 
 
{{#if: {{{note|}}}|
 
 
<!-- optional note -->
 
<!-- optional note -->
 +
|-
 +
{{#ifeq:{{{note}}}|no||
 
{{!}}-
 
{{!}}-
 
! style="background-color:#3c5;" {{!}} Notes
 
! style="background-color:#3c5;" {{!}} Notes
 
{{!}}-
 
{{!}}-
{{!}}{{#ifeq:{{{note}}}|no|None|{{{note}}}}}}}
+
{{!}}
 +
{{{note}}}
 +
}}
 
|}
 
|}
  
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
+
[[Category:Bridges]]
[[Category:Items]]
+
</includeonly>
<!-- If (1 creation and (2 anyone from  the create group - active and pasive and [3)- at least one of group or groupM or TopMost or assemble must be NOT empty] and materials and result and skill - are empty add to Incomplete item templates -->
 
{{#if:{{{creation|}}}||{{#if:{{#if: {{{active|}}} |{{#if: {{{passive|}}} |{{#if:{{#if: {{{group|}}}|{{{group|}}}|{{#if: {{{groupM|}}}|{{{groupM|}}}|{{#if: {{{TopMost|}}}|{{{TopMost|}}}|{{#if:{{{assemble|}}}|{{{assemble|}}}|}}}}}}}}|{{#if: {{{materials|}}}|{{#if: {{{result|}}} | {{{skill|}}} }}}}}}}}}}||[[Category:Incomplete item templates]]}}}}
 
  
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
 
 
This template adds a box with an image of the item and the steps to create the item.  
 
This template adds a box with an image of the item and the steps to create the item.  
 
 
 
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 07:15, 16 October 2014


This template adds a box with an image of the item and the steps to create the item.