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
(string replacement for icon upload)
Line 3: Line 3:
 
<!--
 
<!--
 
     Icon
 
     Icon
-->| align="center" | {{#if:{{{2|}}} | [[{{{2}}}|28px]] | [[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{{1}}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{lc:{{{5|}}}}}
+
-->| align="center" | {{#if:{{{2|}}} | [[{{{2}}}|28px]] | [[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{#replace:{{#replace:{{{1}}}|/|-}}|:|-}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{lc:{{{5|}}}}}
 
       | weapon = {{#arraymap:{{{6}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | weapon = {{#arraymap:{{{6}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{7|}}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{7|}}}

Revision as of 13:47, 28 March 2016

Description

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