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 mNo edit summary |
No edit summary |
||
| (5 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. | ||
================================================== | ================================================== | ||
USAGE: | USAGE: | ||
{{TemplateBase/SncaBox | {{TemplateBase/SncaBox | ||
| type = ok / info / warning / critical / neutral | | type = ok / info / warning / critical / neutral | ||
| align = left / center / right (Auto-centers if content2 is used) | |||
| bgcol = #hexcolor | | bgcol = #hexcolor | ||
| bgimg = background image | |||
| linecol = #hexcolor | | linecol = #hexcolor | ||
| content = Template asset or image (Left) | | content = Template asset or image (Left) | ||
| Line 19: | Line 20: | ||
PARAMETERS: | PARAMETERS: | ||
- type: Determines preset colors (default is neutral). | - type: Determines preset colors (default is neutral). | ||
- align: Overrides the text alignment. | |||
- content: Left-side asset. Defaults to SNCApediaLogo. | - content: Left-side asset. Defaults to SNCApediaLogo. | ||
- content2: Right-side asset. Empty by default. | - content2: Right-side asset. Empty by default. | ||
- title: Bolded title text. Defaults to "Title here." | - title: Bolded title text. Defaults to "Title here." | ||
- text: Main descriptive text. Defaults to "Text here." Supports param 1. | - text: Main descriptive text. Defaults to "Text here." Supports param 1. | ||
================================================== | ================================================== | ||
--><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 }} {{ | --><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:{{{content|[[File:SNCApediaLogo.png|40px]]}}}|<div class="snca-box-asset">{{{content|[[File:SNCApediaLogo.png|40px]]}}}</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}} }}"><!-- | ||
--><div class="snca-box-title">{{{title|Title here.}}}</div><!-- | --><div class="snca-box-title">{{{title|Title here.}}}</div><!-- | ||
--><div class="snca-box-text">{{{text|{{{1|Text here.}}}}}}</div><!-- | --><div class="snca-box-text">{{{text|{{{1|Text here.}}}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{#if:{{{content2|}}}|<div class="snca-box-asset">{{{content2}}}</div>}}<!-- | -->{{#if:{{{content2|}}}|<div class="snca-box-asset snca-box-asset-right">{{{content2}}}</div>}}<!-- | ||
--></div><noinclude>{{Documentation}}</noinclude> | --></div><noinclude>{{Documentation}}</noinclude> | ||