Template:Sequential badges/item: Difference between revisions
Jump to navigation
Jump to search
m (add praetorian alignments) |
(replace icon link inline template to handle unknown icon widths) |
||
Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly><tr> | ||
<td>{{{sort}}}</td> | <td>{{{sort}}}</td> | ||
<td>{{icon link | <td><span style="position: relative; white-space: normal;"><span style="position: absolute; text-align: center; pointer-events: none;">[[{{#explode:{{{icon}}}| |0}}|x22px|link=|alt=]]{{#if:{{#pos:{{{icon}}}| }}|[[{{#explode:{{{icon}}}| |1}}|x22px|link=|alt=]]}}</span>[[{{{page}}}|<span style="display: inline-block; padding-left: {{#expr:{{{#userparam|22}}} + 4}}px; white-space: normal; text-decoration: inherit;">{{{title}}}</span>]]</span></td> | ||
| | |||
| link = {{{page}}} | |||
| | |||
}}</td> | |||
<td>{{#ifeq:{{{summary}}}| | <td>{{#ifeq:{{{summary}}}| | ||
| {{#ifeq:{{{zone}}}|| | | {{#ifeq:{{{zone}}}|| |