yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Editing
Template:TemplateBase/Country
From 2swagg wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<templatestyles src="Template:TemplateBase/Country/styles.css" /><div class="tb-country-container tb-preset-{{#switch:{{{preset|h}}}|v=v|cross=cross|nordic=nordic|diagonal=diagonal|h|#default=h}}{{#ifeq:{{{spin_icon|}}}|yes| tb-spin}}{{#ifeq:{{{pulse_icon|}}}|yes| tb-pulse}}{{#if:{{{class|}}}| {{{class}}}}}" style="background: {{#if:{{{c2|}}} | {{#switch:{{{preset|h}}} | 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%}}) | 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}}} }}; {{{style|}}}">{{#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>}}{{#if:{{{image_left|}}}|<span class="tb-country-side-img tb-country-img-left">[[File:{{{image_left}}}|x70px|link=]]</span>}}{{#if:{{{image_right|}}}|<span class="tb-country-side-img tb-country-img-right">[[File:{{{image_right}}}|x70px|link=]]</span>}}{{{extras|}}}<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}}};}}"><div class="tb-country-title">{{{title|Untitled Country}}}</div>{{#if:{{{text|}}}|<div class="tb-country-text">{{{text}}}</div>}}{{#if:{{{audio|}}}|<div class="tb-country-audio">{{{audio}}}</div>}}</div></div><noinclude>{{Documentation}}</noinclude>
Summary:
Please note that all contributions to 2swagg wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
2swagg wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Documentation
(
edit
)
Template:TemplateBase/Country/doc
(
edit
)
Template:TemplateBase/Country/styles.css
(
edit
)
Module:Arguments
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/styles.css
(
edit
)
Navigation menu
Page actions
Template
Discussion
Read
Edit source
History
Page actions
Template
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
janny
Noticeboard
Tools
What links here
Related changes
Special pages
Page information