CURRENT MISSION: Update, uncensor and (if needed) rewrite all the imported pages from SNCApedia.
For the love of god, please only mark your articles with {{WIP}} if you actually intend to finish them. Just look at how many there are in the WIP category.
Tether is currently on a break until the 16th of July. Please contact me for any and all things regarding SECApedia. Soyoyuki (talk) 01:36, 26 June 2026 (UTC)
Site will go offline for a bit because i'm adding cuckflare.
It shouldnt take long.
Template:TemplateBase/SncaBox: Difference between revisions
From SECApedia
Jump to navigationJump to search
imported>SomebodyRum Created page with "<!-- ================================================== TemplateBase/SncaBox Base template for warning and message boxes. Features auto-expanding height, presets, and stacking capabilities. ================================================== USAGE: {{TemplateBase/SncaBox | type = ok / info / warning / critical / neutral | stack = top / bottom / both / none | bgcol = #hexcolor | linecol = #hexcolor | image = 32px | title = Bold Title | text..." |
imported>SomebodyRum mNo edit summary |
||
| Line 7: | Line 7: | ||
USAGE: | USAGE: | ||
{{TemplateBase/SncaBox | {{TemplateBase/SncaBox | ||
| type | | type = ok / info / warning / critical / neutral | ||
| bgcol = #hexcolor | |||
| bgcol | | linecol = #hexcolor | ||
| linecol = #hexcolor | | content = Template asset or image (Left) | ||
| image | | content2 = Template asset or image (Right) | ||
| title | | title = Bold Title | ||
| text | | text = Main body text | ||
| style | | style = custom css | ||
| class | | class = custom class | ||
}} | }} | ||
PARAMETERS: | PARAMETERS: | ||
- type: Determines preset colors (default is neutral). | - type: Determines preset colors (default is neutral). | ||
- | - content: Left-side asset. Defaults to SNCApediaLogo. | ||
- content2: Right-side asset. Empty by default. | |||
- | - title: Bolded title text. Defaults to "Title here." | ||
- text: Main descriptive text. Defaults to "Text here." Supports param 1. | |||
- title: | - stack: Optional manual override (top/bottom) if auto-stacking fails. | ||
- text: Main descriptive text. Supports | |||
================================================== | ================================================== | ||
--><templatestyles src="Template:TemplateBase/SncaBox/styles.css"/><!-- | --><templatestyles src="Template:TemplateBase/SncaBox/styles.css"/><!-- | ||
--><div class="snca-box {{#switch: {{lc:{{{type|}}}}} |ok|success=snca-box-ok |info|notice=snca-box-info |warning|issue=snca-box-warning |critical|danger|error=snca-box-critical |#default=snca-box-neutral }} {{#switch: {{lc:{{{stack|}}}}} |top=snca-box-stack-top |bottom=snca-box-stack-bottom |both|all=snca-box-stack-both }} {{{class|}}}" style="{{#if:{{{bgcol|}}}|background-color:{{{bgcol}}};}}{{#if:{{{linecol|}}}|border-left-color:{{{linecol}}};}}{{{style|}}}"><!-- | --><div class="snca-box {{#switch: {{lc:{{{type|}}}}} |ok|success=snca-box-ok |info|notice=snca-box-info |warning|issue=snca-box-warning |critical|danger|error=snca-box-critical |#default=snca-box-neutral }} {{#switch: {{lc:{{{stack|}}}}} |top=snca-box-stack-top |bottom=snca-box-stack-bottom |both|all=snca-box-stack-both }} {{{class|}}}" style="{{#if:{{{bgcol|}}}|background-color:{{{bgcol}}};}}{{#if:{{{linecol|}}}|border-left-color:{{{linecol}}};}}{{{style|}}}"><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{content|[[File:SNCApediaLogo.png|40px]]}}}|<div class="snca-box-asset">{{{content|[[File:SNCApediaLogo.png|40px]]}}}</div>}}<!-- | ||
--><div class="snca-box-content"><!-- | --><div class="snca-box-content"><!-- | ||
--> | --><div class="snca-box-title">{{{title|Title here.}}}</div><!-- | ||
--> | --><div class="snca-box-text">{{{text|{{{1|Text here.}}}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{#if:{{{content2|}}}|<div class="snca-box-asset">{{{content2}}}</div>}}<!-- | |||
--></div><noinclude>{{Documentation}}</noinclude> | --></div><noinclude>{{Documentation}}</noinclude> | ||