CURRENT MISSION: Update, uncensor and (if needed) rewrite all the imported pages from SNCApedia.
Additionally, please tag all unnecessary discussion pages with the {{Delete}} template, for example those with outdated info.
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)
You may still submit your janitor/approver application, but you wont get anywhere if you arent already autoconfirmed.


The community rules have been slightly updated, with the mention of "No-Link" sites.This is also mentioned & explained in rule 9.2
soygem.party and jarty.party have been moved out of the Gray Area and into the Friendly Zone.


The file size upload limit has FINALLY been increased to 8 megabytes. Sorry saars.

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..."
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
TemplateBase/SncaBox
TemplateBase/SncaBox
Base template for warning and message boxes.  
Base template for warning and message boxes.  
Features auto-expanding height, presets, and stacking capabilities.
==================================================
==================================================
USAGE:
USAGE:
{{TemplateBase/SncaBox
{{TemplateBase/SncaBox
| type   = ok / info / warning / critical / neutral
| type     = ok / info / warning / critical / neutral
| stack  = top / bottom / both / none
| align    = left / center / right (Auto-centers if content2 is used)
| bgcol   = #hexcolor
| bgcol   = #hexcolor
| linecol = #hexcolor
| bgimg    = background image
| image   = [[File:Example.png|32px]]
| linecol = #hexcolor
| title   = Bold Title
| content  = Template asset or image (Left)
| text   = Main body text
| content2 = Template asset or image (Right)
| style   = custom css
| title   = Bold Title
| class   = custom class
| text     = Main body text
| style   = custom css
| 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.
- align: Overrides the text alignment.
- bgcol: Custom background color override.
- content: Left-side asset. Defaults to SNCApediaLogo.
- linecol: Custom left-border color override.
- content2: Right-side asset. Empty by default.
- image: Wikitext for the left icon.
- title: Bolded title text. Defaults to "Title here."
- title: Optional bolded title text.
- text: Main descriptive text. Defaults to "Text here." Supports param 1.
- 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 }} {{{class|}}}" style="{{#if:{{{bgcol|}}}|background-color:{{{bgcol}}};}}{{#if:{{{bgimage|}}}|background-image:{{{bgimg}}};}}{{#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 {{#switch: {{lc:{{{align|}}}}} |center=snca-box-align-center |right=snca-box-align-right |left=snca-box-align-left |#default={{#if:{{{content2|}}}|snca-box-align-center|snca-box-align-left}} }}"><!--
-->{{#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 snca-box-asset-right">{{{content2}}}</div>}}<!--
--></div><noinclude>{{Documentation}}</noinclude>
--></div><noinclude>{{Documentation}}</noinclude>

Latest revision as of 01:58, 28 June 2026

Title here.
Text here.