Template:Info frame/security: Difference between revisions

From TeguStation Wiki
Jump to navigation Jump to search
(+slightly better margins)
(+fix formatting, correct documentation)
 
Line 1: Line 1:
<div style="box-shadow: 0 0 0.2rem #333; border-radius: 5px; background-color: #eee; margin: 2rem 0; display: grid; grid-template-areas: 'inner-div';">
<div style="box-shadow: 0 0 0.2rem #333; border-radius: 5px; background-color: #eee; margin: 0; display: grid; grid-template-areas: 'inner-div';">
<div style="margin: 0.2rem auto; grid-area: inner-div; z-index: {{{leftlogo|1}}}">
<div style="margin: 0.2rem; grid-area: inner-div; z-index: {{{leftlogo|1}}}">
<div class="tegu-security-logo" style="margin: 0.4rem; width: 64px; height: 64px; background-size: 64px;"></div>
<div class="tegu-security-logo" style="margin: 0.4rem; width: 64px; height: 64px; background-size: 64px;"></div>
</div>
</div>
<div style="margin: 0.2rem; grid-area: inner-div; z-index: {{{middlelogo|1}}}">
<div style="margin: 0.2rem auto; grid-area: inner-div; z-index: {{{middlelogo|1}}}">
<div class="tegu-security-logo" style="margin: 0.4rem; width: 64px; height: 64px; background-size: 64px;"></div>
<div class="tegu-security-logo" style="margin: 0.4rem; width: 64px; height: 64px; background-size: 64px;"></div>
</div>
</div>
Line 25: Line 25:
* title = Title of the info frame
* title = Title of the info frame
* subtitle = Subtitle of the info frame
* subtitle = Subtitle of the info frame
* (left|middle|right)logo = Pseudo-boolean; Set to 0 to hide logos
* (left|middle|right)logo = Pseudo-boolean; Set to -1 to hide logo
* color = CSS-compatible colour code for the background of the header
* content = What you want inside the info frame
* content = What you want inside the info frame
</ul>
</ul>
</noinclude>
</noinclude>

Latest revision as of 17:29, 1 September 2023

{{{title}}}

{{{subtitle}}}

{{{content}}}

Documentation

Parameters:

    • title = Title of the info frame
    • subtitle = Subtitle of the info frame
    • (left|middle|right)logo = Pseudo-boolean; Set to -1 to hide logo
    • content = What you want inside the info frame