Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:Equipment list result format"

From DFO World Wiki
Jump to: navigation, search
(icon categorization)
Line 3: Line 3:
 
<!--
 
<!--
 
     Icon
 
     Icon
-->| align="center" | {{#ifexist:{{{2|}}} | [[{{{2}}}|28px]] | [[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{{1}}}.png}}}}|No icon available]] }}
+
-->| align="center" | {{#ifexist:{{{2|}}} | [[{{{2}}}|28px]] | [[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{{1}}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{lc:{{{5|}}}}}
 +
      | weapon = {{#arraymap:{{{6}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 +
      | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{7|}}}
 +
        | Cloth = Cloth Armor
 +
        | Leather = Leather Armor
 +
        | Light Armor = Light Armor
 +
        | Heavy Armor = Heavy Armor
 +
        | Plate Armor = Plate Armor
 +
        }}
 +
      |#default = {{#arraymap:{{{5}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 +
      }} Icons]]}}}}|No icon available]] }}
 
<!--
 
<!--
 
     Name
 
     Name

Revision as of 12:58, 13 March 2016

Description

This template creates a table row using query results. Used by Template:Equipment list and Template:Equipment list row.