Template:Enemy Link: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (pointer-events fix)
m (remove padding to match previous layout)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="position: relative;"><span style="position: absolute; pointer-events: none;">[[File:{{{Image|V badge BattleDomeBadge.png}}}|{{{Size| 22}}}px|link=|alt=]]</span>[[{{{Faction}}}|<span style="padding-left: 26px;">{{{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