Template:Sequential badges/item: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
m (parser instead of regex for performance?)
(params)
Line 2: Line 2:
<td>{{{sort}}}</td>
<td>{{{sort}}}</td>
<td>{{icon link inline
<td>{{icon link inline
| icon = {{PAGENAME:{{#explode:{{#show:{{{page}}}|?Has image|link=none}}|,|0}}}}
| icon = {{PAGENAME:{{#explode:{{{icon}}}|&nbsp;|0}}}}
| link = {{{page}}}
| link = {{{page}}}
| text = {{#replace:{{#show:{{{page}}}|?Has title}}|,|&nbsp;/}}
| text = {{{title}}}
}}</td>
}}</td>
<td>{{#if:{{{zone|}}}|{{#if:{{#pos:{{{zone}}}|,}}|Multiple locations|[[{{{zone}}}]] {{coords|page={{{page}}}}}}}}}</td>
<td>{{#if:{{{zone|}}}|{{#if:{{#pos:{{{zone}}}|,}}|Multiple locations|[[{{{zone}}}]] {{coords|{{{x}}}|{{{y}}}|{{{z}}}}}}}}}</td>
</tr></includeonly><noinclude>[[Category:SMW Formatting Templates]]</noinclude>
</tr></includeonly><noinclude>[[Category:SMW Formatting Templates]]</noinclude>

Revision as of 04:41, 4 June 2022