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 m Replaced content with "{{Delete}}" |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | <!-- | ||
================================================== | |||
TemplateBase/SncaBox | |||
Base template for warning and message boxes. | |||
================================================== | |||
USAGE: | |||
{{TemplateBase/SncaBox | |||
| type = ok / info / warning / critical / neutral | |||
| align = left / center / right (Auto-centers if content2 is used) | |||
| bgcol = #hexcolor | |||
| bgimg = background image | |||
| linecol = #hexcolor | |||
| content = Template asset or image (Left) | |||
| content2 = Template asset or image (Right) | |||
| title = Bold Title | |||
| text = Main body text | |||
| style = custom css | |||
| class = custom class | |||
}} | |||
PARAMETERS: | |||
- type: Determines preset colors (default is neutral). | |||
- align: Overrides the text alignment. | |||
- 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. | |||
================================================== | |||
--><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 }} {{{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>}}<!-- | |||
--><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-text">{{{text|{{{1|Text here.}}}}}}</div><!-- | |||
--></div><!-- | |||
-->{{#if:{{{content2|}}}|<div class="snca-box-asset snca-box-asset-right">{{{content2}}}</div>}}<!-- | |||
--></div><noinclude>{{Documentation}}</noinclude> | |||