Template:Enemy Link: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (max-width so tap target doesn't include trailing space)
m (remove padding to match previous layout)
 
Line 1: Line 1:
<includeonly><div style="position: relative; padding: 0.1em 0; max-width: max-content;"><span style="position: absolute; pointer-events: none;">[[File:{{{Image|V badge BattleDomeBadge.png}}}|{{{Size|22}}}px|link=|alt=]]</span>[[{{{Faction}}}|<span style="display: block; padding-left: {{#expr:{{{Size|22}}}+4}}px; min-height: {{{Size|22}}}px;">{{{Faction2|{{{Faction}}}}}}</span>]]</div></includeonly><noinclude>
<includeonly><div style="position: relative; max-width: max-content;"><span style="position: absolute; pointer-events: none;">[[File:{{{Image|V badge BattleDomeBadge.png}}}|{{{Size|22}}}px|link=|alt=]]</span>[[{{{Faction}}}|<span style="display: block; padding-left: {{#expr:{{{Size|22}}}+4}}px; min-height: {{{Size|22}}}px;">{{{Faction2|{{{Faction}}}}}}</span>]]</div></includeonly><noinclude>
[[Category:Enemy Link Templates| ]]
[[Category:Enemy Link Templates| ]]
</noinclude>
</noinclude>

Latest revision as of 11:41, 25 March 2022