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/Country: Difference between revisions

From SECApedia
Jump to navigationJump to search
imported>SomebodyRum
mNo edit summary
imported>Editor
Undo revision 46540 by SomebodyRum (talk)
 
(8 intermediate revisions by one other user not shown)
Line 2: Line 2:
==================================================
==================================================
TemplateBase/Country
TemplateBase/Country
Creates a highly customizable country banner with flag
presets, layered background colors, and icon animations.
==================================================
==================================================
USAGE:
USAGE:
{{TemplateBase/Country
{{TemplateBase/Country
| preset = h / v / diagonal / cross / nordic
| c1 = #002868
| c1 = #002868
| c2 = #ffffff
| c2 = #ffffff
| c3 = #bf0a30
| c3 = #bf0a30
| dir = v
| title = Country Name
| title = Country Name
| text = Optional subtitle text
| text = Optional subtitle text
| text_color = #ffffff
| text_border = #000000
| audio = [[File:Song.mp3]]
| audio = [[File:Song.mp3]]
| bg_icon = Icon.png
| bg_icon = Icon.png
| bg_size = 120
| bg_opacity = 0.25
| spin_icon = yes
| pulse_icon = yes
| image_left = Left.png
| image_left = Left.png
| image_right = Right.png
| image_right = Right.png
| extras =
| class =  
| class =  
| style =  
| style =  
}}
}}
PARAMETERS:
- preset: Flag pattern (h = horizontal stripes, v = vertical, cross = standard centered cross, nordic = scandinavian left-shifted cross)
- c1, c2, c3: Colors applied from background to foreground based on the preset.
- text_color/text_border: Allows recoloring the text and the stroke-style border.
- spin_icon: Set to 'yes' for symmetrical logos to rotate them endlessly in the background.
==================================================
==================================================
--></noinclude><templatestyles src="Template:TemplateBase/Country/styles.css" /><!--
--></noinclude><templatestyles src="Template:TemplateBase/Country/styles.css" /><!--
--><div class="tb-country-container {{{class|}}}" style="background: {{#if:{{{c2|}}}
--><div class="tb-country-container tb-preset-{{#switch:{{{preset|h}}}|v=v|cross=cross|nordic=nordic|diagonal=diagonal|h|#default=h}} {{#ifeq:{{{grid|}}}|no||{{#if:{{{c3|}}}|tb-3colors|}}}} {{#ifeq:{{{spin_icon|}}}|yes|tb-spin|}} {{#ifeq:{{{pulse_icon|}}}|yes|tb-pulse|}} {{{class|}}}" style="background: {{#if:{{{c2|}}}
     | linear-gradient({{#switch:{{{dir|h}}}|v=to right|#default=to bottom}}, {{{c1|#333}}} {{#if:{{{c3|}}}
     | {{#switch:{{{preset|h}}}
         | 33.33%, {{{c2|#666}}} 33.33%, {{{c2|#666}}} 66.66%, {{{c3|#999}}} 66.66%
        | v = linear-gradient(to right, {{{c1|#333}}} {{#if:{{{c3|}}}|33.33%, {{{c2|#666}}} 33.33%, {{{c2|#666}}} 66.66%, {{{c3|#999}}} 66.66%|50%, {{{c2|#666}}} 50%}})
         | 50%, {{{c2|#666}}} 50%
        | cross = {{#if:{{{c3|}}}|linear-gradient(to right, transparent 49%, {{{c3}}} 49%, {{{c3}}} 51%, transparent 51%), linear-gradient(to bottom, transparent 42%, {{{c3}}} 42%, {{{c3}}} 58%, transparent 58%), }}linear-gradient(to right, transparent 47.5%, {{{c2|#fff}}} 47.5%, {{{c2|#fff}}} 52.5%, transparent 52.5%), linear-gradient(to bottom, transparent 32.5%, {{{c2|#fff}}} 32.5%, {{{c2|#fff}}} 67.5%, transparent 67.5%), {{{c1|#333}}}
     }})
        | nordic = {{#if:{{{c3|}}}|linear-gradient(to right, transparent 21.5%, {{{c3}}} 21.5%, {{{c3}}} 23.5%, transparent 23.5%), linear-gradient(to bottom, transparent 42%, {{{c3}}} 42%, {{{c3}}} 58%, transparent 58%), }}linear-gradient(to right, transparent 20%, {{{c2|#fff}}} 20%, {{{c2|#fff}}} 25%, transparent 25%), linear-gradient(to bottom, transparent 32.5%, {{{c2|#fff}}} 32.5%, {{{c2|#fff}}} 67.5%, transparent 67.5%), {{{c1|#333}}}
         | diagonal = linear-gradient(135deg, {{{c1|#333}}} {{#if:{{{c3|}}}|33.33%, {{{c2|#666}}} 33.33%, {{{c2|#666}}} 66.66%, {{{c3|#999}}} 66.66%|50%, {{{c2|#666}}} 50%}})
         | h | #default = linear-gradient(to bottom, {{{c1|#333}}} {{#if:{{{c3|}}}|33.33%, {{{c2|#666}}} 33.33%, {{{c2|#666}}} 66.66%, {{{c3|#999}}} 66.66%|50%, {{{c2|#666}}} 50%}})
     }}
     | {{{c1|#333}}}
     | {{{c1|#333}}}
}}; {{{style|}}}"><!--
}}; {{{style|}}}"><!--
      
      
     Background Icon  
     Background Icon  
     -->{{#if:{{{bg_icon|}}}|<span class="tb-country-bg-icon">[[File:{{{bg_icon}}}|x120px|link=]]</span>}}<!--
     -->{{#if:{{{bg_icon|}}}|<span class="tb-country-bg-icon" {{#if:{{{bg_opacity|}}}|style="opacity: {{{bg_opacity}}};"|}}>[[File:{{{bg_icon}}}|x{{{bg_size|120}}}px|link=]]</span>}}<!--
      
      
     Left Image
     Left Image
Line 36: Line 54:
     Right Image
     Right Image
     -->{{#if:{{{image_right|}}}|<span class="tb-country-side-img tb-country-img-right">[[File:{{{image_right}}}|x70px|link=]]</span>}}<!--
     -->{{#if:{{{image_right|}}}|<span class="tb-country-side-img tb-country-img-right">[[File:{{{image_right}}}|x70px|link=]]</span>}}<!--
   
    Extra Raw Injections
    -->{{{extras|}}}<!--
      
      
     Text Content & Audio
     Text Content & Audio
     --><div class="tb-country-content"><!--
     --><div class="tb-country-content" style="{{#if:{{{text_color|}}}|color: {{{text_color}}};|}} {{#if:{{{text_border|}}}|text-shadow: -1px -1px 0 {{{text_border}}}, 1px -1px 0 {{{text_border}}}, -1px 1px 0 {{{text_border}}}, 1px 1px 0 {{{text_border}}}, 1px 1px 2px rgba(0,0,0,0.9), 0px 0px 4px rgba(0,0,0,0.8);}}"><!--
         --><div class="tb-country-title">{{{title|Untitled Country}}}</div><!--
         --><div class="tb-country-title">{{{title|Untitled Country}}}</div><!--
         -->{{#if:{{{text|}}}|<div class="tb-country-text">{{{text}}}</div>}}<!--
         -->{{#if:{{{text|}}}|<div class="tb-country-text">{{{text}}}</div>}}<!--

Latest revision as of 17:30, 5 June 2026

Untitled Country