Difference between revisions of "Template:UOTranslatePowerWords"

m
m
Line 1: Line 1:
<includeonly><div style="display: flex;align-items: center;">{{#arraydefine:powerwords|{{{1|}}}|/\s/}}{{#loop:i|0|{{#arraysize:powerwords}}|<div style="padding: 3px;border: 1px dotted #555;margin: 2px 6px 2px 2px;border-radius: 5px;text-align: center;">{{UOTranslatePowerWord|{{#arrayindex:powerwords|{{#var:i}}}}}}</div>}}</div></includeonly>
+
<includeonly><div style="display: flex;align-items: center;">{{#if:{{{2}}}|{{{1}}}: }}{{#arraydefine:powerwords|{{{1|}}}|/\s/}}{{#loop:i|0|{{#arraysize:powerwords}}|<div style="padding: 3px;border: 1px dotted #555;margin: 2px 6px 2px 2px;border-radius: 5px;text-align: center;">{{UOTranslatePowerWord|{{#arrayindex:powerwords|{{#var:i}}}}}}</div>}}</div></includeonly>

Revision as of 20:21, 11 July 2017