Template:InfoboxFrame: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) Created page with "<includeonly> <div class="borderline-wrapper"> {| class="infobox-neutral" style="border: 4px solid {{{bordercolor|#fff}}}; width:324px; margin:2em auto; background:#241319; box-sizing:border-box;" |- | style="width:24px; height:24px; padding:0; vertical-align:top;" | {{{topleft|}}} | style="width:24px; height:24px; padding:0; vertical-align:top;" | {{{topright|}}} |- | colspan="2" style="padding:0;" | {{{content|}}} |- | style="width:24px; height:24px; padding:0; vertica..." |
Completes the work started by HolyMormor, providing a themed border with filigree. |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="position: relative; width:fit-content; box-sizing:border-box;"><div style="position: absolute; left:-4px; top:-2px; padding: 0;">[[File:TL_{{{theme|Kingmaker}}}.png|24px]]</div><div style="position: absolute; left:-4px; bottom:-2px; padding: 0;">[[File:BL_{{{theme|Kingmaker}}}.png|24px]]</div><div style="position: absolute; right:-4px; bottom:-2px; padding: 0;">[[File:BR_{{{theme|Kingmaker}}}.png|24px]]</div><div style="border:4px solid {{#switch:{{{theme|unspecified}}}|Woodland = #7fa33f|Swampland = #587fcb|#cd811e}}; background:#241319; padding-left:18px; padding-right: 18px;">{{{content|test}}}</div></div> | ||
<div | </includeonly><noinclude> | ||
{{InfoboxFrame|theme=Woodland|content=Woodland}} | |||
{{InfoboxFrame|theme=Swampland|content=Swampland}} | |||
{{InfoboxFrame|content=Kingmaker (default)}} | |||
| style=" | |||
| | |||
| style=" | |||
| | |||
</div> | |||
</includeonly> | |||
<noinclude> | |||
Flexible infobox frame with 4 customizable corners and border color. | Flexible infobox frame with 4 customizable corners and border color. | ||
* Parameters: | * Parameters: | ||
** | ** theme — Woodland, Swampland, Kingmaker | ||
** content — The infobox or content to be framed. | ** content — The infobox or content to be framed. | ||
</noinclude> | </noinclude> | ||


