Difference between revisions of "Template:UOTranslatePowerWords"

m
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display: flex;">{{#arraydefine:powerwords|{{{1|}}}|/\s/}}{{#loop:i|0|{{#arraysize:powerwords}}|<div style="padding: 3px;border: 1px dotted #555;margin: 1px 1em 1px 1px;border-radius: 5px;text-align: center;">{{UOTranslatePowerWord|{{#arrayindex:powerwords|{{#var:i}}}}}}</div>}}</div></includeonly>
+
<includeonly><div style="display: flex;align-items: center;flex-wrap: wrap;">{{#ifeq:{{{2|}}}|1|{{lc:{{{1}}}}}:&nbsp;}}{{#arraydefine:powerwords|{{Trim|{{{1|}}}}}|/\s/}}{{#arrayprint:powerwords|<br/>|@@@@|<div style="padding: 3px;border: 1px dotted #555;margin: 2px 6px 2px 2px;border-radius: 5px;text-align: center;">{{UOTranslatePowerWord|@@@@}}</div>}}</div></includeonly>

Latest revision as of 06:56, 2 January 2020