Template:InfoboxFrame: Difference between revisions
From He is Coming Official Wiki
No edit summary |
Benjiminio (talk | contribs) m added empty links to elements so that they no longer link back to their own asset page (assuming no desired functionality) |
||
| Line 1: | Line 1: | ||
<includeonly><div style="position: relative; width:fit-content; box-sizing:border-box;"><div style="position: absolute; left:-4px; top:-2px; padding: 0;">[[File:TL_{{#switch:{{{theme|default}}}|Woodland=Woodland|Swampland=Swampland|Kingmaker=Kingmaker|Greyscale}}.png|24px]]</div><div style="position: absolute; left:-4px; bottom:-2px; padding: 0;">[[File:BL_{{#switch:{{{theme|default}}}|Woodland=Woodland|Swampland=Swampland|Kingmaker=Kingmaker|Greyscale}}.png|24px]]</div><div style="position: absolute; right:-4px; bottom:-2px; padding: 0;">[[File:BR_{{#switch:{{{theme|default}}}|Woodland=Woodland|Swampland=Swampland|Kingmaker=Kingmaker|Greyscale}}.png|24px]]</div><div style="border:4px solid {{#switch:{{{theme|unspecified}}}|Woodland = #7fa33f|Swampland = #587fcb|Kingmaker = #cd811e|#F4F4F4}}; background:#241319; padding-left:18px; padding-right: 18px;">{{{content|test}}}</div></div> | <includeonly> | ||
<div style="position: relative; width:fit-content; box-sizing:border-box;"> | |||
<div style="position: absolute; left:-4px; top:-2px; padding: 0;"> | |||
[[File:TL_{{#switch:{{{theme|default}}}|Woodland=Woodland|Swampland=Swampland|Kingmaker=Kingmaker|Greyscale}}.png|24px|link=]]</div><div style="position: absolute; left:-4px; bottom:-2px; padding: 0;"> | |||
[[File:BL_{{#switch:{{{theme|default}}}|Woodland=Woodland|Swampland=Swampland|Kingmaker=Kingmaker|Greyscale}}.png|24px|link=]]</div><div style="position: absolute; right:-4px; bottom:-2px; padding: 0;"> | |||
[[File:BR_{{#switch:{{{theme|default}}}|Woodland=Woodland|Swampland=Swampland|Kingmaker=Kingmaker|Greyscale}}.png|24px|link=]]</div><div style="border:4px solid {{#switch:{{{theme|unspecified}}}|Woodland = #7fa33f|Swampland = #587fcb|Kingmaker = #cd811e|#F4F4F4}}; background:#241319; padding-left:18px; padding-right: 18px;"> | |||
{{{content|test}}}</div></div> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{InfoboxFrame|theme=Woodland|content=Woodland}} | {{InfoboxFrame|theme=Woodland|content=Woodland}} | ||
Latest revision as of 11:53, 23 October 2025
Woodland
Swampland
Kingmaker
any unrecognized theme
Flexible infobox frame with 4 customizable corners and border color.
- Parameters:
- theme — Woodland, Swampland, Kingmaker, Greyscale
- content — The infobox or content to be framed.


