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   = ok / info / warning / critical / neutral
| type     = ok / info / warning / critical / neutral
| stack  = top / bottom / both / none
| bgcol   = #hexcolor
| bgcol   = #hexcolor
| linecol = #hexcolor
| linecol = #hexcolor
| content  = Template asset or image (Left)
| image   = [[File:Example.png|32px]]
| content2 = Template asset or image (Right)
| title   = Bold Title
| title   = Bold Title
| text   = Main body text
| text     = Main body text
| style   = custom css
| style   = custom css
| class   = custom class
| class   = custom class
}}
}}
PARAMETERS:
PARAMETERS:
- type: Determines preset colors (default is neutral).
- type: Determines preset colors (default is neutral).
- stack: Controls 2px corner rounding & margins for stack-snapping.
- content: Left-side asset. Defaults to SNCApediaLogo.
- bgcol: Custom background color override.
- content2: Right-side asset. Empty by default.
- linecol: Custom left-border color override.
- title: Bolded title text. Defaults to "Title here."
- image: Wikitext for the left icon.
- text: Main descriptive text. Defaults to "Text here." Supports param 1.
- title: Optional bolded title text.
- stack: Optional manual override (top/bottom) if auto-stacking fails.
- text: Main descriptive text. Supports parameter 1 as fallback.
==================================================
==================================================
--><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:{{{image|}}}|<div class="snca-box-image">{{{image}}}</div>}}<!--
-->{{#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"><!--
-->{{#if:{{{title|}}}|<div class="snca-box-title">{{{title}}}</div>}}<!--
--><div class="snca-box-title">{{{title|Title here.}}}</div><!--
-->{{#if:{{{text|{{{1|}}}}}}|<div class="snca-box-text">{{{text|{{{1|}}}}}}</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>

Revision as of 18:46, 9 May 2026

Title here.
Text here.