ᥝᥤᥱ ᥑᥤᥱ ᥚᥤᥱ ᥖᥤᥱ ᥕᥣᥱ
tddwiki
https://tdd.wikipedia.org/wiki/%E1%A5%9E%E1%A5%A8%E1%A5%9D%E1%A5%B4_%E1%A5%98%E1%A5%A3%E1%A5%B2_%E1%A5%96%E1%A5%A5%E1%A5%B0
MediaWiki 1.45.0-wmf.8
first-letter
ᥛᥤᥱ ᥖᥤᥱ ᥕᥣᥱ
ᥑᥪᥐ ᥖᥩᥢᥰ
ᥟᥧᥙᥱ ᥐᥧᥛ
ᥚᥧᥱ ᥕᥧᥒᥱ ᥖᥪᥰ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥚᥧᥱ ᥕᥧᥒᥱ ᥖᥪᥰ
ᥝᥤᥱ ᥑᥤᥱ ᥚᥤᥱ ᥖᥤᥱ ᥕᥣᥱ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥝᥤᥱ ᥑᥤᥱ ᥚᥤᥱ ᥖᥤᥱ ᥕᥣᥱ
ᥜᥣᥭᥱ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥜᥣᥭᥱ
ᥛᥤᥱ ᥖᥤᥱ ᥕᥣᥱ ᥝᥤᥱ ᥑᥤᥱ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥛᥤᥱ ᥖᥤᥱ ᥕᥣᥱ ᥝᥤᥱ ᥑᥤᥱ
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ
ᥘᥩᥒ ᥓᥩᥭ ᥗᥦᥛ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥘᥩᥒ ᥓᥩᥭ ᥗᥦᥛᥴ
ᥙᥫᥒ ᥗᥣᥢ
ᥟᥧᥙᥱ ᥐᥧᥛ ᥙᥫᥒ ᥗᥣᥢ
TimedText
TimedText talk
ᥛᥨᥝᥱ ᥓᥧᥰ
ᥟᥧᥙᥱ ᥐᥧᥛᥴ ᥛᥩᥱ ᥓᥧᥰ
Event
Event talk
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Hex2dec
10
137
6329
4887
2025-07-03T03:12:54Z
Saimawnkham
28
6329
wikitext
text/x-wiki
{{#invoke: BaseConvert | convert
| n={{{1}}}
| base=10
| from=16
| default={{{default|0}}}
}}<noinclude>{{documentation}}</noinclude>
rkxh58qr2xmpmnap3qbh79h5bpmvwk2
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono
10
231
6267
803
2025-07-02T14:12:16Z
Saimawnkham
28
6267
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>ifsubst|1=|2=<templatestyles src="Mono/styles.css" />}}<span class="monospaced">{{{2|{{{1}}}}}}</span><noinclude>
{{Documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
eyigcpktddtgno85j4vajm121b6hlip
ᥛᥨᥝᥱ ᥓᥧᥰ:Color contrast
828
397
6285
1308
2025-07-03T00:13:07Z
Saimawnkham
28
6285
Scribunto
text/plain
--
-- This module implements
-- {{Color contrast ratio}}
-- {{Greater color contrast ratio}}
-- {{ColorToLum}}
-- {{RGBColorToLum}}
--
local p = {}
local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' )
local function sRGB (v)
if (v <= 0.03928) then
v = v / 12.92
else
v = math.pow((v+0.055)/1.055, 2.4)
end
return v
end
local function rgbdec2lum(R, G, B)
if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then
return 0.2126 * sRGB(R/255) + 0.7152 * sRGB(G/255) + 0.0722 * sRGB(B/255)
else
return ''
end
end
local function hsl2lum(h, s, l)
if ( 0 <= h and h < 360 and 0 <= s and s <= 1 and 0 <= l and l <= 1 ) then
local c = (1 - math.abs(2*l - 1))*s
local x = c*(1 - math.abs( math.fmod(h/60, 2) - 1) )
local m = l - c/2
local r, g, b = m, m, m
if( 0 <= h and h < 60 ) then
r = r + c
g = g + x
elseif( 60 <= h and h < 120 ) then
r = r + x
g = g + c
elseif( 120 <= h and h < 180 ) then
g = g + c
b = b + x
elseif( 180 <= h and h < 240 ) then
g = g + x
b = b + c
elseif( 240 <= h and h < 300 ) then
r = r + x
b = b + c
elseif( 300 <= h and h < 360 ) then
r = r + c
b = b + x
end
return rgbdec2lum(255*r, 255*g, 255*b)
else
return ''
end
end
local function color2lum(c)
if (c == nil) then
return ''
end
-- html '#' entity
c = c:gsub("#", "#")
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)
-- lowercase
c = c:lower()
-- first try to look it up
local L = HTMLcolor[c]
if (L ~= nil) then
return L
end
-- convert from hsl
if mw.ustring.match(c,'^hsl%([%s]*[0-9][0-9%.]*[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local h, s, l = mw.ustring.match(c,'^hsl%([%s]*([0-9][0-9%.]*)[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return hsl2lum(tonumber(h), tonumber(s)/100, tonumber(l)/100)
end
-- convert from rgb
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*%)$')
return rgbdec2lum(tonumber(R), tonumber(G), tonumber(B))
end
-- convert from rgb percent
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return rgbdec2lum(255*tonumber(R)/100, 255*tonumber(G)/100, 255*tonumber(B)/100)
end
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
-- split into rgb
local cs = mw.text.split(c or '', '')
if( #cs == 6 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[2])
local G = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[4])
local B = 16*tonumber('0x' .. cs[5]) + tonumber('0x' .. cs[6])
return rgbdec2lum(R, G, B)
elseif ( #cs == 3 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[1])
local G = 16*tonumber('0x' .. cs[2]) + tonumber('0x' .. cs[2])
local B = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[3])
return rgbdec2lum(R, G, B)
end
-- failure, return blank
return ''
end
-- This exports the function for use in other modules.
-- The colour is passed as a string.
function p._lum(color)
return color2lum(color)
end
function p._greatercontrast(args)
local bias = tonumber(args['bias'] or '0') or 0
local css = (args['css'] and args['css'] ~= '') and true or false
local v1 = color2lum(args[1] or '')
local c2 = args[2] or 'white'
local v2 = color2lum(c2)
local c3 = args[3] or 'black'
local v3 = color2lum(c3)
local ratio1 = -1;
local ratio2 = -1;
if (type(v1) == 'number' and type(v2) == 'number') then
ratio1 = (v2 + 0.05)/(v1 + 0.05)
ratio1 = (ratio1 < 1) and 1/ratio1 or ratio1
end
if (type(v1) == 'number' and type(v3) == 'number') then
ratio2 = (v3 + 0.05)/(v1 + 0.05)
ratio2 = (ratio2 < 1) and 1/ratio2 or ratio2
end
if css then
local c1 = args[1] or ''
if mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c1 = '#' .. c1
end
if mw.ustring.match(c2, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(c2, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c2 = '#' .. c2
end
if mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c3 = '#' .. c3
end
return 'background-color:' .. c1 .. '; color:' .. ((ratio1 > 0) and (ratio2 > 0) and ((ratio1 + bias > ratio2) and c2 or c3) or '') .. ';'
end
return (ratio1 > 0) and (ratio2 > 0) and ((ratio1 + bias > ratio2) and c2 or c3) or ''
end
function p._ratio(args)
local v1 = color2lum(args[1])
local v2 = color2lum(args[2])
if (type(v1) == 'number' and type(v2) == 'number') then
-- v1 should be the brighter of the two.
if v2 > v1 then
v1, v2 = v2, v1
end
return (v1 + 0.05)/(v2 + 0.05)
else
return args['error'] or '?'
end
end
function p._styleratio(args)
local style = (args[1] or ''):lower()
local bg, fg = 'white', 'black'
local lum_bg, lum_fg = 1, 0
if args[2] then
local lum = color2lum(args[2])
if lum ~= '' then bg, lum_bg = args[2], lum end
end
if args[3] then
local lum = color2lum(args[3])
if lum ~= '' then fg, lum_fg = args[3], lum end
end
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';')
for k = 1,#slist do
local s = slist[k]
local k,v = s:match( '^[%s]*([^:]-):([^:]-)[%s;]*$' )
k = k or ''
v = v or ''
if (k:match('^[%s]*(background)[%s]*$') or k:match('^[%s]*(background%-color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_bg = v, lum end
elseif (k:match('^[%s]*(color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_fg = v, lum end
end
end
if lum_bg > lum_fg then
return (lum_bg + 0.05)/(lum_fg + 0.05)
else
return (lum_fg + 0.05)/(lum_bg + 0.05)
end
end
--[[
Use {{#invoke:Color contrast|somecolor}} directly or
{{#invoke:Color contrast}} from a wrapper template.
Parameters:
-- |1= — required; A color to check.
--]]
function p.lum(frame)
local color = frame.args[1] or frame:getParent().args[1]
return p._lum(color)
end
function p.ratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._ratio(args)
end
function p.styleratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._styleratio(args)
end
function p.greatercontrast(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._greatercontrast(args)
end
return p
bx0blwcv5isqzm2jrxnp01lj4148n73
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Colors
10
1636
6252
2025-07-02T14:01:06Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Font color]]
6252
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Font color]]
t9an5twvo92roli038cylxo7xmudcjl
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Resize
10
1637
6253
2025-07-02T14:01:36Z
Saimawnkham
28
Created page with "{{safesubst<noinclude />:#if:{{{2|}}} |<{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}} style="font-size:{{{1|}}};">{{{2|}}}</{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}}> |<{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}} style="font-size:{{{size|90}}}%;">{{{1}}}</{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}}> }}<noinclude> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> </noincl..."
6253
wikitext
text/x-wiki
{{safesubst<noinclude />:#if:{{{2|}}}
|<{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}} style="font-size:{{{1|}}};">{{{2|}}}</{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}}>
|<{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}} style="font-size:{{{size|90}}}%;">{{{1}}}</{{safesubst<noinclude />:#ifeq:{{{div|}}}|yes|div|span}}>
}}<noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>
jbt5r04v9bllgb6hs0brjngki3od8xo
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Resize/doc
10
1638
6254
2025-07-02T14:02:21Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{When pagename is | Template:Resize/doc = {{High-use}} {{COinS safe|n}} {{Resize/doc/main}} | Template:Resize/sandbox = {{Resize/doc/main}} | Template:Resize = {{High-use}} {{COinS safe|n}} {{Resize/doc/main}} | /doc = <div style="margin:0.5em 0;">This template is a tailored shortcut to {{tl|resize}}.</div> | other = {{COinS safe|..."
6254
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{When pagename is
| Template:Resize/doc = {{High-use}} {{COinS safe|n}} {{Resize/doc/main}}
| Template:Resize/sandbox = {{Resize/doc/main}}
| Template:Resize = {{High-use}} {{COinS safe|n}} {{Resize/doc/main}}
| /doc = <div style="margin:0.5em 0;">This template is a tailored shortcut to {{tl|resize}}.</div>
| other = {{COinS safe|n}} <div style="margin:0.5em 0;">This template is a tailored shortcut to {{tl|resize}}.</div>
}}
== Comparison ==
{{Font size templates}}
== See also ==
* [[:Category:Resizing templates]]
* {{tl|smalldiv}}, for wrapping multiple lines of text that cause syntax errors when wrapped by {{tl|resize}} or {{tl|small}}
* [https://developer.mozilla.org/en-US/docs/Web/CSS/font-size font-size - CSS: Cascading Style Sheets | Mozilla Developer Network]
{{Resize/TemplateData}}
<includeonly>{{When pagename is
| Template:Resize = {{sandbox other||
<!-- Add categories below this line, and interwikis at Wikidata -->
[[Category:Resizing templates| ]]
[[Category:TemplateData documentation with overload problems]]
}}
}}</includeonly>
r2t9cj0hqnmylrqnkiit29s5pq7igv6
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:When pagename is
10
1639
6255
2025-07-02T14:02:47Z
Saimawnkham
28
Created page with "{{#if:x <!--Remove surrounding whitespace--> | <!--Check for match with full pagename--> {{{ {{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }} <!--Has data, or is empty but defined--> | <!--Check for match with "User:Somepage/+"--> {{{ {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|1|1}}/+ | <!--Else, are we on a subpage or a basepage?--> {{#if:{{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|2}} | <!..."
6255
wikitext
text/x-wiki
{{#if:x <!--Remove surrounding whitespace-->
| <!--Check for match with full pagename-->
{{{ {{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }} <!--Has data, or is empty but defined-->
| <!--Check for match with "User:Somepage/+"-->
{{{ {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|1|1}}/+
| <!--Else, are we on a subpage or a basepage?-->
{{#if:{{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|2}}
| <!--We are on a subpage, check for match with "User:Somepage/*"-->
{{{ {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|1|1}}/*
| <!--Check for match with "Somepage/*"-->
{{{ {{#titleparts:{{#if:{{{page|}}}| {{PAGENAME:{{{page|}}}}} | {{PAGENAME}} }}|1|1}}/*
| <!--Check for match with "/something"-->
{{{ /{{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}
| <!--Check for match with "/somethin*"-->
{{{ /{{lc: {{padleft:|8| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}*
| <!--Check for match with "/someth*"-->
{{{ /{{lc: {{padleft:|6| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}*
| <!--Check for match with "/some*"-->
{{{ /{{lc: {{padleft:|4| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}* <!--Pad with # so "/a" doesn't match "/aaaa*"-->
| {{{subpage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
}}}
}}}
}}}
}}}
}}}
}}}
| <!--We are on a basepage, check for match with "Somepage"-->
{{{ {{#if:{{{page|}}}| {{PAGENAME:{{{page|}}}}} | {{PAGENAME}} }}
| {{{basepage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
}}}
}} <!--End if, are we on a subpage or a basepage?-->
}}}
}}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
f6ui44rhtrrzwpz6jioqm0fgkeg8gdf
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:When pagename is/doc
10
1640
6256
2025-07-02T14:03:16Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> This is the {{tl|When pagename is}} meta-template. It helps other templates detect what page they are on, using pattern matching on the pagename. == Usage == This template takes one or more parameters. Most of the parameters don't have fixed names, instead they are part of the pattern matching. Like this: <syntaxhighlight..."
6256
wikitext
text/x-wiki
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
This is the {{tl|When pagename is}} meta-template. It helps other templates detect what page they are on, using pattern matching on the pagename.
== Usage ==
This template takes one or more parameters. Most of the parameters don't have fixed names, instead they are part of the pattern matching. Like this:
<syntaxhighlight lang="wikitext">
{{When pagename is
| /doc = Doc page text
| other = Other pages text
}}
</syntaxhighlight>
If the template is on "Template:Example/doc" the code above will return this:
: {{When pagename is
| /doc = Doc page text
| other = Other pages text
| page = Template:Example/doc
}}
If the template is on any ''other'' page than a /doc page it will return this:
: {{When pagename is
| /doc = Doc page text
| other = Other pages text
| page = Template:Example
}}
Here is a description of the full pattern matching:
<syntaxhighlight lang="wikitext">
{{When pagename is
<!-- Match on full pagename -->
| User:Example/test = Text for "User:Example/test".
| User:Example = Text for "User:Example".
| User talk:Example = Text for "User talk:Example".
<!-- Match on full basepage name, when on a basepage or its subpages -->
| User:Example/+ = Matches "User:Example" and "User:Example/test".
<!-- Match on pagename, when on a basepage -->
| Example = Matches "User:Example", "User talk:Example", "Template:Example"
and so on, but not "User:Example/something".
<!-- Match on full basepage name, when on a subpage -->
| User:Example/* = Matches "User:Example/something", but not "User:Example".
| User talk:Example/* = Matches "User talk:Example/something".
<!-- Match on basepage name, when on a subpage -->
| Example/* = Matches "User:Example/something" and "User talk:Example/something".
<!-- Match on subpage name -->
| /something = Any pagename that ends in "/something".
| /doc = Any pagename that ends in "/doc".
<!-- Match on partial subpage name (case-insensitive) -->
| /some* = Any subpage name beginning with "/some" or "/Some".
| /arch* = Matches "User talk:Example/Archive 1".
<!-- Defaults -->
| basepage = Text for any basepage.
| subpage = Text for any subpage.
| other = Text for any page.
}}
</syntaxhighlight>
The matching goes from top to bottom, and returns the first parameter that matches. "''Top to bottom''" means the order shown above, not the order you happen to feed the parameters.
There's no limit to the number of parameters that you can use, other than what the servers and MediaWiki system can handle.
Most of the matching is case-sensitive. For instance "<code>/test</code>" matches "User:Example/test" but not "User:Example/Test".
Matching on partial subpage names such as "<code>/some*</code>" has some limitations, see [[#Partial subpage names|its own section]] below.
If an empty (but defined) parameter matches, the matching stops and the template returns an empty string. That's on purpose and can be used like this:
<syntaxhighlight lang="wikitext">
{{When pagename is
| /doc =
| /sandbox = Sandbox text
| other = Other pages text
}}
</syntaxhighlight>
The code above will render nothing when on a /doc page. But when on a /sandbox page it will return this:
: {{When pagename is
| /doc =
| /sandbox = Sandbox text
| other = Other pages text
| page = Template:Example/sandbox
}}
And when on any other page it will return this:
: {{When pagename is
| /doc =
| /sandbox = Sandbox text
| other = Other pages text
| page = Template:Example
}}
== Partial subpage names ==
This template can also match on partial subpage names. Like this:
<syntaxhighlight lang="wikitext">
{{When pagename is
| /archiv* = Archive page text
| other = Other pages text
}}
</syntaxhighlight>
If on "User:Example/Archive 1" the code above will return this:
: {{When pagename is
| /archiv* = Archive page text
| other = Other pages text
| page = User:Example/Archive 1
}}
The parameter name "<code>/some*</code>" must be lower case. But it matches subpage names in both upper and lower case such as "User:Example/SomeThing" and "User:Example/something".
The partial matching only supports matching on 4, 6 and 8 characters. Thus using "<code>/some*</code>", "<code>/someth*</code>" and "<code>/somethin*</code>" works, but using "<code>/som*</code>" or "<code>/somet*</code>" doesn't work.
Longer patterns match first, thus if both "<code>/somethin*</code>" and "<code>/some*</code>" are defined, and the current page is "User:Example/Something", then the data from "<code>/somethin*</code>" will be used.
== "page" parameter ==
For testing and demonstration purposes this template can take a parameter named '''page'''. Like this:
<syntaxhighlight lang="wikitext">
{{When pagename is
| /test = Test pages text
| other = Other pages text
| page = Template:Example/test
}}
</syntaxhighlight>
No matter on what kind of page the code above is used it will return this:
: {{When pagename is
| /test = Test pages text
| other = Other pages text
| page = Template:Example/test
}}
The '''page''' parameter makes this template behave exactly as if on that page. The pagename doesn't have to be an existing page.
If the '''page''' parameter is empty or undefined, the name of the current page determines the result.
You can make it so your template also understands the '''page''' parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:
<syntaxhighlight lang="wikitext">
{{When pagename is
| /test = Test pages text
| other = Other pages text
| page = {{{page|}}}
}}
</syntaxhighlight>
== Namespace matching ==
This template doesn't have namespace matching. If you need that then combine this template with one of the namespace-detection templates such as {{tl|When on template page}}. Like this:
<syntaxhighlight lang="wikitext">
{{When on template page
| {{When pagename is
| /doc = Template doc page text.
}}
| <!--(action if not on a Template: page)-->
}}
</syntaxhighlight>
If on "User:Example/doc" the code above will return nothing. But if on "Template:Example/doc" it will return this:
: {{When on template page |demospace=template
| {{When pagename is
| /doc = Template doc page text.
| page = Template:Example/doc
}}
| <!--(action if not on a Template: page)-->
}}
== Technical details ==
This template detects subpages even when used in namespaces that don't have the MediaWiki [[meta:Link#Subpage feature|subpage feature]] enabled. Thus this template works the same in all namespaces.
For more technical details, see the [[Template talk:When pagename is|talk page]].
{{Namespace and pagename-detecting templates}}
<includeonly>{{Sandbox other|
| <!--Categories below this line, please; interwikis at Wikidata-->
[[Category:If-then-else templates]]
[[Category:Pagename manipulation templates]]
[[Category:Wikipedia metatemplates]]
}}</includeonly>
i2oo1e420ujolw3hvqfewvmez26dkat
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Font size templates
10
1641
6257
2025-07-02T14:03:56Z
Saimawnkham
28
Created page with "{| class="wikitable" |+ Font size templates {{view|Template:Font size templates|edit|brackets=y}} |- ! Code for inline content !! Code for block content !! Size !! Result |- | {{tlx|small|text}} || {{tlx|smalldiv|text}} || 85% || {{small|text}} |- | {{tlx|resize|text}} || {{tlx|resizediv|text}} || 90% || {{resize|text}} |- | {{CNone|none}} || {{CNone|none}} || 100% || text |- | {{tlx|large|text}} || {{tlx|largediv|text}} || 120% || {{large|text}} |- | {{tlx|huge|t..."
6257
wikitext
text/x-wiki
{| class="wikitable"
|+ Font size templates {{view|Template:Font size templates|edit|brackets=y}}
|-
! Code for inline content !! Code for block content !! Size !! Result
|-
| {{tlx|small|text}} || {{tlx|smalldiv|text}} || 85% || {{small|text}}
|-
| {{tlx|resize|text}} || {{tlx|resizediv|text}} || 90% || {{resize|text}}
|-
| {{CNone|none}} || {{CNone|none}} || 100% || text
|-
| {{tlx|large|text}} || {{tlx|largediv|text}} || 120% || {{large|text}}
|-
| {{tlx|huge|text}} || || 180% || {{huge|text}}
|-
| {{tlx|resize|<var>x</var>%|text}} || {{tlx|resizediv|<var>x</var>%|text}} || custom || varies
|-
| {{tlx|font|size{{=}}<var>x</var>%}} || || custom || varies
|}<noinclude>
[[Category:Resizing templates| ]]
</noinclude>
dqvndc96j1fg3ug0iud19a8t7vyzyn5
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:CNone
10
1642
6258
2025-07-02T14:05:04Z
Saimawnkham
28
Created page with "<noinclude>{| class="wikitable" |- |</noinclude>style="background: #EEE; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-cast"|{{{1|<!-- Accessibility text for screen readers only --><span style="display: none">Does not appear</span>}}}<noinclude> |} {{Documentation|Template:Table cell templates/doc}} [[Category:Television table cell templates]] </noinclude>"
6258
wikitext
text/x-wiki
<noinclude>{| class="wikitable"
|-
|</noinclude>style="background: #EEE; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-cast"|{{{1|<!-- Accessibility text for screen readers only --><span style="display: none">Does not appear</span>}}}<noinclude>
|}
{{Documentation|Template:Table cell templates/doc}}
[[Category:Television table cell templates]]
</noinclude>
dh4dc6ir4xdqewid41s92hwh3p6y9jj
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Table cell templates/doc
10
1643
6259
2025-07-02T14:05:29Z
Saimawnkham
28
Created page with "<noinclude>{{Documentation subpage}}</noinclude>{{#switch: {{FULLPAGENAME}} | Template:BLACK = {{For|the text color template|Template:Black}} | Template:Ya = {{For|the template with a smaller tick and no green background|Template:Aye}} | Template:Maybe = {{For|the yellow tick template|Template:Mby}} | Template:TBA = {{distinguish|Template:TBD}} | Template:Pending = {{For|the comment templates with small icons|Template:Tobedone|Template:Bug pending|Template:PendingRequest..."
6259
wikitext
text/x-wiki
<noinclude>{{Documentation subpage}}</noinclude>{{#switch: {{FULLPAGENAME}}
| Template:BLACK = {{For|the text color template|Template:Black}}
| Template:Ya = {{For|the template with a smaller tick and no green background|Template:Aye}}
| Template:Maybe = {{For|the yellow tick template|Template:Mby}}
| Template:TBA = {{distinguish|Template:TBD}}
| Template:Pending = {{For|the comment templates with small icons|Template:Tobedone|Template:Bug pending|Template:PendingRequest}}
| Template:Correct = {{distinguish|Template:Correct title}}
}}<!--
-->{{#ifeq:{{#invoke:High-use|num|x|demo={{FULLPAGENAME}}}}|many||{{High-use|demo={{FULLPAGENAME}}}}}}
The templates in this series are designed to be used in a [[Help:Table|table]] to make a cell with text in that cell, with an appropriately colored background. They are commonly used in [[:Category:Comparisons|comparison tables]]. Most of these templates should not be used simply to produce a background color, use them according to their meaning.
For example, {{Tlc|yes}} makes a cell with a green background. The text in the cell is taken from the [[Help:Template#Parameters|first parameter]]; <syntaxhighlight lang="wikitext" inline=yes>{{yes|Sure}}</syntaxhighlight> would output "Sure" otherwise it defaults to "Yes". Most templates allow authors to override the default text in this way, some require text put after the template call and some also need a vertical bar in between: <syntaxhighlight lang="wikitext" inline=yes>{{table cell template}} text</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline=yes>{{table cell template}} | text</syntaxhighlight>. This information, the colors and default texts are found in the table below.
{{Warnsign|Important:}} If you want to use other attributes for the table cells that do not appear in the "Code" section below, ''e.g.'' <code>colspan</code>, <code>rowspan</code>, or <code>style</code>, they need to be put before the template call, and there must be '''no vertical bar (aka pipe) <code>|</code>''' in-between them:
{| class=wikitable align=right
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 style="border:solid 3px Maroon" {{Yes-No}}
|}
<syntaxhighlight lang="wikitext">...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 style="border:solid 3px Maroon" {{Yes-No}}
...
</syntaxhighlight>
== Templates ==
<div style="overflow:100%;">
{{sticky header}}
{| class="wikitable sortable sticky-header-multi" style="width:100%; text-align:left;"
|+ Table cell templates
! scope="col" rowspan=2 class=unsortable | Class<ref>The HTML class of table cell templates may be referenced in a [[m:help:User style|user stylesheet]] to change appearance.</ref>
! scope="colgroup" colspan=2 class=unsortable | Default
! scope="colgroup" colspan=2 class=unsortable | Customized
|-
! scope="col" class=unsortable | Syntax
! scope="col" class=unsortable | Preview
! scope="col" class=unsortable | Syntax
! scope="col" class=unsortable | Preview
|-
|rowspan=2| {{tt|table-rh}}
| {{tlx|rh}} {{tt|{{!}} Row header}}<ref name="table-cell-templates-table-after+pipe" /> || {{rh}} | Row header || {{tlx|rh|2=align=right}} {{mono|{{!}} Row header}} || {{rh|align=right}} | Row header
|-
| {{tlx|rh2}} {{tt|{{!}} Row header}}<ref name="table-cell-templates-table-after+pipe">Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.</ref> || {{rh2}} | Row header || {{tlx|rh2|2=align=center}} {{mono|{{!}} Row header}} || {{rh2|align=center}} | Row header
|-
|rowspan=4| {{tt|table-yes}}
| {{tlx|yes}} || {{yes}} || {{tlx|yes|<nowiki>customized [[Plain text|text]]</nowiki>}} ||{{yes|customized [[Plain text|text]]}}
|-
| {{tlx|yes C}} || {{yes C}} || {{tlx|yes C|<nowiki>customized [[Plain text|text]]</nowiki>}} ||{{yes C|customized [[Plain text|text]]}}
|-
| {{tlx|yes O}} || {{yes O}} || {{tlx|yes O|<nowiki>customized [[Plain text|text]]</nowiki>}} ||{{yes O|customized [[Plain text|text]]}}
|-
| {{tlx|yes N}} || {{yes N}} || {{tlx|yes N|<nowiki>customized [[Plain text|text]]</nowiki>}} || {{yes N|customized [[Plain text|text]]}}
|-
| {{tt|table-maybe}}
| {{tlx|maybe}} || {{maybe}} || {{tlx|maybe|<nowiki>customized [[Plain text|text]]</nowiki>}} ||{{maybe|customized [[Plain text|text]]}}
|-
|rowspan=9| {{tt|table-no}}
| {{tlx|no}} || {{no}} || {{tlx|no|<nowiki>customized [[Plain text|text]]</nowiki>}} || {{no|customized [[Plain text|text]]}}
|-
| {{tlx|no O}} || {{no O}} || {{tlx|no O|<nowiki>customized [[Plain text|text]]</nowiki>}} || {{no O|customized [[Plain text|text]]}}
|-
| {{tlx|no X}} || {{no X}} || {{tlx|no X|<nowiki>customized [[Plain text|text]]</nowiki>}} || {{no X|customized [[Plain text|text]]}}
|-
| {{tlx|eliminated}} || {{eliminated}} || {{tlx|eliminated|dropped out}} || {{eliminated|dropped out}}
|-
| {{tlx|lost}} || {{lost}} || {{tlx|lost|missing}} || {{lost|missing}}
|-
| {{tlx|active fire}}<ref>This template is related to {{WikiProject link|Wildfire}}.</ref> || {{active fire}} ||{{tlx|active fire|12%}}||{{active fire|12%}}
|-
| {{tlx|member inactive}} || {{member inactive}} || {{tlx|member inactive}} (Last active 2017) || {{member inactive}} (Last active 2017)
|-
| {{tlx|safe}} || {{safe}} || {{tlx|safe|protected}} || {{safe|protected}}
|-
| {{tlx|no Y}} || {{no Y}} || {{tlx|no Y|<nowiki>customized [[plain text|text]]</nowiki>}} ||{{no Y|customized [[plain text|text]]}}
|-
| {{tt|table-active}}
| {{tlx|active}} || {{active}} || {{tlx|active|live}} || {{active|live}}
|-
|rowspan=2| {{tt|table-siteactive}}
| {{tlx|site active}} || {{site active}} || {{tlx|site active|up}} || {{site active|up}}
|-
| {{tlx|coming soon}} || {{coming soon}} || {{tlx|coming soon|second half of the year}} || {{coming soon|second half of the year}}
|-
| {{tt|table-siteinactive}}
| {{tlx|site inactive}} || {{site inactive}} || {{tlx|site inactive|down}} || {{site inactive|down}}
|-
| rowspan=2 |{{tt|table-success}}
| {{tlx|success}} || {{success}} || {{tlx|success|mission complete}} || {{success|mission complete}}
|-
| {{tlx|operational}} || {{operational}} || {{tlx|operational|returning data}} || {{operational|returning data}}
|-
| {{tt|table-failure}}
| {{tlx|failure}} || {{failure}} || {{tlx|failure|wrong orbit}} || {{failure|wrong orbit}}
|-
|rowspan=12| {{tt|table-yes2}}
| {{tlx|yes2}} || {{yes2}} || {{tlx|yes2|text}} || {{yes2|text}}
|-
| {{tlx|good}} || {{good}} || {{tlx|good|A}} || {{good|A}}
|-
| {{tlx|ya}} || {{ya}} || {{tlx|ya|text{{=}}ya}} || {{ya|text=ya}}
|-
| {{tlx|ya|Ya}} || {{ya|Ya}} || {{tlx|ya|text|link{{=}}WP:ALT}} || {{ya|text|link=WP:ALT}}
|-
| {{tlx|yan}} || {{yan}} || {{tlx|yan|text{{=}}ya}} || {{yan|text=ya}}
|-
| {{tlx|won}} || {{won}} || {{tlx|won|text{{=}}white|color{{=}}darkblue|winner}} || {{won|text=white|color=darkblue|winner}}
|-
| {{tlx|won|place{{=}}1}} || {{won|place=1}} || {{tlx|won|place{{=}}gold}} || {{won|place=gold}}
|-
| {{tlx|won|place{{=}}2}} || {{won|place=2}} || {{tlx|won|place{{=}}silver}} || {{won|place=silver}}
|-
| {{tlx|won|place{{=}}3}} || {{won|place=3}} || {{tlx|won|place{{=}}bronze}} || {{won|place=bronze}}
|-
| {{tlx|WinDL}} || {{WinDL}} || {{tlx|WinDL|win}} || {{WinDL|win}}
|-
| {{tlx|WinDL|res{{=}}D}} || {{WinDL|res=D}} || {{tlx|WinDL|res{{=}}draw}} || {{WinDL|res=draw}}
|-
| {{tlx|WinDL|res{{=}}L}} || {{WinDL|res=L}} || {{tlx|WinDL|res{{=}}loss}} || {{WinDL|res=loss}}
|-
|rowspan=9| {{tt|table-no2}}
| {{tlx|no2}} || {{no2}} || {{tlx|no2|text}} || {{no2|text}}
|-
| {{tlx|na}} || {{na}} || {{tlx|na|text{{=}}na}} || {{na|text=na}}
|-
| {{tlx|na|Na}} || {{na|Na}} || {{tlx|na|text|link{{=}}WP:ALT}} || {{na|text|link=WP:ALT}}
|-
| {{tlx|nan}} || {{nan}} || {{tlx|nan|text{{=}}na}} || {{nan|text=na}}
|-
| {{tlx|nom}} || {{nom}} || {{tlx|nom|5}} || {{nom|5}}
|-
| {{tlx|notnom}} || {{notnom}} || | {{tlx|notnom|not selected}} || {{notnom|not selected}}
|-
| {{tlx|shortlisted}} || {{shortlisted}} || {{tlx|shortlisted|proposed}} || {{shortlisted|proposed}}
|-
| {{tlx|longlisted}} || {{longlisted}} || {{tlx|longlisted|rejected}} || {{longlisted|rejected}}
|-
| {{tlx|TBA}} || {{TBA}} || {{tlx|TBA|to be announced}} || {{TBA|to be announced}}
|-
| rowspan=16| {{tt|table-partial}}
| {{tlx|partial}} || {{partial}} || {{tlx|partial|almost done}} ||{{partial|almost done}}
|-
| {{tlx|Regional}} || {{Regional}} || {{tlx|Regional|Uyghur}} || {{Regional|Uyghur}}
|-
| {{tlx|MaybeCheck}} || {{MaybeCheck}} || {{tlx|MaybeCheck|text{{=}}possibly}} || {{MaybeCheck|text=possibly}}
|-
| {{tlx|MaybeCheck|possibly}} || {{MaybeCheck|possibly}} || {{tlx|MaybeCheck|text|link{{=}}WP:ALT}} || {{MaybeCheck|text|link=WP:ALT}}
|-
| {{tlx|partial success}} || {{partial success}} || {{tlx|partial success|<br />reached orbit and returned pictures}} || {{partial success|reached orbit and returned pictures}}
|-
| {{tlx|partial failure}} || {{partial failure}} || {{tlx|partial failure|<nowiki>[[</nowiki>Cubesat]] not deployed}} || {{partial failure|[[Cubesat]] not deployed}}
|-
| {{tlx|okay}} || {{okay}} || {{tlx|okay|C}} || {{okay|C}}
|-
| {{tlx|Yes-No}} || {{Yes-No}} || {{tlx|Yes-No|yes with an if; no with a but}} || {{Yes-No|yes with an if; no with a but}}
|-
| {{tlx|some}} || {{some}} || {{tlx|some|many}} || {{some|many}}
|-
| {{tlx|pending}} || {{pending}} || {{tlx|pending|awaiting}} || {{pending|awaiting}}
|-
| {{tlx|sometimes}} || {{sometimes}} || {{tlx|sometimes|occasionally}} || {{sometimes|occasionally}}
|-
| {{tlx|rarely}} || {{rarely}} || {{tlx|rarely|seldom}}|| {{rarely|seldom}}
|-
| {{tlx|usually}} || {{usually}} || {{tlx|usually|commonly}} || {{usually|commonly}}
|-
| {{tlx|unofficial}} || {{unofficial}} || {{tlx|unofficial|<nowiki>''de facto''</nowiki>}} || {{unofficial|''de facto''}}
|-
| {{tlx|unofficial2}} || {{unofficial2}} || {{tlx|unofficial2|<nowiki>''de facto''</nowiki>}} || {{unofficial2|''de facto''}}
|-
| {{tlx|nonpartisan}} || {{nonpartisan}} || {{tlx|nonpartisan|impartial}} || {{nonpartisan|impartial}}
|-
| {{tt|table-any}}
| {{tlx|any}} || {{any}} || {{tlx|any|anyone}}|| {{any|anyone}}
|-
| {{tt|table-automatic}}
| {{tlx|perhaps}} || {{perhaps}} || {{tlx|perhaps|maybe}} || {{perhaps|maybe}}
|-
| {{tt|table-draw}}
| {{tlx|draw}} || {{draw}} || {{tlx|draw|1:1}} || {{draw|1:1}}
|-
| {{tt|table-noAttempt}}
| {{tlx|No attempt}} || {{No attempt}} || {{tlx|No attempt|No landing attempted}} || {{No attempt|No landing attempted}}
|-
|rowspan=7| {{tt|table-na}}
| {{tlx|n/a}} || {{n/a}} || {{tlx|n/a|unavailable}}|| {{n/a|unavailable}}
|-
| {{tlx|varies}} || {{varies}} || {{tlx|varies|differs}}|| {{varies|differs}}
|-
| {{tlx|non-album single}}<ref>This template is related to {{WikiProject link|Songs}}.</ref> || {{non-album single}} || {{tlx|non-album single|EP}} || {{non-album single|EP}}
|-
| {{tlx|unreleased}} || {{unreleased}} || {{tlx|unreleased|shelved}} || {{unreleased|shelved}}
|-
| {{tlx|BLACK}} || {{BLACK}} || {{tlx|BLACK|banned}} || {{BLACK|banned}}
|-
| {{tlx|sdash}} || {{sdash}} || {{tlx|sdash}}|| {{sdash}}
|-
| {{tlx|vacant}} || {{vacant}} || {{tlx|vacant|missing}} || {{vacant|missing}}
|-
|rowspan=2| {{tt|table-unknown}}
| {{tlx|unknown}} || {{Unknown}} || {{tlx|unknown|?}} || {{unknown|?}}
|-
| {{tlx|dunno}} || {{Dunno}} || {{tlx|dunno|not sure}} || {{dunno|not sure}}
|-
| {{tt|table-included}}
| {{tlx|included}} || {{included}} || {{tlx|included|incorporated}} || {{included|incorporated}}
|-
| {{tt|noresult}}
| {{tlx|no result}} || {{no result}} || {{tlx|no result|NR}} || {{no result|NR}}
|-
| {{tt|table-planned}}
| {{tlx|planned}} || {{planned}} || {{tlx|planned|July 2028}} || {{planned|July 2028}}
|-
| {{tt|table-scheduled}}
| {{tlx|scheduled}} || {{scheduled}} || {{tlx|scheduled|3 March 2027}} || {{scheduled|3 March 2027}}
|-
|rowspan=10| {{tt|table-software}}<ref>This group of templates is related to {{WikiProject link|Software}}.</ref>
| {{tlx|beta}} || {{beta}} || {{tlx|beta|preview}} || {{beta|preview}}
|-
| {{tlx|table-experimental}} || {{table-experimental}} || {{tlx|table-experimental|lab}} || {{table-experimental|lab}}
|-
| {{tlx|nightly}} || {{nightly}} || {{tlx|nightly|dev}} || {{nightly|dev}}
|-
| {{tlx|release-candidate}} || {{release-candidate}} || {{tlx|release-candidate|RC}} || {{release-candidate|RC}}
|-
| {{tlx|Stable version}} || {{Stable version}} || {{tlx|Stable version}} || {{Stable version}}
|-
| {{tlx|open source}} || {{open source}} || {{tlx|open source|software libre}} || {{open source|software libre}}
|-
| {{tlx|free}} || {{free}} || {{tlx|free|empty}} || {{free|empty}}
|-
| {{tlx|proprietary}} || {{proprietary}} || {{tlx|proprietary|custom extension}} || {{proprietary|custom extension}}
|-
| {{tlx|nonfree}} || {{nonfree}} || {{tlx|nonfree|paid}} || {{nonfree|paid}}
|-
| {{tlx|needs}} || {{needs}} || {{tlx|needs|req.}} || {{needs|req.}}
|-
| {{tt|table-depends}}
| {{tlx|depends}} || {{depends}} || {{tlx|depends|vendor-defined}} || {{depends|vendor-defined}}
|-
|rowspan=2| {{tt|table-dropped}}
| {{tlx|dropped}} || {{dropped}} || {{tlx|dropped|discontinued}} || {{dropped|discontinued}}
|-
| {{tlx|terminated}} || {{terminated}} || {{tlx|terminated|fired}} || {{terminated|fired}}
|-
| {{tt|incorrect}}
| {{tlx|incorrect}} || {{incorrect}} || {{tlx|incorrect|wrong}} || {{incorrect|wrong}}
|-
| rowspan=8 | {{tt|table-debate}}
| {{tlx|D-P}} || {{D-P}} || {{tlx|D-P|present}} || {{D-P|present}}
|-
| {{tlx|D-A}} || {{D-A}} || {{tlx|D-A|absent}} || {{D-A|absent}}
|-
| {{tlx|D-I}} || {{D-I}} || {{tlx|D-I|invited}} || {{D-I|invited}}
|-
| {{tlx|D-O}} || {{D-O}} || {{tlx|D-O|other debate}} || {{D-O|other debate}}
|-
| {{tlx|D-N}} || {{D-N}} || {{tlx|D-N|not invited}} || {{D-N|not invited}}
|-
| {{tlx|D-Nv}} || {{D-Nv}} || {{tlx|D-Nv|not voting}} || {{D-Nv|not voting}}
|-
| {{tlx|D-W}} || {{D-W}} || {{tlx|D-W|withdrawn}} || {{D-W|withdrawn}}
|-
| {{tlx|D-Out}} || {{D-Out}} || {{tlx|D-Out|out of race}} || {{D-Out|out of race}}
|-
|rowspan=14| {{tt|table-cast}}<ref>This group of templates is related to {{WikiProject link|Television}}.</ref>
| {{tlx|CMain}} || {{CMain}} || {{tlx|CMain|text}} || {{CMain|text}}
|-
| {{tlx|CAlso starring}} || {{CAlso starring}} || {{tlx|CAlso starring|costar}} || {{CAlso starring|costar}}
|-
| {{tlx|CRecurring}} || {{CRecurring}} || {{tlx|CRecurring|regular guest}} || {{CRecurring|regular guest}}
|-
| {{tlx|CGuest}} || {{CGuest}} || {{tlx|CGuest|victim}} || {{CGuest|victim}}
|-
| {{tlx|COther}} || {{COther}} || {{tlx|COther|ensemble}} || {{COther|ensemble}}
|-
| {{tlx|CNone}} || {{CNone}} || {{tlx|CNone|cast}} || {{CNone|cast}}
|-
| {{tlx|CRemoved}} || {{CRemoved}} || {{tlx|CRemoved|edited}} || {{CRemoved|edited}}
|-
| {{tlx|CFinalist}} || {{CFinalist}} || {{tlx|CFinalist|contender}} || {{CFinalist|contender}}
|-
| {{tlx|CFinalist|place{{=}}3rd Place}} || {{CFinalist|place=3rd Place}} || {{tlx|CFinalist|place{{=}}third place}} || {{CFinalist|place=third place}}
|-
| {{tlx|exempt}} || {{exempt}} || {{tlx|exempt|exe}} || {{exempt|exe}}
|-
| {{tlx|Black Exempt}} || {{Black Exempt}} || {{tlx|Black Exempt|lack}} || {{Black Exempt|lack}}
|-
| {{tlx|nocontest}} || {{nocontest}} || {{tlx|nocontest|rescheduled}} || {{nocontest|rescheduled}}
|-
| {{tlx|Runner-up}} || {{Runner-up}} || {{tlx|Runner-up|2nd Place}} || {{Runner-up|2nd Place}}
|-
| {{tlx|Quit}} || {{Quit}} || {{tlx|Quit|left}} || {{Quit|left}}
|-
|rowspan=10| ''no class''
| {{tlx|not yet}} || {{not yet}} || {{tlx|not yet|NY}} || {{not yet|NY}}
|-
| {{tlx|optional}} || {{optional}} || {{tlx|optional|non-mandatory}} || {{optional|non-mandatory}}
|-
| {{tlx|shade|100}}% || {{shade|100}}% || {{tlx|shade|color{{=}}blue|100}}% || {{shade|color=blue|100}}%
|-
| {{tlx|shade|75}}% || {{shade|75}}% || {{tlx|shade|color{{=}}blue|75|73–78}}% || {{shade|color=blue|75|73–78}}%
|-
| {{tlx|shade|25}}% || {{shade|25}}% || {{tlx|shade|color{{=}}blue|25|<nowiki>{{val|25|2|u=%}}</nowiki>}} || {{shade|color=blue|25|{{val|25|2|u=%}}}}
|-
| {{tlx|shade|0}}% || {{shade|0}}% || {{tlx|shade|color{{=}}blue|0}}% || {{shade|color=blue|0}}%
|-
| {{tlx|cell color|2|0|10}} || {{cell color|2|0|10}} || {{tlx|cell color|5|0|10|FF0000|0000FF}} || {{cell color|2|0|10|FF0000|0000FF}}
|-
| {{tlx|CellCategory|1}} || {{CellCategory|1}} || {{tlx|CellCategory|1|Group A}} || {{CellCategory|1|Group A}}
|-
| {{tlx|CellCategory|2}} || {{CellCategory|2}} || {{tlx|CellCategory|2|Group B|align{{=}}tc}} || {{CellCategory|2|Group B|align=tc}}
|-
| {{tlx|CellCategory|3}} || {{CellCategory|3}} || {{tlx|CellCategory|3|Group C|align{{=}}tr}} || {{CellCategory|3|Group C|align=tr}}
|}</div>
{{notelist}}
== Code ==
Common code to most if not all the templates in this series:
:<code>{{Table cell templates|class=''automatic''|text=''text''|bg=#''abcdef''}}</code>
<includeonly>Code specific to this template:
:<code>{{ {{#switch:{{SUBPAGENAME}}|doc={{#titleparts:{{FULLPAGENAME}}|-1}}|#default={{FULLPAGENAME}}}} }}</code>{{#if:{{{doc|}}}|<!-- force newline after nowiki tags --><nowiki></nowiki>
{{{doc}}}|<!-- no newline if there is no additional documentation -->}}</includeonly>
== Creating new templates ==
To make a new table cell template you can use:
:<syntaxhighlight lang="wikitext" inline=yes>{{subst:Table cell templates|text= default text |bg= background color |class= a class name without prefix |align= standard horizontal alignment}}</syntaxhighlight>
You should leave out the <code>align</code> parameter and often the <code>class</code> parameter is unnecessary, too.
Add the new template to the table in the [[Template:Table cell templates/doc|common documentation]] afterwards. Please consider reusing one of the other templates and please choose the color sensibly.
If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, ''do not'' duplicate the template! Instead, edit the template and change the text to a default parameter substitution. For example, if a template's text is <code>Dropped</code>, change that to <code><nowiki>{{{1|Dropped}}}</nowiki></code>.
:<syntaxhighlight lang=text inline>style="background: #abcdef; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="automatic table-automatic"| {{{1|text}}}</syntaxhighlight>
== Choosing a color ==
When changing or creating a new template, follow the [[HELP:COLOR|use of colour guidelines]] and the [[MOS:COLOR|color accessibility guidelines]] when choosing the background color and, sometimes, the text color. Many of these templates can be used with links to other articles or references, so the links should be clearly identifiable against the background color. You can check contrast level using the [https://webaim.org/resources/contrastchecker/ WebAIM contrast checker] by setting the foreground color to the [[WP:LINKCOLOR|blue link]] color. Contrast should be at the minimum WCAG AA level and, whenever possible, at WCAG AAA level. [[Wikipedia:Manual of Style/Accessibility/Colors]] has a set of colors that comply with WCAG AAA and WCAG AA for unvisited links and normal text.
== Color subpage ==
All templates should either have a <code>/bgcolor</code> subpage that contains nothing but a valid CSS color code, possibly wrapped in ''nowiki'' tags, e.g. <code><nowiki>#BFD</nowiki></code>, which can be included with <code><nowiki>background: {{/bgcolor}};</nowiki></code> in the <code>style</code> attribute, or they should reference another template's subpage, e.g. <code><nowiki>background: {{Template:Yes2/bgcolor}};</nowiki></code>. Alternatively, the <code>/bgcolor</code> subpage may redirect to another color code subpage: <code><nowiki>#REDIRECT [[yes2/bgcolor]]</nowiki></code>.
This way, pages that are using these templates may also use {{tl|legend}} and similar templates which can reference the actual color: <code><nowiki>{{legend|{{yes2/bgcolor}}|supported}}</nowiki></code>
== TemplateData ==
{{TemplateData header|{{#if:{{{1|}}}|{{{1}}}|{{BASEPAGENAME}}}}}}
{{{templatedata|<templatedata>
{
"description": "One of several templates for styling individual table cells with standard contents and colors.",
"format": "inline",
"params": {
"1": {
"label": "text",
"description": "text to be displayed instead of the default; if this doesn't work put the text after the template, possibly with a vertical bar | in between",
"type": "content",
"default": "(template dependent)",
"required": false,
"suggested": false
},
"align": {
"label": "horizontal align",
"description": "text alignment inside the cell, either 'left', 'right', 'center' or 'justified'",
"default": "center",
"inherits": "1",
"type": "string",
"suggested": false,
"suggestedvalues": [
"left",
"center",
"right",
"justified"
]
},
"style": {
"label": "style",
"description": "a semicolon-separated list of additional CSS rules to be applied to the table cell",
"inherits": "1",
"type": "string",
"suggested": false
},
"color": {
"label": "background color",
"description": "a valid CSS color value or name to override the standard cell background, only available with some templates",
"inherits": "1",
"type": "line",
"suggested": false
}
}
}
</templatedata>}}}
== See also ==
* {{tl|Change}} – calculates, displays and color-codes changes between two values
* {{tl|Cell color}} – Shaded cell based on value in a range with automatic text visibility
* {{tl|BSD-lic}} – specialized redirect for {{tlf|free}}
* {{tl|GPL-lic}} – specialized redirect for {{tlf|free}}
* {{tl|LGPL-lic}} – specialized redirect for {{tlf|free}}
* {{tl|Active}} / {{tl|No result}} / {{tl|Eliminated}} for {{C|Comparisons|comparison tables}}
== Notes ==
{{reflist}}
<includeonly>{{Sandbox other||{{#switch:{{SUBPAGENAME}}|doc=|#default=
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Unified table cell templates]]
}}}}</includeonly>
q5grrwg7n93bhwzj4v1bum4kj1vokui
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Yes
10
1644
6260
2025-07-02T14:06:40Z
Saimawnkham
28
Created page with "<noinclude> {| class="wikitable" |- |</noinclude>style="background:#9EFF9E;color:black;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-yes"|{{{1|Yes}}}<noinclude> |} {{documentation}} </noinclude>"
6260
wikitext
text/x-wiki
<noinclude>
{| class="wikitable"
|-
|</noinclude>style="background:#9EFF9E;color:black;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-yes"|{{{1|Yes}}}<noinclude>
|}
{{documentation}}
</noinclude>
bgtt7vrln31bhly7j9zj7qq9axxg01v
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Yes/doc
10
1645
6261
2025-07-02T14:09:03Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> {{Table cell templates/doc}} <includeonly> <!-- CATEGORIES HERE, THANKS --> </includeonly>"
6261
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{Table cell templates/doc}}
<includeonly>
<!-- CATEGORIES HERE, THANKS -->
</includeonly>
fkznsghg9m6mgetfyv8f7eov0509uwt
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:No
10
1646
6262
2025-07-02T14:09:32Z
Saimawnkham
28
Created page with "<noinclude>{| class="wikitable" |- |</noinclude>style="background:#FFC7C7;color:black;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-no"|{{{1|No}}}<noinclude> |} {{documentation}} </noinclude>"
6262
wikitext
text/x-wiki
<noinclude>{| class="wikitable"
|-
|</noinclude>style="background:#FFC7C7;color:black;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-no"|{{{1|No}}}<noinclude>
|}
{{documentation}}
</noinclude>
nghoiochp86tws0qygulg4wjodf0sse
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:No/doc
10
1647
6263
2025-07-02T14:09:53Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> {{Table cell templates/doc}} <includeonly>{{Sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>"
6263
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Table cell templates/doc}}
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
}}</includeonly>
jta5hxs0ko5n4y83bg0kof83yq6256o
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:N/a
10
1648
6264
2025-07-02T14:10:18Z
Saimawnkham
28
Created page with "<noinclude>{| class="wikitable" |- | </noinclude><onlyinclude>data-sort-value="{{{sort|}}}" style="background: var(--background-color-interactive, #ececec); color: var(--color-base, inherit); vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-na" <!-- -->| {{{1|—}}}</onlyinclude><noinclude> |}{{documentation}}</noinclude>"
6264
wikitext
text/x-wiki
<noinclude>{| class="wikitable"
|-
| </noinclude><onlyinclude>data-sort-value="{{{sort|}}}" style="background: var(--background-color-interactive, #ececec); color: var(--color-base, inherit); vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-na" <!--
-->| {{{1|—}}}</onlyinclude><noinclude>
|}{{documentation}}</noinclude>
brahhsoejzqpd622emkwmp9xqve741x
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:N/a/doc
10
1649
6265
2025-07-02T14:10:40Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{tlr|Not applicable|N/A|NA|n/a}} <!-- {{High-use}} --> {{Table cell templates/doc|N/A}} <includeonly>{{Sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> }}</includeonly>"
6265
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{tlr|Not applicable|N/A|NA|n/a}}
<!-- {{High-use}} -->
{{Table cell templates/doc|N/A}}
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
}}</includeonly>
5t18b893w4jec0g1d7vbf74zt95f8br
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Yes-No
10
1650
6266
2025-07-02T14:11:08Z
Saimawnkham
28
Created page with "<noinclude>{| class="wikitable" |- |</noinclude>style="background: #FFD; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="partial table-partial"|{{{1|Yes/No}}}<noinclude> |} {{documentation|Template:Table cell templates/doc}} </noinclude>"
6266
wikitext
text/x-wiki
<noinclude>{| class="wikitable"
|-
|</noinclude>style="background: #FFD; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="partial table-partial"|{{{1|Yes/No}}}<noinclude>
|}
{{documentation|Template:Table cell templates/doc}}
</noinclude>
fmc6n7k92sad93m5xn8xahbssvs41kt
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono/doc
10
1651
6268
2025-07-02T14:12:39Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> {{tlr|clear=right|monospace}}{{tsh|clear=right|tt|ttt}} {{high-use}} {{Uses TemplateStyles |Template:Mono/styles.css}} {{COinS safe|n}} {{-}} == Usage == {{tlx|mono|<var>text to format here</var>}} renders as: {{mono|text to format here}} This template is for formatting short bits of content (the only parameter) as monosp..."
6268
wikitext
text/x-wiki
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{tlr|clear=right|monospace}}{{tsh|clear=right|tt|ttt}}
{{high-use}}
{{Uses TemplateStyles |Template:Mono/styles.css}}
{{COinS safe|n}}
{{-}}
== Usage ==
{{tlx|mono|<var>text to format here</var>}}
renders as:
{{mono|text to format here}}
This template is for formatting short bits of content (the only parameter) as monospaced (nonproportional) text. It is simply a quick shorthand for the necessary [[Cascading Style Sheets|CSS]] code. It is a replacement for {{tag|tt}}, which is an obsolete element under HTML5. ([http://www.w3.org/TR/html5/obsolete.html#non-conforming-features Non-conforming features])
This template {{em|should}} be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance.
It {{em|should not}} be used to indicate information with these semantics:
* source code, use {{tl|code}} or {{tag|code}} instead
* variables or variable input, use {{tl|var}} or {{tag|var}} instead
* keyboard input, use {{tl|kbd}} or {{tag|kbd}} instead
* sample output, use {{tl|samp}} or {{tag|samp}} instead
It {{em|cannot}} be used to mark up multiple paragraphs, sections or other block elements, as it uses {{tag|span|o}}, which is an inline element. Use {{tl|monodiv}} and {{tl|pre}} for multiple blocks of text, or use multiple instances of {{tl|Mono}} for each individual line.
When the content ends with a single closing curly brace (<code><nowiki>}</nowiki></code>), the content should be followed by <code><nowiki><nowiki/></nowiki></code>, for example, to mark up <code><nowiki>{foo}</nowiki></code>, use {{tlc|mono|<nowiki>{foo}<nowiki/></nowiki>}} or {{tlc|mono|<nowiki><nowiki>{foo}</nowiki></nowiki>}}.
If the content contains pipe characters (<code>|</code>) not surrounded by {{tag|nowiki}}, they must be escaped with <code>&#124;</code> or <code><nowiki>{{!}}</nowiki></code>.
This template should not be used in links as it can affect later transclusions.
=== Parameters ===
There are two parameters:
;{{para|1}} or unnamed
: The content to format as monospaced. If the content contains a <code>=</code> character, the parameter must be numbered or the template will break. (The parameter does not need to be numbered if the <code>=</code> character is surrounded by {{tag|nowiki}}, or if it is escaped as <code>&#61;</code>.) For backward compatibility with an old, merged-in template, this parameter can also be called {{para|2}}.
;{{para|needs_review|yes}}
: Used (e.g. by [[WP:Bot|bots]] or [[WP:AWB|AWB]] scripts) to indicate replacement of now-obsolete {{tag|tt}} markup with {{tnull|mono|...}} markup. This template displays nothing and presently does no categorization, though a cleanup category can be created if necessary. It indicates that the markup may need to be changed to something more semantically meaningful, such as {{tag|code}}, {{tag|samp}}, or {{tag|kbd}}.
== TemplateData ==
{{Format TemplateData|<templatedata>
{
"description": "This template is for formatting short bits of content as monospaced text.",
"format": "inline",
"params": {
"1": {
"aliases": [
"2"
],
"label": "Content",
"description": "The content to format as monospaced.",
"required": true,
"type": "line"
},
"needs_review": {
"label": "Needs Review?",
"description": "Used (e.g. by [[WP:Bot|bots]] or [[WP:AWB|AWB]] scripts) to indicate replacement of now-obsolete <code><!--nostrip--><tt>...</tt></code><!--nostrip--> markup with <code><!--nostrip-->{{mono|...}}</code><!--nostrip--> markup. This template displays nothing and presently does no categorization, though a cleanup category can be created if necessary. It indicates that the markup may need to be changed to something more semantically meaningful, such as <code><!--nostrip--><code>...</code></code><!--nostrip-->, <code><!--nostrip--><samp>...</samp></code><!--nostrip-->, or <code><!--nostrip--><kbd>...</kbd></code><!--nostrip-->.",
"autovalue": "yes",
"type": "boolean"
}
}
}
</templatedata>}}
== See also ==
* {{tl|pre}}
* {{tl|var}}
* {{tl|code}}, which only provides syntax higlighting, without forbidding line breaks
* {{tl|Codett}}, wrapper for this template that removes background and border styling
* {{tl|PreCode}}, which forbids line breaks inside the code
* {{tl|param value}}, monospaced; friendly handling for blank space
* {{tl|Syntaxhighlight}}
* {{tl|kbd}}, for keyboard input
{{Semantic markup templates|show}}
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata, thanks -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
}}</includeonly>
btbms3li9fkc4ytoqsj484wwy0rxmz1
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Monospace
10
1652
6269
2025-07-02T14:13:04Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono]]
6269
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono]]
sidc76z4adpv2bonrscx9u80v3vtcu9
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tt
10
1653
6270
2025-07-02T14:13:08Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono]]
6270
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono]]
sidc76z4adpv2bonrscx9u80v3vtcu9
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Ttt
10
1654
6271
2025-07-02T14:13:11Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono]]
6271
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono]]
sidc76z4adpv2bonrscx9u80v3vtcu9
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mono/styles.css
10
1655
6272
2025-07-02T14:13:32Z
Saimawnkham
28
Created page with "/* {{pp-template}} */ .monospaced { /* "monospace, monospace" per [[WP:MONO]] */ font-family: monospace, monospace; }"
6272
sanitized-css
text/css
/* {{pp-template}} */
.monospaced {
/* "monospace, monospace" per [[WP:MONO]] */
font-family: monospace, monospace;
}
np4jqak6c9salmg4ht0lxddkoh7wqt0
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Em
10
1656
6273
2025-07-03T00:07:18Z
Saimawnkham
28
Created page with "<em {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</em><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>"
6273
wikitext
text/x-wiki
<em {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</em><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
qihth5vbfna026aqh87kteifb1nb5ot
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Em/doc
10
1657
6274
2025-07-03T00:07:46Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{used in system|in [[MediaWiki:Newpages-summary]]}} {{for|the em dash template|Template:Em dash}} ==Purpose== The {{Strong|Em template}} makes it faster and easier to apply the {{tag|em}} {{em|emphasis}} [[HTML element]] to text, and more importantly to indicate to human editors and [[Wikipedia:Bots|Wikipedia bot]]s they should not use <code><nowiki>'..."
6274
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{used in system|in [[MediaWiki:Newpages-summary]]}}
{{for|the em dash template|Template:Em dash}}
==Purpose==
The {{Strong|Em template}} makes it faster and easier to apply the {{tag|em}} {{em|emphasis}} [[HTML element]] to text, and more importantly to indicate to human editors and [[Wikipedia:Bots|Wikipedia bot]]s they should not use <code><nowiki>''...''</nowiki></code> or {{tag|i}} typographic italicization to replace the intentional and [[Semantic Web|semantically meaningful]] <code><nowiki><em></nowiki></code>. Emphasis ({{tag|em}}) is usually rendered visually in an italic (oblique a.k.a. slanted) typeface by default on graphical browsers, but can be parsed and acted upon in customizable ways with [[Style sheet (web development)|style sheets]], [[Application software|apps]], and text-to-speech [[screen reader]]s. It is [[semantic markup]], i.e. markup that conveys meaning or context, not just visual appearance.
Simple italicizing (<code><nowiki>''...''</nowiki></code> or {{tag|i}}) is purely typographic and is semantically meaningless; however, there are some occasions when simple italics are preferable to the emphasis template, most often for titles of publications (books, films, albums, etc.), foreign words and phrases, [[words as words]] (when quotation marks are not used for that purpose), names of ships, [[Binomial nomenclature|scientific names of genera and below]] and other cases where stylistic conventions demand italics, but they convey no sense of emphasis.
The average reader, and average editor, do not and need not care about this distinction most of the time, but it can be important and editors who understand it can use this template as a baseline insurance against accidental or uninformed replacement by bots and human editors, as well as to add [[web accessibility]].
==Usage==
: {{tnull|em|<var>text to be emphasized</var>}}
or, if the text to be emphasized contains an equals sign:
: {{tnull|em|'''1{{=}}'''<var>text to be emphasized</var>}}
These both render as:
: {{em|text to be emphasized}}
This template puts intentional and explicit {{tag|em}} (emphasis) [X]HTML markup around the text provided as the first parameter. It is safest to always use the {{para|1}}.
===Optional parameters===
Advanced HTML values can be passed through the template to the HTML code:
* {{para|role}} takes a WAI-ARIA role; adds <code>role="<var>rolename</var>"</code> to the HTML code
* {{para|class}} takes a class name (or multiple class names, separated by spaces); adds <code>class="<var>classname[s]</var>"</code> to the HTML code
* {{para|style}} takes inline CSS input; adds <code>style="<var>CSS directive[s]</var>"</code> to the HTML code
* {{para|id}} takes a valid, unique HTML id (must begin with an alphabetic letter); adds <code>id="<var>name</var>"</code> to the HTML code
* {{para|title}} takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span
===Use cases===
{{details|Wikipedia:WikiProject Usability/Scannability}}
This template is made to [[:wikt:emphasis|mildly emphasize]] an important word or phrase in a passage, in a way that is (unlike simply italicizing it) [[Semantic markup|semantically meaningful markup]]. With this technique, the emphasized text stands out from the rest of the nearby text in most if not all visual browsers and some text-to-speech screen readers (which usually ignore purely typographic italicization), without strongly affecting {{Linktext|scannability}}. It can also be parsed by user agents and other software as definitively indicating emphasis, not just some typographic italicized effect for appearance's sake. Therefore, it only should be used sparingly in articles to highlight something being stressed (e.g., to represent mild vocal emphasis). Example:
* "<code><nowiki>Contrary to reports, she was {{em|not}} dead after all.</nowiki></code>"<br />"Contrary to reports, she was {{em|not}} dead after all."
It is also occasionally used for disambiguation, e.g. between two adjacent but different uses of the same word or homonym ("What it {{em|is}} is a kind of custard."), but this usage is not often encyclopedic and can (when not found in a direct quotation) usually be rewritten to avoid the awkward construction.
==When this template should not be used==
Because {{tnull|em}} is strictly for semantic (meaningful) emphasis, it should {{em|not}} be used for layout, typography conventions (titles, foreign words, scientific names of genera and species, etc.), and other cases that are not true emphasis. In these different cases, italics Wikicode <code><nowiki>''...''</nowiki></code>, which is rendered as {{tag|i}} for the browser or other user agent, should be used instead, or special markup for a particular case, such as {{tlx|var|...}} or {{tag|var}} for variables in computer science and mathematics. {{tnull|Em}} should also not be used when the text to which it is applied is italicized for some other reason (e.g., it is part of a book title); in such cases use {{tlx|Strong}} instead. Usually avoid using {{tnull|em}} in non-quoted sentences that end in an exclamation point. And it is usually excessive to use {{tnull|em}} on terms that are Wikilinked, since the link markup acts as a form of emphasis itself.
*"''The New York Times'' is an American daily newspaper." This example should use <code><nowiki>''The New York Times''</nowiki></code>.
==TemplateData==
{{TemplateData header}}
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The text to format.",
"type": "content",
"required": true
},
"role": {
"label": "WAI-ARIA role",
"description": "The WAI-ARIA (Accessible Rich Internet Applications) role that the text plays. Adds the \"role\" attribute with the provided value to the HTML code.",
"type": "string",
"suggestedvalues": [
"math",
"presentation",
"none",
"note"
]
},
"class": {
"label": "HTML class(es)",
"description": "Name(s) of the class(es), separated by spaces, to be added to the HTML \"class\" attribute.",
"type": "string"
},
"style": {
"label": "CSS formatting markup",
"description": "CSS directives for formatting the text. Added to the HTML \"style\" attribute.",
"type": "string"
},
"id": {
"label": "HTML unique identifier",
"description": "A unique HTML identifier, which must start with an alphabetic letter. Added to the \"id\" attribute.",
"type": "string"
},
"title": {
"label": "Tooltip text",
"description": "Explanatory text of the pop-up tooltip to be displayed on hover. Added to the HTML \"title\" attribute.",
"type": "string"
}
},
"description": "Formats text with the HTML emphasis (<em></em>) element. Do not use for layout, typography conventions (titles, foreign words, scientific names of genera and species, etc.), and other cases that are not true semantic (meaningful) emphasis; use normal ''italics'' formatting instead.",
"format": "inline"
}
</templatedata>
== See also ==
* {{tlx|Strong}} – for bold rather than italic semantic emphasis
* {{tlx|Strongbad}} – same but red
* {{tlx|Stronggood}} – same but green
{{Semantic markup templates|show}}
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Semantic markup templates]]
[[Category:Wikipedia XHTML tag-replacing templates]]
}}</includeonly>
6l3g9ktroxzmyemce0t9ge01q2re3hp
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Strong
10
1658
6275
2025-07-03T00:08:18Z
Saimawnkham
28
Created page with "<strong {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</strong><noinclude> {{documentation}} <!-- Add cats and interwikis to the /doc subpage, not here! --> </noinclude>"
6275
wikitext
text/x-wiki
<strong {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</strong><noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
jhbv1h6fd9kjc1d4eovhzvnxrpqq09r
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Strong/doc
10
1659
6276
2025-07-03T00:08:43Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{used in system}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> This template marks text as {{strong|important, serious, or urgent}} using the HTML {{tag|strong|o|link=yes}} tag. It usually renders in bold, but there is additional significance explained in {{slink||Purpose}}. == Purpose == {{tlx|strong}} makes it faster and easier to apply the {{tag|strong|link=yes}} [[HTML element]] to text, which indicates {{stro..."
6276
wikitext
text/x-wiki
{{Documentation subpage}}
{{used in system}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
This template marks text as {{strong|important, serious, or urgent}} using the HTML {{tag|strong|o|link=yes}} tag. It usually renders in bold, but there is additional significance explained in {{slink||Purpose}}.
== Purpose ==
{{tlx|strong}} makes it faster and easier to apply the {{tag|strong|link=yes}} [[HTML element]] to text, which indicates {{strong|importance, seriousness, or urgency}}. More importantly, this template indicates to human editors and [[Wikipedia:Bots|Wikipedia bot]]s they should not use <code><nowiki>'''...'''</nowiki></code> or {{tag|b}} typographic boldfacing to replace the intentional and [[Semantic Web|semantically meaningful]] {{tag|strong|open}}. The {{tag|strong|o}} element is usually rendered visually in a bold (heavy) typeface by default on graphical browsers, but can be parsed and acted upon in customizable ways with [[Style sheet (web development)|style sheets]], [[Application software|apps]], and text-to-speech [[screen reader]]s. It is [[semantic markup]], i.e. markup that conveys meaning or context, not just visual appearance.
[[MOS:BOLD|Simple boldfacing]] (<code><nowiki>'''</nowiki></code> or {{tag|b|o}}) is purely typographic and is semantically meaningless. It is most often used for [[MOS:BOLDTITLE|article names in body text]], but has [[MOS:BOLD#OTHER|a few other uses]]. The average reader and average editor may be unaware of this distinction as it is unimportant most of the time, but editors who understand it can use this template as a baseline insurance against accidental replacement by bots and human editors, as well as to add [[web accessibility]].
== Usage ==
:{{tlnull|strong|<var>important text</var>}}
or, if the important text contains an equals sign:
:{{tlnull|strong|'''1{{=}}'''<var>important text</var>}}
These both render as:
:{{strong|important text}}
It is safest to always use the {{para|1}} syntax.
===Optional parameters===
Advanced HTML values can be passed through the template to the HTML code:
* {{para|role}} takes a WAI-ARIA role; adds <code>role="<var>rolename</var>"</code> to the HTML code
* {{para|class}} takes a class name (or multiple class names, separated by spaces); adds <code>class="<var>classname[s]</var>"</code> to the HTML code
* {{para|style}} takes inline CSS input; adds <code>style="<var>CSS directive[s]</var>"</code> to the HTML code
* {{para|id}} takes a valid, unique HTML id (must begin with an alphabetic letter); adds <code>id="<var>name</var>"</code> to the HTML code
* {{para|title}} takes text and displays it as a pop-up "tooltip" when the cursor hovers over the {{tnull|strong}} span. This text cannot be marked up in any way.
===Use cases===
{{more|Wikipedia:WikiProject Usability/Scannability}}
This template is made to mark important words or phrases in a text, in a way that is (unlike simply boldfacing it) [[Semantic markup|semantically meaningful markup]]. With this technique, the important text strongly stands out from the rest in most if not all visual browsers and some text-to-speech screen readers (which usually ignore purely typographic boldfacing), and can also be parsed by user agents and other software as definitively indicating importance, not just some typographic boldface effect for appearance's sake. It should therefore only be used very sparingly in articles to highlight the most important words or phrases in the entire article (and, rarely in encyclopedic writing, to represent relative importance). Use of this template has a strong effect on {{Linktext|scannability}}, drawing the eye from elsewhere on the page to words marked up with the template.
Typical uses on Wikipedia:
# In the [[MOS:BOLDTITLE|lead section of an article, the article's title]] can be marked with {{tnull|strong}}. Example: "The {{strong|soma}} is the bulbous end of a neuron." {{As of|July 2022}}, however, there is no consensus either for or against this use, and the style guidelines at [[MOS:BOLDTITLE]] and [[MOS:BOLDSYN]] recommend regular bolding.<ref>The use of this template has been briefly discussed [[Wikipedia talk:Manual of Style/Lead section/Archive 20#Shouldn't we use semantic markup in the lead?|in 2018]] and [[Template talk:Strong#Use in lead sections of articles|in 2022]].</ref>
# After the lead, it {{em|can}} be used to highlight crucial terms of importance only slightly secondary to that of the article title and its synonyms. For example, the article on a viral infection might use {{tnull|strong}} to highlight the names of two identified strains of the disease in a "Varieties" section, as an aid to scannability. If such crucial terms are redirected terms, the style guideline at [[MOS:BOLDREDIRECT]] recommends formatting boldface as in the article title.
# In unusual cases (most often direct quotations) it is used to represent contextually important text, if the passage were spoken rather than written (e.g., because it indicates shouting).
# Outside articles, it {{em|can}} be used (but {{as of|July 2021|lc=y}} isn't yet common) in polls, XfD processes, RfX votes, and similar comments and debates where users indicate that they approve of or disagree with a view or proposal. Example: "{{strong|Support}}, because of this and that reasons [...]" or "{{strong|Oppose}}, because of this and that reasons [...]". However, please note the use of [[Wikipedia:Voting templates|templates in voting]] is generally discouraged.
== When this template should not be used ==
Because {{tnull|strong}} is strictly for semantic (meaningful) importance, it should not be used for layout, typography conventions and such. In these different cases, bold <code><nowiki>'''...'''</nowiki></code> (which resolves to {{tag|b}} in the browser or other user agent) should be used instead. It also should not be used when the text to which it is applied is boldfaced for some other reason (e.g., it is part of a heading); in such cases use {{tlx|em}} instead. Avoid using {{tnull|strong}} in non-quoted sentences that end in an exclamation point. And it is usually excessive to use it on terms that are Wikilinked, since the link markup acts to indicate importance itself.
==See also==
* {{tlx|strongbad}} – same but {{strongbad|red}}
* {{tlx|stronggood}} – same but {{stronggood|green}}
* {{tlx|em}} – for {{em|italic}} rather than bold semantic emphasis
== Notes ==
{{Reflist}}
{{Semantic markup templates|show}}
<includeonly>{{Sandbox other||
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Semantic markup templates]]
[[Category:Wikipedia XHTML tag-replacing templates]]
}}</includeonly>
9ulgulgolz47d3v99w6wskwtf8f4f3n
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Strongbad
10
1660
6277
2025-07-03T00:09:07Z
Saimawnkham
28
Created page with "{{main other|{{FormattingError|Template:Strongbad is only for use in template documentation, guidelines, and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color: red; {{{style|}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }}}}<noinclude> {{documentation}} <!-- Add cats and interwikis to the /doc subpage, not here! --> </noinclude>"
6277
wikitext
text/x-wiki
{{main other|{{FormattingError|Template:Strongbad is only for use in template documentation, guidelines, and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color: red; {{{style|}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }}}}<noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
458bxjf30jbcmr4gyjvqllej7u2r241
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Strongbad/doc
10
1661
6278
2025-07-03T00:09:35Z
Saimawnkham
28
Created page with "{{hatnote|No relation to {{tl|Homestar Runner}}.}} {{Documentation subpage}} {{mbox | type = content | text = This template should ''not'' be used in [[Wikipedia:Mainspace|mainspace]] (the article [[Wikipedia:Namespace|namespace]]). }} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used to insert a quick and easy warning or negative notice with high visibility (because it is red and emphasized) on project and discussion pages (..."
6278
wikitext
text/x-wiki
{{hatnote|No relation to {{tl|Homestar Runner}}.}}
{{Documentation subpage}}
{{mbox
| type = content
| text = This template should ''not'' be used in [[Wikipedia:Mainspace|mainspace]] (the article [[Wikipedia:Namespace|namespace]]).
}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is used to insert a quick and easy warning or negative notice with high visibility (because it is red and emphasized) on project and discussion pages (like the following sentence). {{strongbad|1=This template cannot be used in articles.}} In situations where color is not relevant (color blindness, screen readers, etc.), it renders exactly the same as {{tlx|strong}} (to which it is a CSS-styled call). This template is only for use in template documentation, guidelines, and other Wikipedia-internal purposes. It is the opposite of the {{tlx|stronggood}} template.
== Usage ==
:{{tlnull|strongbad|<var>important text</var>}}
or, if the important text contains an equals sign:
:{{tlnull|strongbad|'''1{{=}}'''<var>important text</var>}}
These both render as:
:{{strongbad|important text}}
It is safest to always use the {{para|1}} syntax.
This template puts intentional and explicit {{tag|strong}} (importance, seriousness, or urgency) HTML markup around the text provided as the first parameter.
Because some people are color blind, and some use screen readers, this template should not be used in a manner in which only the color indicates the difference between the content being marked up and other content; it's simply a visual aid for those who can use it.
===Parameters===
''See {{slink|Template:Strong#Optional parameters}}''
==See also==
* {{tlx|strong}} – same but {{strong|not red}} (same color as surrounding text, usually black)
* {{tlx|stronggood}} – same but {{stronggood|green}}
* {{tlx|em}} – for {{em|italic}} rather than bold semantic emphasis<br />
{{Xt/see also|sb=no}}
{{Semantic markup templates|show}}
<includeonly>{{Sandbox other||{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Semantic markup templates]]
[[Category:Notice and warning templates]]
[[Category:Text color templates]]
}}}}</includeonly>
bu5ll15p7vruc2nqidygzqgi17inr2c
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Stronggood
10
1662
6279
2025-07-03T00:10:04Z
Saimawnkham
28
Created page with "{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Stronggood is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color:green;{{{style|}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }} }}<noinclude> {{documentation}} <!-- Add cats and interwikis to the /doc subpage, not here! --> </noinclude>"
6279
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Stronggood is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color:green;{{{style|}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }} }}<noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
0l8ywym3w4oydmwzbpbox4niqi8b599
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Stronggood/doc
10
1663
6280
2025-07-03T00:10:27Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{mbox | type = content | text = This template should ''not'' be used in [[Wikipedia:Mainspace|mainspace]] (the article [[Wikipedia:Namespace|namespace]]). }} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used to insert a quick and easy positive notice with high visibility (because it is green and emphasized) on project and discussion pages (like the following sentence). {{stronggood|1=Only use this t..."
6280
wikitext
text/x-wiki
{{Documentation subpage}}
{{mbox
| type = content
| text = This template should ''not'' be used in [[Wikipedia:Mainspace|mainspace]] (the article [[Wikipedia:Namespace|namespace]]).
}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is used to insert a quick and easy positive notice with high visibility (because it is green and emphasized) on project and discussion pages (like the following sentence). {{stronggood|1=Only use this template on non-article pages.}} (It cannot actually be used in articles; it will generate an error.) In situations where color is not relevant (color blindness, screen readers, etc.), it renders exactly the same as {{tlx|strong}} (to which it is a CSS-styled call). It is the opposite of the {{tlx|strongbad}} template.
== Usage ==
:{{tlnull|stronggood|<var>important text</var>}}
or, if the important text contains an equals sign:
:{{tlnull|stronggood|'''1{{=}}'''<var>important text</var>}}
These both render as:
:{{stronggood|important text}}
It is safest to always use the {{para|1}} syntax.
This template puts intentional and explicit <code><nowiki><strong>...</strong></nowiki></code> (importance, seriousness, or urgency) HTML markup around the text provided as the first parameter.
Because some people are color blind, and some use screen readers, this template should not be used in a manner in which only the color indicates the difference between the content being marked up and other content; it's simply a visual aid for those who can use it.
===Parameters===
''See {{slink|Template:Strong#Optional parameters}}''
==See also==
* {{tlx|strong}} – same but {{strong|not green}} (same color as surrounding text, usually black)
* {{tlx|strongbad}} – same but {{strongbad|red}}
* {{tlx|em}} – for {{em|italic}} rather than bold semantic emphasis<br />
{{Xt/see also}}
{{Semantic markup templates|show}}
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Semantic markup templates|{{PAGENAME}}]]
[[Category:Notice and warning templates|{{PAGENAME}}]]
[[Category:Text color templates]]
}}</includeonly>
jl68217g5sa455le9ji522cbii7oyoe
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Xt/see also
10
1664
6281
2025-07-03T00:10:53Z
Saimawnkham
28
Created page with "<!--This is transcluded into all these templates' /doc pages to save time.--> <div style="float:right; padding:0 1em;">{{navbar|Xt/see also|plain=y}}</div> * {{tlx|xt}} inline {{xt|positive example text}}, in green, with serif font * {{tlx|xt2}} same as {{tnull|xt}} but for blocks of text * {{tlx|bxt}} same as {{tnull|xt}} but uses {{bxt|bold instead of serif font}} * {{tlx|mxt}} same as {{tnull|xt}} but uses {{mxt|mono-spaced font}} (especially useful in source code)<br..."
6281
wikitext
text/x-wiki
<!--This is transcluded into all these templates' /doc pages to save time.-->
<div style="float:right; padding:0 1em;">{{navbar|Xt/see also|plain=y}}</div>
* {{tlx|xt}} inline {{xt|positive example text}}, in green, with serif font
* {{tlx|xt2}} same as {{tnull|xt}} but for blocks of text
* {{tlx|bxt}} same as {{tnull|xt}} but uses {{bxt|bold instead of serif font}}
* {{tlx|mxt}} same as {{tnull|xt}} but uses {{mxt|mono-spaced font}} (especially useful in source code)<br />
* {{tlx|!xt}} inline {{!xt|negative example text}}, in red, with serif font
* {{tlx|!xt2}} same as {{tnull|!xt}} but for blocks (i.e., same as {{tnull|xt2}} but red)
* {{tlx|!bxt}} same as {{tnull|!xt}} but uses {{!bxt|boldface}}
* {{tlx|!mxt}} same as {{tnull|!xt}} but uses {{!mxt|mono-spaced font}}; used for incorrect or strongly deprecated code/output/input examples and should usually be wrapped in {{tag|code|o}}, {{tag|samp|o}}, or {{tag|kbd|o}} as appropriate; see also {{tlx|dc}} and its variants below
* {{tlx|!xts}} same as {{tnull|!xt}} but also {{!xts|strikes through the text}}
* {{tlx|dcr}} inline {{dcr|strongly deprecated or deleted material}}; {{tlx|dc2}} variant has {{dc2|strikethrough}} (they both use the {{tag|del|open}} element, and do not add monospace font on their own; can be used in mainspace (articles), and where necessary wrapped in {{tag|code|o}}, {{tag|samp|o}}, or {{tag|kbd|o}}); see also {{tlx|dc}} below<br />
* {{tlx|xtd}} inline {{xtd|deprecated (or uncertain, unavailable, lorem, etc.) example text}}, in grey
* {{tlx|bxtd}} same as {{tnull|xtd}} but uses {{bxtg|boldface}}
* {{tlx|mxtd}} same as {{tnull|xtd}} but uses {{mxtd|mono-spaced font}}
* {{tlx|dc}} inline {{dc|deprecated or deleted material}}; (uses the {{tag|del|open}} element, and does not add monospace font on it own; can be used in mainspace (articles), and where necessary wrapped in {{tag|code|o}}, {{tag|samp|o}}, or {{tag|kbd|o}}); see also {{tlx|dcr}} above<br />
* {{tlx|xtn}} inline {{xtn|neutral example text}}, with no color change, when none of the above applies; used for "permissible" examples neither favored nor deprecated
* {{tlx|xtn2}} same as {{tnull|xtn}} but for blocks of text
* {{tlx|bxtn}} same as {{tnull|xtn}} but uses {{bxtn|boldface}}; it still applies a CSS class, so it's not simply boldfacing
* {{tlx|mxtn}} same as {{tnull|xtn}} but uses {{mxtn|mono-spaced font}}; this is a good template to use when the shaded box formatting of {{tag|code}} might be undesirable, or the [[Semantic HTML|semantics]] of it is incorrect in the context{{#if:{{{sb|}}}||<br /> }}
* {{tlx|strongbad}} – for introducing something as deprecated or issuing some other warning in documentation, e.g.: {{strongbad|Not for use in mainspace.}}
<!--
--><noinclude>
<!-- ADD CATEGORIES AND INTERWIKIS TO THE /doc PAGE, NOT HERE, THANKS -->
{{documentation}}
</noinclude>
e0mr8tyhiul7k6ibs4rftlv36t2p55j
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Xt/see also/doc
10
1665
6282
2025-07-03T00:11:19Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == This documentation sub-template is for transclusion in the "See also" sections of the documentation of the templates of the {{tlx|xt}} family. There are no parameters: <syntaxhighlight lang="wikitext"> === See also === {{Xt/see also}} </syntaxhighlight> <includeonly>{{Sandbox other|| <!-- Categories and interwikis go here: --> Category:Documentation see also templ..."
6282
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
== Usage ==
This documentation sub-template is for transclusion in the "See also" sections of the documentation of the templates of the {{tlx|xt}} family. There are no parameters:
<syntaxhighlight lang="wikitext">
=== See also ===
{{Xt/see also}}
</syntaxhighlight>
<includeonly>{{Sandbox other||
<!-- Categories and interwikis go here: -->
[[Category:Documentation see also templates]]
[[Category:Text color templates| ]]
[[sl:Predloga:Xt see also]]
}}</includeonly>
qfqr1x9dfaveeirax9xpa66kbp4tgri
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Semantic markup templates
10
1666
6283
2025-07-03T00:11:55Z
Saimawnkham
28
Created page with "{{Navbox | name = Semantic markup templates | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} | title = {{c|Semantic markup templates}} | liststyle = font-size:110%; | tracking = no <!-- keep the documented templates out of the hlist tracking category --> | list1 = {{Aligned table |cols=3 |class=wikitable sortable |style=line-height:1.35em;text-align:left; |colstyle=<!--vertical-align:middle;-->padding-right:1.0em; |col2style=white-space:nowr..."
6283
wikitext
text/x-wiki
{{Navbox
| name = Semantic markup templates
| state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}}
| title = {{c|Semantic markup templates}}
| liststyle = font-size:110%;
| tracking = no <!-- keep the documented templates out of the hlist tracking category -->
| list1 =
{{Aligned table
|cols=3 |class=wikitable sortable |style=line-height:1.35em;text-align:left;
|colstyle=<!--vertical-align:middle;-->padding-right:1.0em;
|col2style=white-space:nowrap; |col3style=white-space:normal;
|row1style=line-height:1.6em;
|row1header=on
| Template | Example output | Use
| {{tlb|strong}} | {{strong|Important!}} | To indicate [[HTML element#strong|<nowiki><strong></nowiki>]] importance, seriousness, or urgency instead of just simple typographical boldfacing
| {{tlb|strongbad}} | "{{strongbad|Never}} use ..." | Same as {{braces|strong}} but in red
| {{tlb|stronggood}} | "{{stronggood|Only}} use ..." | Same as {{braces|strong}} but in green
| {{tlb|em}} | "An {{em|emphatic phrase}}" | To indicate [[HTML element#em|<nowiki><em></nowiki>]] stress emphasis (not just purely typographical italicization like for book titles or foreign terms)
| {{tlb|var}} | {{var|strPrefix}} | To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{braces|var serif}} should be used to ensure a noticeable distinction
| {{tlb|var serif}} | {{var serif|strIllustratePrefix}} | (see {{braces|var}} above)
| {{tlb|tld}} | {{tld|DEFAULTSORT:Y, X}} | To display wikicode variables and [[Help:Magic words|magic words]] as they would appear in code
| {{tlb|para}} | {{para|year|2008}} | To display template parameters with or without values
| {{tlb|param}} | {{param|title|alt}} | To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{braces|para}} above
| {{tlb|tjp}} | {{tjp|selfref: yes|category: no}} | To display template parameters with colors (as they would appear in the {{tl|tj}} and {{tl|tji}} templates)
| {{tlb|param value}}| {{pvalue| 2 blanks fore and aft |space=·}} | To display parameter values lightly bordered; replaces <code>...</code>, especially when value contains embedded or leading/trailing blanks; visualized here with [[middot]] (·) but can use ␠, ▯, or any character.
| {{tlb|tlx}} etc. | {{tlx|Template|{{var|1}}|{{var|2}}|...|{{var|10}}}} | To display a template call (with or without parameters and values) as code
| {{tlb|tji}} | {{tji|hatnote|Hello|selfref: yes|category: no}} | To showcase with colors in horizontal format the syntax of any template, while providing an easy way to display placeholder texts using colons as separators
| {{tlb|tag}} | {{resize|95%|"The {{tag|img}} tags ..."}} | To render [[HTML element]]s ("tags") in prose
| {{tlb|code}}/{{tlb|codett}} | {{resize|95%|"Ensure the {{code|1=alt=}} parameter ..."}} | To indicate text is source code. To nest other templates within {{braces|code}}, use {{tag|code}}. {{tl|codett}} differs only in styling: {{code|someMethod}} becomes {{codett|someMethod}}
| {{tlb|PreCode}} | {{resize|95%|"[[Forth (programming language)|FORTH]] has keyword {{PreCode|?BRANCH}}."}} | Like {{tlb|code}}, but prevents line breaks inside the code. Only for very short code parts.
| {{tls|codenowiki}} | <code><nowiki>{{small|small text example}}</nowiki></code> | To wrap example code in {{code|<code><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></code>}}
| {{tls|kbdnowiki}} | <kbd><nowiki>{{large|large text example}}</nowiki></kbd> | To wrap example code in {{code|<kbd><<nowiki>nowiki</nowiki>>...<<nowiki>/nowiki</nowiki>></kbd>}}
| {{tlb|syntaxhighlight}} | <sub>[this is a block template]</sub> | ({{thin space|or {{tlx|sxhl}}}}) Wrapper for {{tag|syntaxhighlight}}, but will wrap overflowing text
| {{tlb|deprecated code}} | "Do not use {{tag|{{deprecated code|blink}}|o}}." | ({{thin space|or {{tlx|dc}}}}) To indicate [[Deprecation|deprecated]] source code in template documentation, articles on HTML specs, etc. The {{tlx|dc2}} variant uses strike-through ({{tag|{{dc2|blink}}|o}}) while {{tlx|dcr}} uses red ({{tag|{{dcr|blink}}|o}}).
| {{tlb|pre}} | <sub>[this is a block template]</sub> | For larger blocks of source code and other pre-formatted text
| {{tlb|tj}} | <sub>[this is a block template]</sub> | To showcase with colors and multiple lines (vertical format) the syntax of any template, while providing an easy way to display placeholder texts using colons as separators
| {{tlb|quote}} | <sub>[this is a block template]</sub> | For block quotations (only – never for non-quotations)
| {{tlb|block indent}} | <sub>[this is a block template]</sub> | For indented blocks of material; visually identical to {{tlx|quote}} but without quote markup
| {{tlb|kbd}} | {{kbd|user input}} | To indicate user input
| {{tlb|key press}} | {{key press|Ctrl|x}} | To indicate specific-keystroke input, including combinations
| {{tlb|key top}} | {{key top|Left shift}} | Similar; includes more symbols, but does not directly support combinations
| {{tlb|button}} | {{button|Don't save}} | To indicate a button in a user interface
| {{tlb|samp}} | {{samp|example output}} | To indicate sample or example output
}}
}}<noinclude>{{documentation}}</noinclude>
a3wijc2b69rkjpaijlsg37azjlvyrow
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Semantic markup templates/doc
10
1667
6284
2025-07-03T00:12:22Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Categories where indicated at the bottom of this page, please. --> Intended for [[Wikipedia:Transclusion|transclusion]] at the end of the documentation for each of the main {{c|semantic markup templates}}, e.g. as part of a "See also" section such as: <syntaxhighlight lang="wikitext"> ===See also=== * [[Wikipedia:Accessibility]] * [[Semantic HTML]] {{Semantic markup templates}} </syntaxhighlight> {{Collapsible option |statename=optional..."
6284
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories where indicated at the bottom of this page, please. -->
Intended for [[Wikipedia:Transclusion|transclusion]] at the end of the documentation for each of the main {{c|semantic markup templates}}, e.g. as part of a "See also" section such as:
<syntaxhighlight lang="wikitext">
===See also===
* [[Wikipedia:Accessibility]]
* [[Semantic HTML]]
{{Semantic markup templates}}
</syntaxhighlight>
{{Collapsible option |statename=optional |default=collapsed}}
{{Ccot}}
== See also ==
* [[:Category:Semantic markup templates]]
<includeonly>{{Sandbox other||
<!-- Categories below this line, please: -->
[[Category:Semantic markup templates| ]]
[[Category:Documentation see also templates]]
}}</includeonly>
4mdhgdwe0behv1dr28484kr2anophxy
ᥛᥨᥝᥱ ᥓᥧᥰ:Color contrast/doc
828
1668
6286
2025-07-03T00:13:19Z
Saimawnkham
28
Created page with "<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{module rating|protected}} {{High-use|325916}} {{Lua|Module:Color contrast/colors}} This module is used primarily by * {{tl|Color contrast ratio}} * {{tl|RGBColorToLum}} * {{tl|Color contrast conformance}} * {{tl|Ensure AAA contrast ratio}} * {{tl|Ensure AA contrast ratio}} * {{tl|Greater color contrast ratio}} It is also used for tracking within * [[Module:Navbox]] * Module:Userbo..."
6286
wikitext
text/x-wiki
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{module rating|protected}}
{{High-use|325916}}
{{Lua|Module:Color contrast/colors}}
This module is used primarily by
* {{tl|Color contrast ratio}}
* {{tl|RGBColorToLum}}
* {{tl|Color contrast conformance}}
* {{tl|Ensure AAA contrast ratio}}
* {{tl|Ensure AA contrast ratio}}
* {{tl|Greater color contrast ratio}}
It is also used for tracking within
* [[Module:Navbox]]
* [[Module:Userbox]]
* [[Module:Episode list]]
and for documentation in
* [[Module:College color]]
The formulas used are [https://www.w3.org/WAI/GL/wiki/Relative_luminance#Definition_as_Stated_in_WCAG_2.x stated in WCAG 2.x specifications]. [[WCAG]] is the main guideline for creating accessible interfaces on the web.
== Usage ==
To use this module, you may use one of the above listed templates or invoke the module directly
* To compute relative luminescence: <br> <syntaxhighlight lang="wikitext" inline>{{RGBColorToLum|color}}</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline>{{#invoke:Color contrast|lum|color}}</syntaxhighlight>
* To compute a contrast ratio between two colors: <br> <syntaxhighlight lang="wikitext" inline>{{Color contrast ratio|color1|color2|error=?}}</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline>{{#invoke:Color contrast|ratio|color1|color2|error=?}}</syntaxhighlight>
* To determine which of two colors (color2a and color2b) has the greater contrast ratio with a particular color (color1): <br> <syntaxhighlight lang="wikitext" inline>{{Greater color contrast ratio|color1|color2a|color2b}}</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline>{{#invoke:Color contrast|greatercontrast|color1|color2a|color2b}}</syntaxhighlight>
* To compute the contrast ratio between the background and text colors specified in a css style string: <br> <syntaxhighlight lang="wikitext" inline>{{#invoke:Color contrast|styleratio|css style statement string|default background color|default text color}}</syntaxhighlight>
<includeonly>{{sandbox other||
[[Category:Modules handling colors]]
}}</includeonly>
<noinclude>
[[Category:Module documentation pages]]
</noinclude>
a6eyb13u6mgwzh6yqbilkp4eekhqpmp
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color contrast ratio
10
1669
6287
2025-07-03T00:14:44Z
Saimawnkham
28
Created page with "<includeonly>{{#invoke:Color contrast|ratio|{{{1}}}|{{{2}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>"
6287
wikitext
text/x-wiki
<includeonly>{{#invoke:Color contrast|ratio|{{{1}}}|{{{2}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
iao4uh3fmrqoobfexqloql50y2gcupr
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color contrast ratio/doc
10
1670
6288
2025-07-03T00:15:07Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> {{lua|Module:Color contrast}} This template returns the color contrast ratio between the two colors provided. It accepts two parameters, which can be a standard RGB hex color code (<code>#RRGGBB</code>) or a standard [[Web colors#HTML color names|HTML color]] or CSS "orange" (= <code>#FFA500</code>). Color names and hex letters are case-insensitive (i.e. they may be upper- or lowe..."
6288
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{lua|Module:Color contrast}}
This template returns the color contrast ratio between the two colors provided. It accepts two parameters, which can be a standard RGB hex color code (<code>#RRGGBB</code>) or a standard [[Web colors#HTML color names|HTML color]] or CSS "orange" (= <code>#FFA500</code>). Color names and hex letters are case-insensitive (i.e. they may be upper- or lower-case).
== Usage ==
=== Examples with light background ===
{| class="wikitable"
|-
! Text<BR>Color !! Background<BR>color !! Sample !! Code !! Contrast<BR>ratio !! [[WCAG 2.0]]<BR>conf.
|-
| {{Color sample|#000000}} #000000
| {{Color sample|#FFFFFF}} #FFFFFF
| {{Font color|#000000|#FFFFFF| Sample }}
| {{tlx|Color contrast ratio|#000000|#FFFFFF}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#000000|#FFFFFF}} round3}}
| AAA
|-
| {{Color sample|#000080}} #000080
| {{Color sample|#DDDDDD}} #DDDDDD
| {{Font color|#000080|#DDDDDD| Sample }}
| {{tlx|Color contrast ratio|#000080|#DDDDDD}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#000080|#DDDDDD}} round3}}
| AAA
|-
| {{Color sample|#7B0000}} #7B0000
| {{Color sample|#FF9900}} #FF9900
| {{Font color|#7B0000|#FF9900| Sample }}
| {{tlx|Color contrast ratio|#7B0000|#FF9900}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#7B0000|#FF9900}} round3}}
| AA
|-
| {{Color sample|#004800}} #004800
| {{Color sample|#AAAAAA}} #AAAAAA
| {{Font color|#004800|#AAAAAA| Sample }}
| {{tlx|Color contrast ratio|#004800|#AAAAAA}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#004800|#AAAAAA}} round3}}
| AA
|-
| {{Color sample|red}} red
| {{Color sample|white}} white
| {{Font color|red|white| Sample }}
| {{tlx|Color contrast ratio|red|white}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|red|white}} round3}}
| {{no}}
|-
| {{Color sample|#FF0000}} #FF0000
| {{Color sample|#FF9999}} #FF9999
| {{Font color|#FF0000|#FF9999| Sample }}
| {{tlx|Color contrast ratio|#FF0000|#FF9999}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#FF0000|#FF9999}} round3}}
| {{no}}
|}
=== Examples with dark background ===
{| class="wikitable"
|-
! Text<BR>Color !! Background<BR>color !! Sample !! Code !! Contrast<BR>ratio !! [[WCAG 2.0]]<BR>conf.
|-
| {{Color sample|#BADFEE}} #BADFEE
| {{Color sample|black}} black
| {{Font color|#BADFEE|black| Sample }}
| {{tlx|Color contrast ratio|#BaDFeE|BlAcK}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#BaDFeE|BlAcK}} round3}}
| AAA
|-
| {{Color sample|red}} red
| {{Color sample|black}} black
| {{Font color|red|black| Sample }}
| {{tlx|Color contrast ratio|red|black}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|red|black}} round3}}
| AA
|-
| {{Color sample|#FFFF00}} #FFFF00
| {{Color sample|#00FFFF}} #00FFFF
| {{Font color|#FFFF00|#00FFFF| Sample }}
| {{tlx|Color contrast ratio|#FFFF00|#00FFFF}}
| style="text-align: right;" | {{#expr: {{Color contrast ratio|#FFFF00|#00FFFF}} round3}}
| {{no}}
|}
== WCAG 2.0 ==
As a guide to selecting foreground and background colors for text, the [http://www.w3.org/TR/WCAG20/#visual-audio-contrast Web Content Accessibility Guidelines 2.0 (guideline 1.4)] classifies contrast ratios for ordinary text as follows:
{| class="wikitable"
|+ WCAG 2.0 text contrast ratios
|-
! scope="col" | Font size
! scope="col" | Not Compliant
! scope="col" | Level AA
! scope="col" | Level AAA
|-
| Normal
| < 4.5
| 4.5 to 7.0
| > 7.0
|-
| Large (18 pt or 14 pt bold)
| < 3.0
| 3.0 to 4.5
| > 4.5
|}
Normal wiki-text is rendered by common browsers at roughly 9.5 to 10.5 pt (12.5 to 14 px), depending on skin. Text would need to be about 180% or 140% bold to qualify as "Large" for [http://www.w3.org/TR/WCAG20/#larger-scaledef WCAG purposes].
== See also ==
* [[Template:Color contrast conformance]]
* [[Wikipedia:WikiProject Accessibility]]
* [http://snook.ca/technical/colour_contrast/colour.html Colour Contrast Check]
* [http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/G18 G18: Ensuring that a contrast ratio of at least 4.5:1 exists between text (and images of text) and background behind the text]
* [http://trace.wisc.edu/contrast-ratio-examples/ Index of Color Contrast Samples]
<includeonly>
<!-- Categories and interwikis go here: -->
{{sandbox other||[[Category:Color conversion templates]]}}
</includeonly>
7o3jg9g48w585s66h4ih6vh3r3al0le
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color sample
10
1671
6289
2025-07-03T00:15:41Z
Saimawnkham
28
Created page with "<span style="display:inline-block;border:1.62px solid {{{border|black}}};vertical-align:text-top;" title="{{title case|{{{description|{{{1}}}}}}}}"><span class="mw-no-invert" style="display:block;padding:0;width:{{{w|{{{2|1}}}}}}em;height:{{{h|{{{2|1}}}}}}em;background:{{{1}}};color:inherit;"> </span></span><noinclude> {{Documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
6289
wikitext
text/x-wiki
<span style="display:inline-block;border:1.62px solid {{{border|black}}};vertical-align:text-top;" title="{{title case|{{{description|{{{1}}}}}}}}"><span class="mw-no-invert" style="display:block;padding:0;width:{{{w|{{{2|1}}}}}}em;height:{{{h|{{{2|1}}}}}}em;background:{{{1}}};color:inherit;"> </span></span><noinclude>
{{Documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
qkqt9wfwaqet1f21hlw6wa4a4j191n6
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color sample/doc
10
1672
6290
2025-07-03T00:16:06Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> == Usage == *{{tlx|Color sample|red}} → {{color sample|red}} *{{tlx|Color sample|#00FF00}} → {{color sample|#00FF00}} *{{tlx|Color sample|#00FF00|description=green}} → {{color sample|#00FF00|description=green}}<br/>Adds a description of the color for [[screen reader]] users *{..."
6290
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
*{{tlx|Color sample|red}} → {{color sample|red}}
*{{tlx|Color sample|#00FF00}} → {{color sample|#00FF00}}
*{{tlx|Color sample|#00FF00|description=green}} → {{color sample|#00FF00|description=green}}<br/>Adds a description of the color for [[screen reader]] users
*{{tlx|Color sample|{{party color{{!}}Independent politician}}}} → {{Color sample|{{party color|Independent politician}}}}<br/>(Instead of specifying a color directly, this example uses <code><nowiki>{{party color|Independent politician}}</nowiki></code>, which generates <code>{{party color|Independent politician}}</code>.)
'''Size option:'''
* A second parameter allows to define the size of the square: 1 is large (default), 0.6 is quite small, 0.2 is minuscule. Examples:<br>
::<nowiki>{{Colorsample|#008000}}</nowiki> or <nowiki>{{Colorsample|#008000|1}}</nowiki> gives: {{Colorsample|#008000}}
::<nowiki>{{Colorsample|#008000|0.5}}</nowiki> gives: {{Colorsample|#008000|0.6}}
::<nowiki>{{Colorsample|#008000|0.2}}</nowiki> gives: {{Colorsample|#008000|0.2}}
Note: When hovered over, the template shows the value used for color as a tooltip by default. This is also heard by a screen reader. An optional parameter, {{para|description}} can be used to change that to something more user-friendly, as shown in the third example.
==See also==
*[[Template:Swatch inline]]
*[[Template:Swatch]]
*[[Lists of colors]]
*[[Web colors]]
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Color templates]]
}}</includeonly>
euc8wzyg01rkey4dk5dom48nlva9eze
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Colorsample
10
1673
6291
2025-07-03T00:16:41Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color sample]]
6291
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color sample]]
r4u671irtgv6lkk4uyhr9cybt91h6fb
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Party color
10
1674
6292
2025-07-03T00:17:29Z
Saimawnkham
28
Created page with "<includeonly>{{#invoke:Political party|fetch|{{{1|}}}|color|error{{#if:{{{error|}}}||_NULL}}={{{error|}}}}}</includeonly><noinclude> {{documentation}} </noinclude>"
6292
wikitext
text/x-wiki
<includeonly>{{#invoke:Political party|fetch|{{{1|}}}|color|error{{#if:{{{error|}}}||_NULL}}={{{error|}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
tqx1s71z76iem75n1woeejbqi0hkd9s
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Party color/doc
10
1675
6293
2025-07-03T00:18:01Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{High use}} {{Lua|Module:Political party}} '''Template:Party color''' produces the [[Web_colors#Hex_triplet|hexadecimal color]] of the provided political party. == Usage == * {{Tlx|Party color|<party name>}} == Parameters == <section begin="Parameters"/> {| class="wikitable" ! scope="col" | Parameter ! scope="col" | Description |- ! scope="row" | 1..."
6293
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{High use}}
{{Lua|Module:Political party}}
'''Template:Party color''' produces the [[Web_colors#Hex_triplet|hexadecimal color]] of the provided political party.
== Usage ==
* {{Tlx|Party color|<party name>}}
== Parameters ==
<section begin="Parameters"/>
{| class="wikitable"
! scope="col" | Parameter
! scope="col" | Description
|-
! scope="row" | 1
| The political party's name. If a party is not found, place a request at the [[Module talk:Political party|talk page]].
|-
! scope="row" | error
| Optional, this parameter will return the provided {{para|error}} value if the module does not contain the requested party or color.
|}<section end="Parameters"/>
==Examples==
Here are some examples using the [[Labour Party (UK)|Labour Party]] (note that there are multiple potential input names):
<syntaxhighlight lang="wikitext">
["Labour and Co-operative"] = "Labour Party (UK)",
["Labour Co-operative"] = "Labour Party (UK)",
...
["Labour Party (Thailand)"] = {abbrev = "", color = "#000000", shortname = "",},
["Labour Party (UK)"] = {abbrev = "Lab", color = "#E4003B", shortname = "Labour",},
</syntaxhighlight>
* {{tlx|Party color|Labour Party (UK)}} → {{Party color|Labour Party (UK)}}
* {{tlx|Party color|Labour and Co-operative}} → {{Party color|Labour and Co-operative}}
* {{tlx|Party color|Labour Co-operative}} → {{Party color|Labour Co-operative}}
===Error messages===
If the party is not supplied, or the color is not stored for the party, an error will be returned. Note that if the party is not in the module at all (third example below) the default color #F8F9FA will be returned.
* {{tlx|Party color}} → {{Party color}}
* {{tlx|Party color|A test no values}} → {{Party color|A test no values}}
* {{tlx|Party color|Not-a-party}} → {{Party color|Not-a-party}}
To avoid generating a script error, use {{para|error|value}}. Note that this error value will also be passed if the party is not stored in the module.
* {{tlx|Party color|A test no values|error{{=}}ERROR}} → {{Party color|A test no values|error=ERROR}}
* {{tlx|Party color|Not-a-party|error{{=}}ERROR}} → {{Party color|Not-a-party|error=ERROR}}
==See also==
* [[Template:Party abbr]]
* [[Template:Party shortname]]
* [[Module:Political party]] (Data pages)
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Political party color templates]]
}}</includeonly>
ql56qeg4mrkd5tdtxhzq7p0m0mueu73
ᥛᥨᥝᥱ ᥓᥧᥰ:Political party
828
1676
6294
2025-07-03T00:18:38Z
Saimawnkham
28
Created page with "local p = {} local default_color = '#F8F9FA' local categories = { party_not_in_list = '[[Category:Pages using Political party with unknown party]]', shortname_not_in_list = '[[Category:Pages using Political party with missing shortname]]', color_not_in_list = '[[Category:Pages using Political party with missing color]]', } local function create_error(error_message) return string.format('<strong class="error">%s</strong>', error_message) end local function get..."
6294
Scribunto
text/plain
local p = {}
local default_color = '#F8F9FA'
local categories = {
party_not_in_list = '[[Category:Pages using Political party with unknown party]]',
shortname_not_in_list = '[[Category:Pages using Political party with missing shortname]]',
color_not_in_list = '[[Category:Pages using Political party with missing color]]',
}
local function create_error(error_message)
return string.format('<strong class="error">%s</strong>', error_message)
end
local function getFirstLetter(party)
local index = mw.ustring.sub(party, 1, 1)
-- Set index for non-A-Z starts
if string.match(index, '%A') then
return '1'
end
return string.upper(index)
end
local function stripToNil(text)
-- If text is a string, return its trimmed content, or nil if empty.
-- Otherwise return text (which may, for example, be nil).
if type(text) == 'string' then
text = text:match('(%S.-)%s*$')
local delink = require('Module:Delink')._delink
text = delink({text, wikilinks = "target"})
end
return text
end
-- Example of having all the data - color and names - in one table. Requires one page to be edited instead of two when adding a new party.
function p._fetch(args)
if not args[1] then
return create_error("parameter 1 should be a party name.")
end
if not args[2] then
return create_error("parameter 2 should be the output type.")
end
local party = stripToNil(args[1])
local out_type = stripToNil(args[2])
if out_type == 'colour' then
out_type = 'color'
end
local index = getFirstLetter(party)
-- Load data from submodule
local data = mw.loadData('Module:Political party/' .. index)
local data_all = data.full
local party_alt = data.alternate[party]
local party_info
if party_alt then
if data_all[party_alt] then
party_info = data_all[party_alt]
else
index = getFirstLetter(party_alt)
data = mw.loadData('Module:Political party/' .. index)
party_info = data.full[party_alt]
end
else
party_info = data_all[party]
end
-- Check if database value exists
-- * Not even in database - return given error or input
-- * No color - return error
-- * No shortname/abbrev - return first non-blank of abbrev->shortname->input
if not party_info then
if out_type == 'color' then
return args.error or default_color
else
return args.error or party
end
end
local return_value = party_info[out_type]
if return_value == "" then
if out_type == 'color' then
return args.error or create_error("Value not in template. Please request that it be added.")
elseif out_type == 'abbrev' then
if party_info.shortname ~= "" then
return party_info.shortname
else
return party
end
elseif out_type == 'shortname' then
if party_info.abbrev ~= "" then
return party_info.abbrev
else
return party
end
else
return party
end
end
if out_type == 'color' then
if string.find(return_value, '#') then
return_value = string.gsub(return_value, '#', '#')
elseif string.lower(return_value) == 'default' then
return default_color
end
end
return return_value
end
function p.fetch(frame)
-- Initialise and populate variables
local getArgs = require("Module:Arguments").getArgs
local args = getArgs(frame)
return p._fetch(args)
end
return p
thk9x0r0fc9xwkkd1i52pwyq7hsjnq6
ᥛᥨᥝᥱ ᥓᥧᥰ:Political party/doc
828
1677
6295
2025-07-03T00:19:00Z
Saimawnkham
28
Created page with "{{Module rating|general}} {{High-use}} {{Lua|Module:Arguments|Module:Delink}} == Usage == {{Mlx|{{BASEPAGENAME}}|fetch|<party>|<value>}} == Parameters == {{Transcluded section|source=Template:Political party/doc}} {{Trim|{{#section:Template:Political party/doc|Parameters}}}} ==Updating the module== The political parties contained in this module are split into alphabetised lists based on the first character of the name (for example, "Labour Party (UK)" would be under [..."
6295
wikitext
text/x-wiki
{{Module rating|general}}
{{High-use}}
{{Lua|Module:Arguments|Module:Delink}}
== Usage ==
{{Mlx|{{BASEPAGENAME}}|fetch|<party>|<value>}}
== Parameters ==
{{Transcluded section|source=Template:Political party/doc}}
{{Trim|{{#section:Template:Political party/doc|Parameters}}}}
==Updating the module==
The political parties contained in this module are split into alphabetised lists based on the first character of the name (for example, "Labour Party (UK)" would be under [[Module:Political party/L|/L]]). The [[Module:Political party/1|/1]] subpage is for any party that does not start with the letters A to Z of the [[Latin alphabet]] (including numbers and accented characters).
Within each data submodule are two local groups: <code lang=lua>local alternate</code> and <code lang=lua>local full</code>.
===Alternate party names===
The alternate group is for alternate names of a party. The following is an example of alternate names for the [[Labour Party (UK)]]:
<syntaxhighlight lang=lua>
local alternate = {
....
["Labour and Co-operative"] = "Labour Party (UK)",
["Labour Co-operative"] = "Labour Party (UK)",
...
}
</syntaxhighlight>
The first entry in square brackets is the alternate name, and the second entry only in quotes is the name found in the <code>full</code> group, seen below. Note that the alternate name of a party should be stored in its corresponding letter-based subpage; "Alabama Democratic Party" is listed in [[Module:Political party/A|/A]] even though it is an alternate name for "Democratic Party (US)" (which is stored in [[Module:Political party/D|/D]]).
=== Table values ===
<syntaxhighlight lang=lua>
local full = {
....
["Labour Party (UK)"] = {abbrev = "Lab", color = "#E4003B", shortname = "Labour",},
...
}
</syntaxhighlight>
There are three values stored for each party:
* The abbreviation (<code>abbrev</code>).
* The color of the party (<code>color</code>), which can either be a [[hex triplet]] or [[Web_colors#Basic colors|basic color name]] or, if the party does not have an associated color, "default".
* A shorter name for the party (<code>shortname</code>).
The values added to these parameters need not be unique from other parties in this module, unlike the primary name of a party.
If a name value is not stored for a party, the module will attempt to return the other "short" name variant before returning the input. Thus, if <code>abbrev</code> is stored but <code>shortname</code> is not, regardless of which value is asked for it will return the <code>abbrev</code> value.
==Requesting an addition or a change ==
Requests should be made at the [[Module talk:Political party|talk page]] in a new section. Copy the following line and fill in {{em|only}} the fields relevant to the party. A party name is required as is at least one other piece of information. See above for information regarding each value.
* <code>["party"] = {abbrev = "", color = "", shortname = "",},</code>
==Error messages==
{| class="wikitable"
|+Module error messages and resolutions
!Error message
!Resolution
|-
|Lua error: bad argument #1 to 'sub' (string expected, got table).
|An entry intended for the "local full" section has been placed into the "local alternate" section. Move it to the "local full" section
|-
| Lua error in package.lua at line 80: module 'Module:Political party/' not found.
| Party added to alternate list with empty value.
|-
|Value not in template. Please request that it be added. ([https://en.wikipedia.org/w/index.php?search=%22Value+not+in+template.+Please+request+that+it+be+added.%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1 article search])
|The party in question has an entry with no color in the "local full" section. (This can be caused by duplicate entries in "local full" that, if present, should be merged.)
|-
|(no error message, but party color is white/blank)
|Add a color for the party to its entry in the "local full" section in the relevant Module:Political party/ lettered data page (see links below).
|-
|parameter 1 should be a party name ([https://en.wikipedia.org/w/index.php?search=%22parameter+1+should+be+a+party+name%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1&searchToken=6facepv07u1udc6gtrdi3x0fy article search])
| A template is trying to feed a missing parameter to the module. Work around this by [https://en.wikipedia.org/w/index.php?title=Template:Election_box_inline_candidate_with_party_link_no_change&action=history testing for the parameter] in the template.
|-
|parameter 2 should be the output type ([https://en.wikipedia.org/w/index.php?search=%22parameter+2+should+be+the+output+type%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1 article search])
|
|-
|}
== Data pages ==
{{div col}}
*[[Module:Political party/1|Political party/1]]
*[[Module:Political party/A|Political party/A]]
*[[Module:Political party/B|Political party/B]]
*[[Module:Political party/C|Political party/C]]
*[[Module:Political party/D|Political party/D]]
*[[Module:Political party/E|Political party/E]]
*[[Module:Political party/F|Political party/F]]
*[[Module:Political party/G|Political party/G]]
*[[Module:Political party/H|Political party/H]]
*[[Module:Political party/I|Political party/I]]
*[[Module:Political party/J|Political party/J]]
*[[Module:Political party/K|Political party/K]]
*[[Module:Political party/L|Political party/L]]
*[[Module:Political party/M|Political party/M]]
*[[Module:Political party/N|Political party/N]]
*[[Module:Political party/O|Political party/O]]
*[[Module:Political party/P|Political party/P]]
*[[Module:Political party/Q|Political party/Q]]
*[[Module:Political party/R|Political party/R]]
*[[Module:Political party/S|Political party/S]]
*[[Module:Political party/T|Political party/T]]
*[[Module:Political party/U|Political party/U]]
*[[Module:Political party/V|Political party/V]]
*[[Module:Political party/W|Political party/W]]
*[[Module:Political party/X|Political party/X]]
*[[Module:Political party/Y|Political party/Y]]
*[[Module:Political party/Z|Political party/Z]]
{{div col end}}
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
}}</includeonly>
n51ek58bherhueks0ba1ureuw6p2nni
ᥛᥨᥝᥱ ᥓᥧᥰ:Political party/I
828
1678
6296
2025-07-03T00:20:55Z
Saimawnkham
28
Created page with "-- Constant data used by [[Module:Political party]] local alternate = { ["Icelandic Socialist Party"] = "Socialist Party of Iceland", ["ICM Party (United States)"] = "ICM Party (US)", ["ICV-EUiA"] = "Initiative for Catalonia Greens", ["ICV–EUiA"] = "Initiative for Catalonia Greens", -- dash differences ["Idaho Democratic Party"] = "Democratic Party (United States)", ["Identité-Libertés"] = "Identity–Freedoms", ["Identity-Freedoms"] = "Identity–Freedoms",..."
6296
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Icelandic Socialist Party"] = "Socialist Party of Iceland",
["ICM Party (United States)"] = "ICM Party (US)",
["ICV-EUiA"] = "Initiative for Catalonia Greens",
["ICV–EUiA"] = "Initiative for Catalonia Greens", -- dash differences
["Idaho Democratic Party"] = "Democratic Party (United States)",
["Identité-Libertés"] = "Identity–Freedoms",
["Identity-Freedoms"] = "Identity–Freedoms",
["Identity–Liberties"] = "Identity–Freedoms",
["IDS"] = "Istrian Democratic Assembly",
["IDS"] = "Istrian Democratic Assembly",
["IJI"] = "Islami Jamhoori Ittehad",
["Illankai Tamil Arasu Kachchi"] = "Ilankai Tamil Arasu Kachchi",
["Ilankai Tamil Arasu Kadchi"] = "Ilankai Tamil Arasu Kachchi",
["Illinois Democratic Party"] = "Democratic Party (United States)",
["Illinois Republican Party"] = "Republican Party (United States)",
["INC"] = "Indian National Congress",
["Independence–Alliance Party"] = "Independence-Alliance Party",
["Independence Party (United States)"] = "Independence Party (US)",
["Independence Party of Florida"] = "Independence Party (US)",
["Independence Party of Minnesota"] = "Independence Party (US)",
["Independence Party of New York"] = "Independence Party (US)",
["Independent (Montana)"] = "Independent (US)",
["Ind"] = "Independent politician",
["Independent"] = "Independent politician",
["independent"] = "Independent politician",
["INDEPENDENT"] = "Independent politician",
["Independent (politican)"] = "Independent politician",
["Independent (politician)"] = "Independent politician",
["Independent (politics)"] = "Independent politician",
["Independent (United States)"] = "Independent (US)",
["Independent American Party of Nevada"] = "Independent American Party",
["Independent Citizens' Initiative Save Austria"] = "Save Austria",
["Independent Democrat Union"] = "Independent Democratic Union",
["Independent Democrat"] = "Independent Democratic",
["Independent Democratic Party"] = "Independent Democratic",
["Independent Forward Blok"] = "Independent Forward Bloc",
["Independent Galician Party"] = "Galician Coalition",
["Independent Green Party of Virginia"] = "Independent Greens (Virginia)",
["Independent Greens of Virginia"] = "Independent Greens (Virginia)",
["Independent Group (Luxembourg)"] = "National Independent Union",
["Independent Group of Porto Cristo-S'illoters and Sympathizers"] = "Independent Group of Porto Cristo–S'illoters and Sympathisers",
["Independent Group of Porto Cristo–S'illoters and Sympathizers"] = "Independent Group of Porto Cristo–S'illoters and Sympathisers", -- dash differences
["Independent Labour Party (UK)"] = "Independent Labour Party",
["Independent Left (Luxembourg)"] = "Party of Independents of the East",
["Independent Liberal Party"] = "Independent Liberal Party (Nicaragua)",
["Independent nationalist"] = "Independent Nationalist",
["Independent Party (Luxembourg)"] = "National Independent Union",
["Independent Party (United States)"] = "Independent (US)",
["Independent Party (US)"] = "Independent (US)",
["Independent Party of Louisiana"] = "Independent (US)",
["Independent Party of Utah"] = "Independent (US)",
["Independent Party (Delaware)"] = "Independent Party of Delaware",
["Independent Party (Florida)"] = "Independent Party of Florida",
["Independent Party (Louisiana))"] = "Independent (US)",
["Independent Party (Utah)"] = "Independent (US)",
["Independent Party"] = "Independent Party (Thailand)",
["Independent Republican (United States)"] = "Independent Republican (US)",
["Independent Republican Party (US)"] = "Independent Republican (US)",
["Independent Republican"] = "Independent Republican (US)",
["Independent Residents"] = "Independent politician",
["Independent Scottish Nationalist"] = "Scottish nationalism",
["Independent Social Alliance Movement"] = "Independent Social Alliance",
["Independent Social Democratic Party of the Valencian Community"] = "Social Democratic Party (Spain)",
["Independent Socialist Labor"] = "Socialist Labor Party of America",
["Independent Socialist Party (Bolivia, 1944)"] = "Independent Socialist Party (Bolivia)",
["Independent Socialist Party"] = "Social Democratic Party (Spain)",
["Independent Spanish Falange"] = "Falange Española Independiente",
["Independent Union of Majorca"] = "Independent Union of Mallorca",
["Independent Union"] = "Independent Union (political party)",
["Independent unionist"] = "Independent Unionist",
["Independent-Republican Party"] = "Independent-Republicans (Minnesota)",
["Independent-Republicans of Minnesota"] = "Independent-Republicans (Minnesota)",
["Independents (Luxembourg)"] = "National Independent Union",
["Independents for Equality Movement"] = "Independents 4 Change",
["Independents of Menorca"] = "Menorcan Union",
["Independents"] = "Independent politicians",
["Indhiya Jananayaka Katchi"] = "Indhiya Jananayaga Katchi",
["Indian National Congress (Socialist)"] = "Indian Congress (Socialist)",
["Indian National Congress (I)"] = "Indian National Congress (Indira)",
["Indian Congress (J)"] = "Indian National Congress (Jagjivan)",
["Indian National Congress (Organization)"] = "Indian National Congress (Organisation)",
["Indian National Congress (O)"] = "Indian National Congress (Organisation)",
["Indian National Congress (R)"] = "Indian National Congress (Requisitionists)",
["Indian National Congress (U)"] = "Indian National Congress (Urs)",
["Indian Peoples Front"] = "Indian People's Front",
["Indiana Democratic Party"] = "Democratic Party (United States)",
["Indiana Republican Party"] = "Republican Party (United States)",
["Indigenous Nationalist Party of Tripura"] = "Indigenous Nationalist Party of Twipra",
["Individual Freedom Party"] = "Libertarian Party (Spain)",
["Indonesian Democratic Party - Struggle"] = "Indonesian Democratic Party of Struggle",
["Indonesian Democratic Party - Struggle"] = "PDIP",
["Indonesian Democratic Party - Struggle"] = "PDI-P", -- extremely common shorthand
["Indonesian Democratic Party – Struggle"] = "Indonesian Democratic Party of Struggle", -- dash differences
["Industrial Government Party (United States)"] = "Industrial Government Party (US)",
["Industrial Labor Party (United States)"] = "Industrial Labor Party (US)",
["Industrial Party (United States)"] = "Industrial Party (US)",
["Initiative for Catalonia Greens - United and Alternative Left"] = "Initiative for Catalonia Greens",
["Initiative for Catalonia Greens–United and Alternative Left"] = "Initiative for Catalonia Greens",
["Initiative for Catalonia"] = "Initiative for Catalonia Greens",
["Initiatives from Osaka"] = "Nippon Ishin no Kai",
["Internal Macedonian Revolutionary Organization – Democratic Party for Macedonian National Unity"] = "VMRO-DPMNE",
["Internationalist Initiative–Solidarity among Peoples"] = "The Peoples Decide",
["Internet MANA"] = "Internet Party and Mana Movement",
["Internet Party and MANA Movement"] = "Internet Party and Mana Movement",
["Iowa Democratic Party"] = "Democratic Party (United States)",
["Iowa New Party"] = "Other parties",
["Irish Labour"] = "Labour Party (Ireland)",
["Irish Liberal Party"] = "Liberal Party (UK)",
["Irish Repeal"] = "Repeal Association",
["Irish Republican"] = "Republican (Ireland)",
["Irish Unionist Party"] = "Irish Unionist Alliance",
["Irish Unionist"] = "Irish Unionist Alliance",
["Islamic Group of Kurdistan"] = "Kurdistan Islamic Group",
["Island Alternative (Spain)"] = "Island Alternative",
["Italian People's Party (1994-2002)"] = "Italian People's Party (1994)",
["Italian People's Party (1994–2002)"] = "Italian People's Party (1994)", -- dash differences
["Italian Reform Socialist Party"] = "Italian Reformist Socialist Party",
["Italy in Common"] = "Italia in Comune",
["Italy. Common Good"] = "Italia. Bene Comune",
["Ivica Dačić – Prime Minister of Serbia"] = "Ivica Dačić — Prime Minister of Serbia",
}
local full = {
["I Don't Pay Movement"] = {abbrev = "KDP", color = "darksalmon", shortname = "",},
["I Have Honor Alliance"] = {abbrev = "", color = "#D9222A", shortname = "",},
["I live for Serbia"] = {abbrev = "ŽZS", color = "#2A2E83", shortname = "",},
["I Noble (Independent)"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["I the South"] = {abbrev = "", color = "#0A5C8A", shortname = "",},
["Ia Ora te Nuna'a"] = {abbrev = "", color = "#FBD101", shortname = "",},
["Iauko Group"] = {abbrev = "", color = "#6796B2", shortname = "Iauko",},
["Iberian Natural Action"] = {abbrev = "", color = "#0A6430", shortname = "",},
["Iberian Union"] = {abbrev = "UNIB", color = "#FF9A31", shortname = "",},
["ICCSian Liberal"] = {abbrev = "", color = "#23238E", shortname = "",},
["Iceland Democratic Party"] = {abbrev = "", color = "#0000CC", shortname = "",},
["Icelandic Movement – Living Country"] = {abbrev = "", color = "#4682B4", shortname = "",},
["Icelandic National Front"] = {abbrev = "", color = "#3b64a6", shortname = "",},
["ICM Party (US)"] = {abbrev = "", color = "#FF4500", shortname = "",},
["ICT Energy"] = {abbrev = "", color = "#F9882A", shortname = "",},
["Idéal Démocrate"] = {abbrev = "ID", color = "#E784B3", shortname = "",},
["Ideal Democratic Party"] = {abbrev = "PDI", color = "#009900", shortname = "",},
["Idenpedent Party"] = {abbrev = "", color = "#ff8c00", shortname = "",},
["Identity and Action"] = {abbrev = "", color = "#0045AA", shortname = "",},
["Identity and Democracy"] = {abbrev = "ID", color = "#0E408A", shortname = "",},
["Identity and Democracy Party"] = {abbrev = "ID", color = "#0E408A", shortname = "",},
["Identity Ireland"] = {abbrev = "", color = "#1A1A68", shortname = "",},
["Identity, Tradition, Sovereignty"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Identity–Freedoms"] = {abbrev = "IDL", color = "#00A269", shortname = "",},
["Idle Toad"] = {abbrev = "", color = "#DC143C", shortname = "",},
["If You Want It, Chile Changes"] = {abbrev = "", color = "lightblue", shortname = "",},
["Ifiye"] = {abbrev = "", color = "#f29222", shortname = "",},
["Ikkjutt Jammu"] = {abbrev = "", color = "#F4C430", shortname = "",},
["Ikune"] = {abbrev = "", color = "#88868B", shortname = "",},
["Ilia Chavchavadze Society"] = {abbrev = "", color = "#FFB900", shortname = "Chavchavadze Society",},
["Ilicitans for Elche"] = {abbrev = "", color = "#4A913C", shortname = "",},
["Ilankai Tamil Arasu Kachchi"] = {abbrev = "ITAK", color = "#F5EF1D", shortname = "",},
["Imagina Burgos"] = {abbrev = "", color = "#ADBF2D", shortname = "",},
["Imbokodvo National Movement"] = {abbrev = "", color = "purple", shortname = "",},
["Immigration Control Platform"] = {abbrev = "", color = "#A52A2A", shortname = "Immigration Control",},
["Imperial British Conservative Party"] = {abbrev = "", color = "#00008B", shortname = "Imperial British Conservative",},
["Imperial Liberal Party"] = {abbrev = "LRP", color = "#F7B600", shortname = "",},
["Imperial Party (UK)"] = {abbrev = "", color = "purple", shortname = "Imperial",},
["Imperial Rule Assistance Association"] = {abbrev = "IRAA", color = "#000000", shortname = "Taisei Yokusankai",},
["Imperium Europa"] = {abbrev = "", color = "black", shortname = "",},
["Impulsa Ciudad"] = {abbrev = "", color = "#2EB7B0", shortname = "",},
["Impulsa Getafe"] = {abbrev = "", color = "#7EBD28", shortname = "",},
["IMRO – Bulgarian National Movement"] = {abbrev = "IMRO–BNM", color = "#000000", shortname = "",},
["In Black and White (Montenegro)"] = {abbrev = "CnB", color = "#812991", shortname = "",},
["In Struggle"] = {abbrev = "", color = "#E63C2C", shortname = "",},
["Inclusive Alliance Platform – Terra Ranka"] = {abbrev = "", color = "#DF0A0E", shortname = "PAI–Terra Ranka",},
["Independence-Alliance Party"] = {abbrev = "IAP", color = "#FFC14E", shortname = "Independence-Alliance",},
["Independence Movement (Lebanon)"] = {abbrev = "IM", color = "#D92025", shortname = "",},
["Independence for Scotland Party"] = {abbrev = "ISP", color = "#2980B9", shortname = "",},
["Independence from Europe"] = {abbrev = "", color = "#800080", shortname = "",},
["Independence Party of the Czech Republic"] = {abbrev = "SNČR", color = "#EE3135", shortname = "",},
["Independence Party - Langsum"] = {abbrev = "", color = "#0085FF", shortname = "Langsum",},
["Independence Party - Þversum"] = {abbrev = "", color = "#3399FF", shortname = "",},
["Independence Party (Alaska)"] = {abbrev = "", color = "#FFC14E", shortname = "",},
["Independence Party (Finland)"] = {abbrev = "IPU", color = "#017BC4", shortname = "Independence Party",},
["Independence Party (Florida)"] = {abbrev = "", color = "#FFC14E", shortname = "Independence",},
["Independence Party (Hungary)"] = {abbrev = "", color = "#40826D", shortname = "Independence",},
["Independence Party (Iceland, historical)"] = {abbrev = "", color = "#0099FF", shortname = "Independence",},
["Independence Party (Iceland)"] = {abbrev = "", color = "#00ADEF", shortname = "Independence",},
["Independence Party (Minnesota)"] = {abbrev = "", color = "#FFC14E", shortname = "Independence",},
["Independence Party (New York)"] = {abbrev = "", color = "#FFC14E", shortname = "Independence",},
["Independence Party (Puerto Rico)"] = {abbrev = "PIP", color = "#009C4D", shortname = "Independence",},
["Independence Party (US)"] = {abbrev = "", color = "#FFC14E", shortname = "Independence",},
["Independence (Israeli political party)"] = {abbrev = "", color = "#013068", shortname = "Independence",},
["Independence (Italian political party)"] = {abbrev = "", color = "#14506E", shortname = "Independence",},
["Independence (legislative bloc)"] = {abbrev = "", color = "#255FCF", shortname = "Independence",},
["Independence/Democracy"] = {abbrev = "IND/DEM", color = "#F7AF20", shortname = "",},
["Independent (Delaware)"] = {abbrev = "", color = "#DDDDBB", shortname = "",},
["Independent (India)"] = {abbrev = "", color = "#DB7099", shortname = "",},
["Independent (Kuokoa) Party"] = {abbrev = "", color = "#BFBFBF", shortname = "Independent",},
["Independent (US)"] = {abbrev = "I", color = "#DDDDBB", shortname = "Independent",},
["Independent (Vietnam)"] = {abbrev = "", color = "#FF6666", shortname = "",},
["Independent Agrarian (Spain)"] = {abbrev = "", color = "#8FBC8F", shortname = "",},
["Independent Agrarian Movement"] = {abbrev = "", color = "#DAFF61", shortname = "",},
["Independent Agrarian Party"] = {abbrev = "SKS", color = "", shortname = "",},
["Independent Alliance (Ireland)"] = {abbrev = "", color = "#CCCCFF", shortname = "Independent Alliance",},
["Independent Alliance (Kent)"] = {abbrev = "IAK", color = "#7B9B5C", shortname = "Ind. Alliance",},
["Independent Alliance (UK)"] = {abbrev = "IA", color = "#00783A", shortname = "Ind. Alliance",},
["Independent Alliance for Reform"] = {abbrev = "", color = "#E50A81", shortname = "",},
["Independent Alternative for Italians Abroad"] = {abbrev = "", color = "#FFF100", shortname = "",},
["Independent Alternative for Zas"] = {abbrev = "", color = "#A3D6E4", shortname = "",},
["Independent Alternative of Galicia"] = {abbrev = "", color = "#000000", shortname = "",},
["Independent Alternative–Progressives"] = {abbrev = "", color = "#339966", shortname = "",},
["Independent American Party"] = {abbrev = "IAP", color = "#c49334", shortname = "Independent American",},
["Independent and Citizen Alternative Candidacy of Sabadell"] = {abbrev = "", color = "#DEC939", shortname = "",},
["Independent Aragonese Party"] = {abbrev = "", color = "#F4B74D", shortname = "",},
["Independent Autonomists"] = {abbrev = "", color = "#EBECF0", shortname = "",},
["Independent Bloc (Bosnia and Herzegovina)"] = {abbrev = "NB", color = "#4089B6", shortname = "",},
["Independent Belemite Party"] = {abbrev = "PIB", color = "#e76100", shortname = "",},
["Independent Bosnian-Herzegovinian List"] = {abbrev = "NBL", color = "#00C000", shortname = "",},
["Independent Britwellian Residents"] = {abbrev = "", color = "pink", shortname = "Britwellian",},
["Independent Candidacy (Castile and León)"] = {abbrev = "", color = "#CC2B54", shortname = "",},
["Independent Candidacy"] = {abbrev = "", color = "#AAAAAA", shortname = "",},
["Independent Canterbury Nationalist"] = {abbrev = "", color = "#E6E6FA", shortname = "",},
["Independent Carlist"] = {abbrev = "", color = "#A3B5F1", shortname = "",},
["Independent Catalan Nationalist"] = {abbrev = "", color = "#FFF895", shortname = "",},
["Independent Catholic (Netherlands)"] = {abbrev = "", color = "#032900", shortname = "",},
["Independent Catholic (Spain)"] = {abbrev = "", color = "#7B97B0", shortname = "",},
["Independent Centre of the Canaries"] = {abbrev = "", color = "#239CA4", shortname = "",},
["Independent Citizens"] = {abbrev = "", color = "#FAD900", shortname = "",},
["Independent Citizens Movement"] = {abbrev = "", color = "#67FFFF", shortname = "",},
["Independent Citizens of Sanlúcar"] = {abbrev = "", color = "#7EC55D", shortname = "",},
["Independent Civic Organisation of South Africa"] = {abbrev = "", color = "#999999", shortname = "Independent Civic Organisation",},
["Independent CLP"] = {abbrev = "IND", color = "#FF7F00", shortname = "Independent CLP",},
["Independent Community & Health Concern"] = {abbrev = "", color = "#3C474F", shortname = "Independent Health Concern",},
["Independent Communist"] = {abbrev = "", color = "#D50000", shortname = "",},
["Independent Conservative"] = {abbrev = "", color = "#DDEEFF", shortname = "Ind. Conservative",},
["Independent Conservative (Spain)"] = {abbrev = "", color = "#77B1D4", shortname = "",},
["Independent Coordinator"] = {abbrev = "", color = "#094C12", shortname = "",},
["Independent democrat (Hong Kong)"] = {abbrev = "", color = "#DDDDDD", shortname = "Ind. democrat",},
["Independent Democratic Action"] = {abbrev = "ADI", color = "#ffeb00", shortname = "",},
["Independent Democratic Alternative of Ibi"] = {abbrev = "", color = "#008366", shortname = "",},
["Independent Democratic Candidacy"] = {abbrev = "", color = "#EEEE6E", shortname = "",},
["Independent Democratic Centre"] = {abbrev = "", color = "#FBB126", shortname = "",},
["Independent Democratic Conference"] = {abbrev = "IDC", color = "", shortname = "",},
["Independent Democratic Party (US)"] = {abbrev = "", color = "#6699CC", shortname = "Independent Democratic",},
["Independent Democratic Party (Yugoslavia)"] = {abbrev = "SDS", color = "#FCF342", shortname = "",},
["Independent Democratic Pole"] = {abbrev = "", color = "yellow", shortname = "",},
["Independent Democratic Serb Party"] = {abbrev = "SDSS", color = "#2D3C8C", shortname = "",},
["Independent Democratic Party of Serbia"] = {abbrev = "S DSS", color = "#545AA7", shortname = "",},
["Independent Democratic Union (Spain)"] = {abbrev = "", color = "#2295B3", shortname = "",},
["Independent Democratic Union of Chad"] = {abbrev = "UDIT", color = "#4682B4", shortname = "",},
["Independent Democratic Union"] = {abbrev = "UDI", color = "#29398A", shortname = "",},
["Independent Democratic"] = {abbrev = "", color = "#6699CC", shortname = "",},
["Independent Democrats (Czech Republic)"] = {abbrev = "", color = "darkgreen", shortname = "",},
["Independent Democrats"] = {abbrev = "ID", color = "#ef8321", shortname = "",},
["Independent Ecijan Socialist Party"] = {abbrev = "", color = "#3E4E72", shortname = "",},
["Independent Ecological Alliance"] = {abbrev = "AEI", color = "#a7c325", shortname = "",},
["Independent Ecological Movement"] = {abbrev = "MEI", color = "#6EBE43", shortname = "",},
["Independent Ecology"] = {abbrev = "", color = "PaleGreen", shortname = "",},
["Independent Effectiveness"] = {abbrev = "", color = "#B5955D", shortname = "",},
["Independent Farmers"] = {abbrev = "", color = "#66FF99", shortname = "Ind. Farmers",},
["Independent Farnham Residents"] = {abbrev = "", color = "pink", shortname = "Ind. Farnham Res.",},
["Independent Federalist Confederation"] = {abbrev = "", color = "#008000", shortname = "",},
["Independent Fianna Fáil"] = {abbrev = "IFF", color = "#7FFF00", shortname = "Independent Fianna Fáil",},
["Independent Forward Bloc"] = {abbrev = "", color = "yellow", shortname = "",},
["Independent Genilensan Unity"] = {abbrev = "", color = "#F0B732", shortname = "",},
["Independent Greeks"] = {abbrev = "ANEL", color = "#38A3E7", shortname = "",},
["Independent Green Ecologists of the Balearics"] = {abbrev = "", color = "#07824A", shortname = "",},
["Independent Green Voice"] = {abbrev = "", color = "#008080", shortname = "",},
["Independent Green"] = {abbrev = "", color = "#ccffcc", shortname = "",},
["Independent Greens (Denmark)"] = {abbrev = "", color = "#E8CCC7", shortname = "Independent Greens",},
["Independent Greens (Virginia)"] = {abbrev = "", color = "#0BDA51", shortname = "Independent Greens",},
["Independent Group for Almería"] = {abbrev = "", color = "#0043A1", shortname = "",},
["Independent Group for the Municipal Autonomy of Torrenueva"] = {abbrev = "", color = "#759F91", shortname = "",},
["Independent Group for Villarrobledo"] = {abbrev = "", color = "#005246", shortname = "",},
["Independent Group of Benalmádena"] = {abbrev = "", color = "#EB7711", shortname = "",},
["Independent Group of Cendea de Cizur"] = {abbrev = "", color = "#FFDA1B", shortname = "",},
["Independent Group of Cercedilla"] = {abbrev = "", color = "#0E8535", shortname = "",},
["Independent Group of Estella"] = {abbrev = "", color = "#6E9BBC", shortname = "",},
["Independent Group of Huarte"] = {abbrev = "", color = "#F20114", shortname = "",},
["Independent Group of Porto Cristo–S'illoters and Sympathisers"] = {abbrev = "", color = "#128EA9", shortname = "",},
["Independent Group of Porto Cristo"] = {abbrev = "", color = "#0141AD", shortname = "",},
["Independent Group of Santa Úrsula"] = {abbrev = "", color = "#873597", shortname = "",},
["Independent Group of Torrejón"] = {abbrev = "", color = "#FCD91D", shortname = "",},
["Independent Group of Zizur Mayor"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Independent Group Pro-City Council of El Palmar de Troya"] = {abbrev = "", color = "#04BC0C", shortname = "",},
["Independent Grouping for Reflection"] = {abbrev = "GIR", color = "#005CAB", shortname = "",},
["Independent Guanacaste Party"] = {abbrev = "PGI", color = "#2e9eff", shortname = "",},
["Independent Health Alliance"] = {abbrev = "", color = "#B0C4DE", shortname = "Ind. Health Alliance",},
["Independent Hungarian Democratic Party"] = {abbrev = "FMDP", color = "#50C878", shortname = "",},
["Independent Herrenian Group"] = {abbrev = "AHI", color = "#29AA4D", shortname = "",},
["Independent Initiative (Spain)"] = {abbrev = "", color = "#212084", shortname = "",},
["Independent Initiative"] = {abbrev = "", color = "#2517AB", shortname = "",},
["Independent Ireland"] = {abbrev = "II", color = "#3BEE56", shortname = "Independent Ireland",},
["Independent Irish Labour"] = {abbrev = "", color = "#FFE8E8", shortname = "",},
["Independent Irish Nationalist"] = {abbrev = "", color = "#99FF66", shortname = "",},
["Independent Irish Party"] = {abbrev = "", color = "#DDFFDD", shortname = "Independent Irish",},
["Independent Kidderminster Hospital and Health Concern"] = {abbrev = "", color = "hotpink", shortname = "Health Concern",},
["Independent Labor (Australia)"] = {abbrev = "IND", color = "#F00012", shortname = "Ind. Labor",},
["Independent Labour Group"] = {abbrev = "", color = "#FFE8E8", shortname = "Ind. Labour Group",},
["Independent Labour Party"] = {abbrev = "", color = "#B22222", shortname = "Ind. Labour Party",},
["Independent Labour"] = {abbrev = "", color = "#FFBBBB", shortname = "",},
["Independent Langley Residents"] = {abbrev = "", color = "pink", shortname = "Ind. Langley Res.",},
["Independent Left (Ireland)"] = {abbrev = "IL", color = "#FF3300", shortname = "Independent Left",},
["Independent Left (Italy)"] = {abbrev = "", color = "#CE2029", shortname = "Independent Left",},
["Independent Left of Castellón"] = {abbrev = "", color = "#528063", shortname = "",},
["Independent Left–Initiative for San Sebastián de los Reyes"] = {abbrev = "", color = "#18742A", shortname = "",},
["Independent Liberal"] = {abbrev = "", color = "#FFFFAA", shortname = "",},
["Independent Liberal (Philippines)"] = {abbrev = "LP (Ind.)", color = "#f7f2c1", shortname = "Liberal (ind.)",},
["Independent Nacionalista"] = {abbrev = "NP (Ind.)", color = "#d2fdd2", shortname = "Nacionalista (ind.)",},
["Independent Liberal (Australia)"] = {abbrev = "IND", color = "#1C0DAB", shortname = "Ind. Liberal",},
["Independent Liberal (Spain)"] = {abbrev = "", color = "#B0D18B", shortname = "",},
["Independent Liberal Democrat"] = {abbrev = "", color = "#FFEEAA", shortname = "Ind. Lib Dem",},
["Independent Liberal Group of Villaviciosa"] = {abbrev = "", color = "#40C052", shortname = "",},
["Independent Liberal-Labour"] = {abbrev = "Ind. Lib-Lab", color = "#FED8B1", shortname = "",},
["Independent Liberal Party (Chile)"] = {abbrev = "", color = "orange", shortname = "",},
["Independent Liberal Party (Kosovo)"] = {abbrev = "SLS", color = "#FFD700", shortname = "",},
["Independent Liberal Party (Nicaragua)"] = {abbrev = "PLI", color = "#FF69B4", shortname = "",},
["Independent Liberal Party (Spain)"] = {abbrev = "", color = "#029138", shortname = "",},
["Independent Liberal Party (Trinidad and Tobago)"] = {abbrev = "ILP", color = "#006F45", shortname = "",},
["Independent Liberal Unionist"] = {abbrev = "", color = "#2061FF", shortname = "Ind. Liberal Unionist",},
["Independent Liberals (Israel)"] = {abbrev = "", color = "#FFD700", shortname = "Independent Liberals",},
["Independent Lugo Forum"] = {abbrev = "", color = "#028C64", shortname = "",},
["Independent members of the House of Lords"] = {abbrev = "", color = "lightgrey", shortname = "Independent",},
["Independent Moralizing Front"] = {abbrev = "", color = "#F08080", shortname = "",},
["Independent Motrilenian Democratic Group"] = {abbrev = "", color = "#1BE4FF", shortname = "",},
["Independent Movement for Justice and Dignity"] = {abbrev = "", color = "#B0C236", shortname = "",},
["Independent Movement of Absolute Renovation"] = {abbrev = "MIRA", color = "#0033a0", shortname = "",},
["Independent Movement of Justice and Dignity"] = {abbrev = "MIJD", color = "#AEC306", shortname = "",},
["Independent National"] = {abbrev = "Ind Nat", color = "grey", shortname = "Ind. Nationalist",},
["Independent National (Australia)"] = {abbrev = "", color = "#008000", shortname = "Independent National",},
["Independent National Electoral Movement"] = {abbrev = "", color = "#85614D", shortname = "",},
["Independent National Party (Luxembourg)"] = {abbrev = "", color = "#993366", shortname = "",},
["Independent National Party (Uruguay)"] = {abbrev = "PNI", color = "#00008b", shortname = "",},
["Independent Nationalist Party"] = {abbrev = "", color = "green", shortname = "",},
["Independent Nationalist"] = {abbrev = "Ind. Nat.", color = "#cdffab", shortname = "Ind. Nationalist",},
["Independent Navarrese Front"] = {abbrev = "", color = "#FF0002", shortname = "",},
["Independent Neighborhood Initiative of Alcorcón"] = {abbrev = "", color = "#00923F", shortname = "",},
["Independent Neighbours from Velilla"] = {abbrev = "", color = "#0D00AF", shortname = "",},
["Independent Network"] = {abbrev = "", color = "#483D8B", shortname = "Ind. Network",},
["Independent Oxford Alliance"] = {abbrev = "IOA", color = "#702CA1", shortname = "",},
["Independent Parliamentary Group"] = {abbrev = "IPG", color = "#DDDDDD", shortname = "Ind. Parliamentary Group",},
["Independent Party (Costa Rica)"] = {abbrev = "PI", color = "#663267", shortname = "",},
["Independent Party (Denmark)"] = {abbrev = "", color = "#8091BC", shortname = "Independents",},
["Independent Party (Laos)"] = {abbrev = "", color = "#002654", shortname = "",},
["Independent Party (Thailand)"] = {abbrev = "", color = "#ff8c00", shortname = "Independent",},
["Independent Party (Uruguay)"] = {abbrev = "", color = "#500778", shortname = "Independent Party",},
["Independent Party for Estella"] = {abbrev = "", color = "#FF0011", shortname = "",},
["Independent Party of Capital Mérida"] = {abbrev = "", color = "#D7A039", shortname = "",},
["Independent Party of Ciempozuelos"] = {abbrev = "", color = "#357E39", shortname = "",},
["Independent Party of Connecticut"] = {abbrev = "IPC", color = "#f39311", shortname = "Independent Party",},
["Independent Party of Delaware"] = {abbrev = "IPoD", color = "#98d8e9", shortname = "Independent Party",},
["Independent Party of Florida"] = {abbrev = "IPF", color = "#470a85", shortname = "Independent Party",},
["Independent Party of Melilla"] = {abbrev = "", color = "#F19D1A", shortname = "",},
["Independent Party of Nigrán"] = {abbrev = "", color = "#54B8F3", shortname = "",},
["Independent Party of Oregon"] = {abbrev = "IPO", color = "#f39311", shortname = "Independent Party",},
["Independent Party of Siero"] = {abbrev = "", color = "#B0008E", shortname = "",},
["Independent Party of the Right"] = {abbrev = "", color = "#008000", shortname = "",},
["Independent Party Ven–T"] = {abbrev = "", color = "#FF9933", shortname = "",},
["Independent Patriots for Change"] = {abbrev = "IPC", color = "#B06E02", shortname = "",},
["Independent People's Party (Luxembourg)"] = {abbrev = "", color = "lightblue", shortname = "",},
["Independent Platform of the North"] = {abbrev = "NPS", color = "#2c9180", shortname = "",},
["Independent Political Labour League"] = {abbrev = "", color = "#CC0033", shortname = "Ind. Labour League",},
["Independent politician"] = {abbrev = "Ind", color = "#DCDCDC", shortname = "Independent",}, -- Not affiliated with any party
["Independent politicians"] = {abbrev = "Ind", color = "#DCDCDC", shortname = "Independents",}, -- Not affiliated with any party
["Independent politician (Ireland)"] = {abbrev = "Ind", color = "#DDDDDD", shortname = "Independent",},
["Independent (Australia)"] = {abbrev = "IND", color = "#888888", shortname = "Independent",},
["Independents (Australia)"] = {abbrev = "IND", color = "#888888", shortname = "Independent",},
["Independent politicians in Australia"] = {abbrev = "IND", color = "#888888", shortname = "Independents",},
["Independent Politics Netherlands"] = {abbrev = "OPNL", color = "#CBBB9F", shortname = "",},
["Independent Popular Action"] = {abbrev = "API", color = "#228B22", shortname = "",},
["Independent Popular Council of Formentera"] = {abbrev = "AIPF", color = "#49AE53", shortname = "",},
["Independent Possibilist (Spain)"] = {abbrev = "", color = "#B87FB8", shortname = "",},
["Independent Progressive (Spain)"] = {abbrev = "", color = "#F0B9D6", shortname = "",},
["Independent Progressive Candidacy"] = {abbrev = "", color = "#EEA26E", shortname = "",},
["Independent Progressive Left of the Valencian Country"] = {abbrev = "", color = "#E62F4C", shortname = "",},
["Independent Progressive"] = {abbrev = "", color = "orange", shortname = "",},
["Independent Progressives (Torrevieja)"] = {abbrev = "", color = "#D2136A", shortname = "",},
["Independent Protestant (Netherlands)"] = {abbrev = "", color = "#009D70", shortname = "",},
["Independent Radical Party"] = {abbrev = "SRS", color = "#727497", shortname = "",},
["Independent Radical Socialist Republican Party"] = {abbrev = "", color = "#FF007F", shortname = "",},
["Independent Radicals"] = {abbrev = "RI", color = "#FFA07A", shortname = "",},
["Independent Ratepayers"] = {abbrev = "", color = "#dddddd", shortname = "Ind. Ratepayers",},
["Independent Reform"] = {abbrev = "", color = "#99FF99", shortname = "",},
["Independent Regional Unity"] = {abbrev = "", color = "#4437A2", shortname = "",},
["Independent Regionalist (Spain)"] = {abbrev = "", color = "#DB777B", shortname = "",},
["Independent Regionalist Force"] = {abbrev = "", color = "green", shortname = "",},
["Independent Regionalist Party"] = {abbrev = "", color = "#D42D34", shortname = "Regionalist",},
["Independent Republican (Ireland)"] = {abbrev = "Ind Rep", color = "#d1ffb2", shortname = "Ind. Republican",},
["Independent Republican (Spain)"] = {abbrev = "", color = "#A77B9C", shortname = "",},
["Independent Republican (US)"] = {abbrev = "", color = "#CC6666", shortname = "Independent Republican",},
["Independent Republicans"] = {abbrev = "RI", color = "#002654", shortname = "",},
["Independent Resident"] = {abbrev = "", color = "#dddddd", shortname = "",},
["Independent Residents Association"] = {abbrev = "", color = "#dddddd", shortname = "Ind. Residents",},
["Independent Revolutionary Party"] = {abbrev = "PRI", color = "#19A105", shortname = "",},
["Independent Royalist Party of Estonia"] = {abbrev = "", color = "#800a80", shortname = "Royalists",},
["Independent Rural Party (Sweden)"] = {abbrev = "LO", color = "#92D04F", shortname = "",},
["Independent politician (Robredo, 2022)"] = {abbrev = "", color = "#FE18A3", shortname = "Independent (Robredo)",},
["Independent Segovian Alternative"] = {abbrev = "", color = "#5F8BB8", shortname = "",},
["Independent Senate Group"] = {abbrev = "OSF", color = "#B4C7D2", shortname = "",},
["Independent Sencelleran People"] = {abbrev = "", color = "#D12026", shortname = "",},
["Independent Sineueran People"] = {abbrev = "", color = "#FED200", shortname = "",},
["Independent Smallholders, Agrarian Workers and Civic Party"] = {abbrev = "FKGP", color = "#36492b", shortname = "",},
["Independent Social Alliance"] = {abbrev = "ASI", color = "#1FA12E", shortname = "",},
["Independent Social Alternative Party"] = {abbrev = "PAIS", color = "#ED6D19", shortname = "",},
["Independent Social Democrat"] = {abbrev = "", color = "#D9B3FF", shortname = "Ind. Social Democrat",},
["Independent Social Democratic Party (Romania, present-day)"] = {abbrev = "PSDi", color = "#D31C25", shortname = "",},
["Independent Social Democratic Party of Germany"] = {abbrev = "USPD", color = "#DA0903", shortname = "",},
["Independent Social Group (Asturias)"] = {abbrev = "", color = "#606A77", shortname = "",},
["Independent Social Group of Avilés"] = {abbrev = "", color = "#E108DB", shortname = "",},
["Independent Social Group"] = {abbrev = "", color = "#006733", shortname = "",},
["Independent Social Party of the Rincón de la Victoria Municipality"] = {abbrev = "", color = "#445684", shortname = "",},
["Independent Socialist Labor Party (US)"] = {abbrev = "", color = "#CD3700", shortname = "Independent Socialist Labor",},
["Independent Socialist Party (Argentina)"] = {abbrev = "PSI", color = "#FFC0CB", shortname = "Independent Socialist Party",},
["Independent Socialist Party (Bolivia)"] = {abbrev = "", color = "#F4A460", shortname = "",},
["Independent Socialist Party (Ireland)"] = {abbrev = "ISP", color = "#FF3333", shortname = "Independent Socialist Party",},
["Independent Socialist Party (Luxembourg)"] = {abbrev = "", color = "#F8D821", shortname = "",},
["Independent Socialist Party of Chad"] = {abbrev = "PSIT", color = "#FF8080", shortname = "",},
["Independent Socialist Union"] = {abbrev = "USI", color = "#E48085", shortname = "",},
["Independent Socialist"] = {abbrev = "", color = "red", shortname = "",},
["Independent Socialists (France)"] = {abbrev = "SI", color = "#FF5E4D", shortname = "",},
["Independent Socialists of Extremadura"] = {abbrev = "", color = "#0BB828", shortname = "",},
["Independent Solidarity"] = {abbrev = "", color = "#EDE16F", shortname = "",},
["Independent Solution"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["Independent Solutions for Roquetas de Mar"] = {abbrev = "", color = "#69D136", shortname = "",},
["Independent Sorian Alternative"] = {abbrev = "", color = "#C71585", shortname = "",},
["Independent Student Faction"] = {abbrev = "", color = "#631163", shortname = "",},
["Independent Supporters for Change"] = {abbrev = "ISC", color = "#FFFF00", shortname = "",},
["Independent Tudelan Group"] = {abbrev = "", color = "#347AAD", shortname = "",},
["Independent Turkey Party"] = {abbrev = "BTP", color = "#FF4747", shortname = "",},
["Independent Union (political party)"] = {abbrev = "IU", color = "#203961", shortname = "",},
["Independent Union and Progress of Bétera"] = {abbrev = "", color = "#00652D", shortname = "",},
["Independent Union of Carreño"] = {abbrev = "", color = "#088241", shortname = "",},
["Independent Union of Mallorca"] = {abbrev = "", color = "#292C73", shortname = "",},
["Independent Unionist Association"] = {abbrev = "", color = "blue", shortname = "Ind. Unionist Party",},
["Independent Unionist"] = {abbrev = "Ind U", color = "#aadfff", shortname = "Ind. Unionist",},
["Independent Utreran Citizen Formation"] = {abbrev = "", color = "#FFB606", shortname = "",},
["Independent Voters Association"] = {abbrev = "", color = "#E64E4E", shortname = "Republican/IVA",},
["Independent Whig"] = {abbrev = "", color = "#FBCEB1", shortname = "Ind. Whig",},
["Independent Workers' Party"] = {abbrev = "POI", color = "#941318", shortname = "",},
["Independent Workers' Party (German Socialists)"] = {abbrev = "UAP", color = "#CFEFEE", shortname = "",},
["Independent Working Class Association"] = {abbrev = "", color = "#0095B6", shortname = "Ind. Working Class",},
["Independent Zimbabwe Group"] = {abbrev = "IZG", color = "#6B3FA0", shortname = "",},
["Independent-Republicans (Minnesota)"] = {abbrev = "", color = "#E81B23", shortname = "Ind.-Republican",},
["Independents (political party)"] = {abbrev = "NEZ", color = "#3073a6", shortname = "",},
["Independents 4 Change"] = {abbrev = "I4C", color = "#FFC0CB", shortname = "Inds. 4 Change",},
["Independents for Canberra"] = {abbrev = "IFC", color = "#4F1128", shortname = "",},
["Independents for Carballo"] = {abbrev = "", color = "#FD7D02", shortname = "",},
["Independents for Cartaya"] = {abbrev = "", color = "#0A396D", shortname = "",},
["Independents for Cee"] = {abbrev = "", color = "#08AF17", shortname = "",},
["Independents for Citizen-oriented Democracy"] = {abbrev = "", color = "#F4821F", shortname = "Unabhängige",},
["Independents for Croatia"] = {abbrev = "", color = "#08457E", shortname = "",},
["Independents for Cuenca"] = {abbrev = "", color = "#FBF104", shortname = "",},
["Independents for Dorset"] = {abbrev = "IfD", color = "#C41F85", shortname = "",},
["Independents for Extremadura"] = {abbrev = "", color = "#019132", shortname = "",},
["Independents for Ferrol"] = {abbrev = "", color = "#0525B4", shortname = "",},
["Independents for Frome"] = {abbrev = "ifF", color = "#000000", shortname = "",},
["Independents for Huelva"] = {abbrev = "", color = "#053DDC", shortname = "",},
["Independents for León"] = {abbrev = "", color = "#800080", shortname = "",},
["Independents for Sa Pobla"] = {abbrev = "", color = "#16762F", shortname = "",},
["Independents for Teruel"] = {abbrev = "", color = "#B14173", shortname = "",},
["Independents for the National Community"] = {abbrev = "IPCN", color = "#DF0101", shortname = "",},
["Independents for the Municipal Progress of Osona"] = {abbrev = "", color = "#BE624B", shortname = "",},
["Independents for Tunbridge Wells"] = {abbrev = "IfTW", color = "#dddddd", shortname = "",},
["Independents for Vilagarcía"] = {abbrev = "", color = "#3BD1FA", shortname = "",},
["Independents Movement (Cyprus)"] = {abbrev = "", color = "#402666", shortname = "",},
["Independents of Aguadulce and El Parador"] = {abbrev = "", color = "#A04D47", shortname = "",},
["Independents of Asma Lands"] = {abbrev = "", color = "#6DC5EF", shortname = "",},
["Independents of Asturias"] = {abbrev = "", color = "#2ECCFA", shortname = "",},
["Independents of Formentera Group"] = {abbrev = "", color = "#004D24", shortname = "",},
["Independents of Fuerteventura"] = {abbrev = "", color = "#AFAF39", shortname = "",},
["Independents of Galicia"] = {abbrev = "", color = "#1DB2B9", shortname = "",},
["Independents of Getxo"] = {abbrev = "", color = "#BF0161", shortname = "",},
["Independents of Hope"] = {abbrev = "", color = "#ECEEA1", shortname = "",},
["Independents of Ibiza and Formentera Federation"] = {abbrev = "", color = "#2A52BE", shortname = "",},
["Independents of Inca"] = {abbrev = "", color = "#4F71B0", shortname = "",},
["Independents of La Selva"] = {abbrev = "", color = "#488121", shortname = "",},
["Independents of Marratxí"] = {abbrev = "", color = "#002651", shortname = "",},
["Independents of Meaño"] = {abbrev = "", color = "#92AF53", shortname = "",},
["Independents of Navarre"] = {abbrev = "", color = "#DB5A5A", shortname = "",},
["Independents of Porriño"] = {abbrev = "", color = "#4A4AB5", shortname = "",},
["Independientes Portuenses"] = {abbrev = "", color = "#FFD403", shortname = "",},
["Indhiya Jananayaga Katchi"] = {abbrev = "IJK", color = "#F08080", shortname = "",},
["India Janshakti Party"] = {abbrev = "IJP", color = "orangered", shortname = "",},
["Indian Bahujan Samajwadi Party"] = {abbrev = "IBSP", color = "#2EFEF7", shortname = "",},
["Indian Christian Secular Party"] = {abbrev = "ICSP", color = "#7002b0", shortname = "",},
["Indian Congress (Socialist) – Sarat Chandra Sinha"] = {abbrev = "INS(SCS)", color = "#000000", shortname = "",},
["Indian Congress (Socialist)"] = {abbrev = "IC(S)", color = "#00FF00", shortname = "",},
["Indian Democratic Party"] = {abbrev = "IDP", color = "silver", shortname = "",},
["Indian Democratic Socialist Party"] = {abbrev = "IDSP", color = "#0B3B0B", shortname = "",},
["Indian Federal Democratic Party"] = {abbrev = "", color = "#CC3399", shortname = "",},
["Indian Gandhiyan Party"] = {abbrev = "IGP", color = "#54C0DB", shortname = "",},
["Indian Justice Party"] = {abbrev = "IJP", color = "grey", shortname = "",},
["Indian Liberal Party"] = {abbrev = "ILP", color = "#FF9999", shortname = "",},
["Indian National Congress"] = {abbrev = "INC", color = "#00BFFF", shortname = "",},
["Indian National Congress (Indira)"] = {abbrev = "INC(I)", color = "#0EF4E1", shortname = "",},
["Indian National Congress (Jagjivan)"] = {abbrev = "INC(J)", color = "#00CCFF", shortname = "",},
["Indian National Congress (Organisation)"] = {abbrev = "INC(O)", color = "#a5f1f9", shortname = "",},
["Indian National Congress (Requisitionists)"] = {abbrev = "INC(R)", color = "turquoise", shortname = "",},
["Indian National Congress (Urs)"] = {abbrev = "INC(U)", color = "#7777FF", shortname = "",},
["Indian National Democratic Congress"] = {abbrev = "CRC", color = "Blue", shortname = "",},
["Indian National Developmental Inclusive Alliance"] = {abbrev = "INDIA", color = "#00B7EB", shortname = "",},
["Indian National Labour Party"] = {abbrev = "INLP", color = "#B7A693", shortname = "",},
["Indian National League"] = {abbrev = "INL", color = "#006600", shortname = "",},
["Indian National Lok Dal"] = {abbrev = "INLD", color = "#005747", shortname = "",},
["Indian Peace Party"] = {abbrev = "IPP", color = "#CECEF6", shortname = "",},
["Indian People's Forward Bloc"] = {abbrev = "IPFB", color = "Red", shortname = "",},
["Indian People's Front"] = {abbrev = "IPF", color = "#e40017", shortname = "",},
["Indian Secular Front"] = {abbrev = "ISF", color = "#0204ef", shortname = "",},
["Indian Union Muslim League"] = {abbrev = "IUML", color = "#006600", shortname = "",},
["Indigenous and Social Alternative Movement"] = {abbrev = "MAIS", color = "#ED151F", shortname = "",},
["Indigenous Authorities of Colombia"] = {abbrev = "AICO", color = "green", shortname = "",},
["Indigenous Nationalist Party of Twipra"] = {abbrev = "INPT", color = "#008100", shortname = "",},
["Indigenous People's Front of Tripura"] = {abbrev = "IPFT", color = "#07892f", shortname = "",},
["Indigenous-Aboriginal Party of Australia"] = {abbrev = "", color = "#344734", shortname = "",},
["Indonesian Christian Party 1945"] = {abbrev = "", color = "#0e2f25", shortname = "",},
["Indonesian Christian Party"] = {abbrev = "", color = "#799BCB", shortname = "Parkindo",},
["Indonesian Democratic Party of Devotion"] = {abbrev = "PKDI", color = "#00862C", shortname = "",},
["Indonesian Democratic Party of Struggle"] = {abbrev = "PDI-P", color = "#DB2016", shortname = "",},
["Indonesian Democratic Party"] = {abbrev = "PDI", color = "#DB2016", shortname = "",},
["Indonesian Democratic Vanguard Party"] = {abbrev = "PPDI", color = "#D6000E", shortname = "",},
["Indonesian Islamic Union Party"] = {abbrev = "PSII", color = "#000000", shortname = "",},
["Indonesian Justice and Unity Party"] = {abbrev = "PKP", color = "#E4000E", shortname = "",},
["Indonesian Marhaen People's Union"] = {abbrev = "", color = "red", shortname = "Permai",},
["Indonesian Nahdlatul Community Party"] = {abbrev = "PNU", color = "#1E6539", shortname = "",},
["Indonesian National Armed Forces"] = {abbrev = "", color = "#FF0000", shortname = "Military",},
["Indonesian National Party – Marhaen Masses"] = {abbrev = "PNI-MM", color = "#F24439", shortname = "",},
["Indonesian National Party Marhaenism"] = {abbrev = "PNIM", color = "#A50005", shortname = "",},
["Indonesian National Party – Marhaenist Front"] = {abbrev = "PNI-FM", color = "#FF9B73", shortname = "",},
["Indonesian National Party"] = {abbrev = "PNI", color = "#D20000", shortname = "",},
["Indonesian National Populist Fortress Party"] = {abbrev = "PNBK", color = "#85011F", shortname = "",},
["Indonesian People's Party"] = {abbrev = "PARI", color = "#AE1C28", shortname = "",},
["Indonesian People's Party 1955"] = {abbrev = "PRI", color = "#D2B48C", shortname = "",},
["Indonesian Solidarity Party"] = {abbrev = "PSI", color = "#E6212A", shortname = "",},
["Indonesian Unity Party"] = {abbrev = "", color = "#9B4200", shortname = "",},
["Industrial Government Party (US)"] = {abbrev = "", color = "#DD051D", shortname = "Industrial Government",},
["Industrial Government Party"] = {abbrev = "", color = "#DD051D", shortname = "Industrial Government",},
["Industrial Labor Party (US)"] = {abbrev = "", color = "#996600", shortname = "Industrial Labor",},
["Industrial Party (US)"] = {abbrev = "", color = "#666633", shortname = "Industrial",},
["Industry and Business Party"] = {abbrev = "", color = "#01B0CF", shortname = "",},
["Industry Party"] = {abbrev = "", color = "#808080", shortname = "Industry",},
["Industry Will Save Georgia"] = {abbrev = "MGS", color = "#5E1317", shortname = "",},
["IniciativaVerds"] = {abbrev = "", color = "#A8A82B", shortname = "",},
["Inite"] = {abbrev = "", color = "#228B22", shortname = "",},
["Initiative for Albacete"] = {abbrev = "", color = "#CA1B23", shortname = "",},
["Initiative for Catalonia Greens"] = {abbrev = "", color = "#4E9E41", shortname = "",},
["Initiative for El Hierro"] = {abbrev = "", color = "#D90626", shortname = "",},
["Initiative for La Gomera"] = {abbrev = "", color = "#3D8B3D", shortname = "",},
["Initiative for Tafalla"] = {abbrev = "", color = "#8DB974", shortname = "",},
["Initiative for the Development of Soria"] = {abbrev = "", color = "#DE6000", shortname = "",},
["Initiative for the Ribera"] = {abbrev = "", color = "#EB7747", shortname = "",},
["Initiative of Communist and Workers' Parties"] = {abbrev = "", color = "#D01010", shortname = "INITIATIVE",},
["Initiative of the Republic of Poland"] = {abbrev = "IRP", color = "Red", shortname = "",},
["Inkatha Freedom Party"] = {abbrev = "IFP", color = "#FF0000", shortname = "",},
["Inn National Development Party"] = {abbrev = "", color = "#00923F", shortname = "",},
["Innovation and Unity Party"] = {abbrev = "PINU", color = "#EE9E09", shortname = "",},
["Innovative Action"] = {abbrev = "", color = "#09599B", shortname = "",},
["Innovation Party (Turkey)"] = {abbrev = "YP", color = "#3671B7", shortname = "",},
["Institutional Democratic Party (Dominican Republic)"] = {abbrev = "", color = "#fd8204", shortname = "",},
["Institutional Democratic Party"] = {abbrev = "PID", color = "#FBEC5D", shortname = "",},
["Institutional Renewal Party of National Action"] = {abbrev = "PRIAN", color = "#FFFF00", shortname = "",},
["Institutional Republican Party"] = {abbrev = "PRI", color = "#0F4D92", shortname = "",},
["Institutional Revolutionary Party"] = {abbrev = "PRI", color = "#4DA663", shortname = "",},
["Institutionalist Democratic Coalition"] = {abbrev = "", color = "#ADFF2F", shortname = "",},
["Insular Group of Gran Canaria"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Integration and Development Movement"] = {abbrev = "", color = "#05238F", shortname = "",},
["Integration Column"] = {abbrev = "", color = "#A52B20", shortname = "",},
["Integration with Britain Party"] = {abbrev = "IWBP", color = "#bfb", shortname = "",},
["Integration, Representation and New Hope"] = {abbrev = "", color = "#E50066", shortname = "",},
["Integrist Party"] = {abbrev = "", color = "#784315", shortname = "Integrist",},
["Integrity Party of Aotearoa New Zealand"] = {abbrev = "", color = "#ffffff", shortname = "",},
["Integrity Southampton"] = {abbrev = "", color = "#110b0b", shortname = "",},
["Intellectual Armenia Party"] = {abbrev = "", color = "#4385E3", shortname = "",},
["Intelligent Madrid"] = {abbrev = "", color = "#FDDA0C", shortname = "",},
["Internal Macedonian Revolutionary Organization–Democratic Party for Macedonian National Unity"] = {abbrev = "VMRO–DPMNE", color = "#BF0202", shortname = "",},
["Internationalist Communist League (Portugal)"] = {abbrev = "LCI", color = "Red", shortname = "",},
["International Communist Party"] = {abbrev = "ICP", color = "red", shortname = "",},
["International Marxist Group"] = {abbrev = "", color = "red", shortname = "International Marxist",},
["International Marxist Group (Germany)"] = {abbrev = "GIM", color = "red", shortname = "",},
["International Revelation Congress"] = {abbrev = "", color = "#5BC22F", shortname = "",},
["International Socialist Alternative (Austria)"] = {abbrev = "ISA", color = "#CC0033", shortname = "",},
["International Workers' Union – Trotskyists"] = {abbrev = "EDE–T", color = "red", shortname = "",},
["Internationalist Communist Party (Italy)"] = {abbrev = "PCInt", color = "#FF0000", shortname = "",},
["Internationalist Socialist Workers' Party"] = {abbrev = "", color = "#BC021C", shortname = "",},
["Internationalist Solidarity and Self-Management"] = {abbrev = "", color = "#C1022C", shortname = "",},
["Internationalist Struggle"] = {abbrev = "", color = "#8C0C21", shortname = "",},
["Internet Party (New Zealand)"] = {abbrev = "", color = "#662C92", shortname = "Internet",},
["Internet Party (Spain)"] = {abbrev = "", color = "#FF6C00", shortname = "",},
["Internet Party and Mana Movement"] = {abbrev = "", color = "#7F0000", shortname = "Internet Mana",},
["Internet Party of Ukraine"] = {abbrev = "IPU", color = "#90CA38", shortname = "",},
["Intransigent Party"] = {abbrev = "PI", color = "#D10047", shortname = "",},
["Intransigent Radical Civic Union"] = {abbrev = "", color = "#E36552", shortname = "",},
["Inuit Ataqatigiit"] = {abbrev = "", color = "#AB2328", shortname = "",},
["Inuit Party"] = {abbrev = "", color = "#CF181A", shortname = "Inuit",},
["Inzar"] = {abbrev = "", color = "#337B6D", shortname = "",},
["Ir (political party)"] = {abbrev = "", color = "#E34234", shortname = "",},
["Irabazi"] = {abbrev = "", color = "#00B9F1", shortname = "",},
["Iran Novin Party"] = {abbrev = "", color = "#0087DC", shortname = "Iran Novin",},
["Iran Party"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Iranian Principlists"] = {abbrev = "", color = "#000000", shortname = "",},
["Iranian Reformists"] = {abbrev = "", color = "#1C39BB", shortname = "",},
["Iraq Alliance"] = {abbrev = "", color = "#F16620", shortname = "",},
["Iraqi Accord Front"] = {abbrev = "", color = "#F47C20", shortname = "Tawafuq",},
["Iraqi Communist Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Iraqi Constitutional Monarchy"] = {abbrev = "ICM", color = "#006400", shortname = "",},
["Iraqi Independence Party"] = {abbrev = "", color = "black", shortname = "",},
["Iraqi Islamic Party"] = {abbrev = "IIP", color = "#0066CC", shortname = "",},
["Iraqi National Dialogue Front"] = {abbrev = "INDF", color = "#00009F", shortname = "",},
["Iraqi National List"] = {abbrev = "INL", color = "black", shortname = "",},
["Iraqi National Movement"] = {abbrev = "INM", color = "#00009F", shortname = "",},
["Iraqi Turkmen Front"] = {abbrev = "ITF", color = "#00B8FD", shortname = "",},
["Iratzarri"] = {abbrev = "", color = "#F93038", shortname = "",},
["Ireland First"] = {abbrev = "", color = "#00A185", shortname = "",},
["Irish Anti-Partition League"] = {abbrev = "", color = "#DDFFDD", shortname = "Anti-Partition",},
["Irish Confederate Party"] = {abbrev = "", color = "#044302", shortname = "Irish Confederate",},
["Irish Conservative Party"] = {abbrev = "", color = "#0087DC", shortname = "Irish Conservative",},
["Irish Democratic Party"] = {abbrev = "IDP", color = "#23588C", shortname = "Irish Democratic",},
["Irish Freedom Party"] = {abbrev = "IF", color = "#006633", shortname = "Irish Freedom",},
["Irish Independence Party"] = {abbrev = "", color = "#32CD32", shortname = "Irish Independence",},
["Irish Labour Party"] = {abbrev = "", color = "#CC0000", shortname = "Irish Labour",},
["Irish Loyal and Patriotic Union"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Irish Metropolitan Conservative Society"] = {abbrev = "IMCS", color = "#0000FF", shortname = "Irish Metropolitan Conservative",},
["Irish Militant Labour"] = {abbrev = "", color = "red", shortname = "Militant",},
["Irish Monetary Reform Association"] = {abbrev = "IMR", color = "#777777", shortname = "Monetary Reform",},
["Irish National Federation"] = {abbrev = "", color = "#00FA9A", shortname = "",},
["Irish National League"] = {abbrev = "", color = "#99FF66", shortname = "",},
["Irish Parliamentary Party"] = {abbrev = "IPP", color = "#99FF66", shortname = "Irish Parliamentary",},
["Irish Patriot Party"] = {abbrev = "", color = "#008000", shortname = "Patriot",},
["Irish Republican Socialist Party"] = {abbrev = "IRSP", color = "#004400", shortname = "Irish Republican Socialist",},
["Irish Socialist Network"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Irish Socialist Republican Party"] = {abbrev = "ISRP", color = "#FF0000", shortname = "Irish Socialist Republican",},
["Irish Unionist Alliance"] = {abbrev = "U", color = "#9999FF", shortname = "Irish Unionist",},
["Irish Worker League"] = {abbrev = "IWL", color = "#FF0000", shortname = "Irish Worker League",},
["Irish Workers' League"] = {abbrev = "IWL", color = "#FF3300", shortname = "Irish Workers' League",},
["Irish Workers' Party"] = {abbrev = "IWP", color = "#FF3300", shortname = "Irish Workers' Party",},
["Iron (2023)"] = {abbrev = "", color = "#FF020C", shortname = "Iron",},
["Iron Guard"] = {abbrev = "TpȚ", color = "#2E8B57", shortname = "",},
["Irun Herria"] = {abbrev = "", color = "#BD1C0F", shortname = "",},
["Iry Farn"] = {abbrev = "", color = "#F5D133", shortname = "",},
["Isamaa"] = {abbrev = "", color = "#009CE2", shortname = "",},
["Ishenim"] = {abbrev = "", color = "#632D4D", shortname = "",},
["Ishin Seito Shimpu"] = {abbrev = "", color = "#CC3334", shortname = "",},
["ISLAM (political party)"] = {abbrev = "", color = "#226814", shortname = "",},
["Islami Andolan Bangladesh"] = {abbrev = "IAB", color = "#C7EA00", shortname = "",},
["Islami Jamhoori Ittehad"] = {abbrev = "IJI", color = "#284d00", shortname = "",},
["Islami Jatiya Oikya Front"] = {abbrev = "IJOF", color = "#54AC00", shortname = "",},
["Islami Oikya Jote"] = {abbrev = "IOJ", color = "#6AD900", shortname = "",},
["Islami Tehreek Pakistan"] = {abbrev = "ITP", color = "#000000", shortname = "",},
["Islamic Action Front"] = {abbrev = "", color = "#41984F", shortname = "",},
["Islamic Alliance (Egypt)"] = {abbrev = "IA", color = "#009900", shortname = "",},
["Islamic Association of Engineers"] = {abbrev = "IAE", color = "#A52A2A", shortname = "",},
["Islamic Association of Iranian Medical Society"] = {abbrev = "AIMSI", color = "#ffe5b2", shortname = "",},
["Islamic Association of Teachers of Iran"] = {abbrev = "IATI", color = "#3d98b3", shortname = "",},
["Islamic Association of University Instructors"] = {abbrev = "IAUI", color = "#D2691E", shortname = "",},
["Islamic Coalition Party"] = {abbrev = "ICP", color = "#009900", shortname = "",},
["Islamic Constitutional Movement"] = {abbrev = "", color = "#0098F1", shortname = "Hadas",},
["Islamic Centre Party"] = {abbrev = "ICP", color = "#58B524", shortname = "",},
["Islamic Dawa Party"] = {abbrev = "", color = "#009900", shortname = "",},
["Islamic Dawah Organisation of Afghanistan"] = {abbrev = "", color = "#007F00", shortname = "",},
["Islamic Democratic Alliance"] = {abbrev = "", color = "#006600", shortname = "",},
["Islamic Democratic Party (Maldives)"] = {abbrev = "", color = "#F00", shortname = "",},
["Islamic Education Movement"] = {abbrev = "PERTI", color = "#005825", shortname = "",},
["Islamic Front Bangladesh"] = {abbrev = "", color = "#8F674E", shortname = "Islamic Front",},
["Islamic Group (Lebanon)"] = {abbrev = "", color = "#009900", shortname = "",},
["Islamic Iran Participation Front"] = {abbrev = "IIPF", color = "#43438b", shortname = "",},
["Islamic Labour Party"] = {abbrev = "ILP", color = "#90EE90", shortname = "",},
["Islamic Movement of Afghanistan"] = {abbrev = "", color = "#1D6D01", shortname = "",},
["Islamic Party of Britain"] = {abbrev = "", color = "#337263", shortname = "Islamic Party",},
["Islamic Renaissance Movement"] = {abbrev = "MRI", color = "#000099", shortname = "",},
["Islamic Renaissance Party of Tajikistan"] = {abbrev = "", color = "#224272", shortname = "Islamic Renaissance",},
["Islamic Republican Party"] = {abbrev = "IRP", color = "#000000", shortname = "",},
["Islamic Salafi Alliance"] = {abbrev = "", color = "#FF7E03", shortname = "Salafi Alliance",},
["Islamic Salvation Front"] = {abbrev = "FIS", color = "#008000", shortname = "",},
["Islamic Society of Athletes"] = {abbrev = "ISA", color = "Green", shortname = "",},
["Islamic Society of Engineers"] = {abbrev = "JAM", color = "#FDEE00", shortname = "",},
["Islamic Supreme Council of Iraq"] = {abbrev = "ISCI", color = "#03C03C", shortname = "",},
["Islamic Tharikah Unity Party"] = {abbrev = "PPTI", color = "", shortname = "",},
["Islamic Victory Force"] = {abbrev = "AKUI", color = "", shortname = "",},
["Islamic Virtue Party"] = {abbrev = "", color = "#2929FD", shortname = "Fadhila",},
["Islamist Bloc"] = {abbrev = "", color = "black", shortname = "",},
["Island Alternative"] = {abbrev = "", color = "#132B41", shortname = "",},
["Island Independents"] = {abbrev = "", color = "#000000", shortname = "",},
["Islander Party of the Balearic Islands"] = {abbrev = "", color = "#636163", shortname = "",},
["Isleworth Community Group"] = {abbrev = "", color = "#228B22", shortname ="Isleworth Comm Group",},
["Isle of Man Green Party"] = {abbrev = "", color = "#0B9444", shortname = "Green",},
["Islington Tenants and Ratepayers Political Association"] = {abbrev = "IT&R", color = "#964B00", shortname = "Islington Tenants & Ratepayers",},
["Isola Group"] = {abbrev = "", color = "#0087dc", shortname = "",},
["Israel Resilience Party"] = {abbrev = "", color = "#7D7F33", shortname = "",},
["Israeli Labor Party"] = {abbrev = "", color = "#EE1C25", shortname = "Labor",},
["Israeli Liberal Party"] = {abbrev = "", color = "#FFCC00", shortname = "Liberal",},
["Istehkam-e-Pakistan Party"] = {abbrev = "IPP", color = "#67BA27", shortname = "",},
["Istiqlal Party"] = {abbrev = "", color = "#f1a4be", shortname = "Istiqlal",},
["Istrian Democratic Assembly"] = {abbrev = "IDS", color = "#0CB14B", shortname = "",},
["Istrian Social Democratic Forum"] = {abbrev = "", color = "red", shortname = "",},
["IT Voice 2012"] = {abbrev = "", color = "#F47622", shortname = "",},
["IT Voice"] = {abbrev = "", color = "#BB1F5E", shortname = "",},
["Italexit (political party)"] = {abbrev = "", color = "#366A9F", shortname = "Italexit",},
["Italia Viva"] = {abbrev = "", color = "#D6418C", shortname = "",},
["Italia. Bene Comune"] = {abbrev = "", color = "#EF3E3E", shortname = "",},
["Italian Animalist Party"] = {abbrev = "PAI", color = "#E60C0C", shortname = "Animalist Party",},
["Italian Associations in South America"] = {abbrev = "AISA", color = "#2B346C", shortname = "",},
["Italian Catholic Electoral Union"] = {abbrev = "UECI", color = "#FFEF65", shortname = "",},
["Italian Communist Party (2016)"] = {abbrev = "PCI", color = "#C72F35", shortname = "",},
["Italian Communist Party"] = {abbrev = "PCI", color = "#C72F35", shortname = "",},
["Italian Democratic Liberal Party"] = {abbrev = "PLDI", color = "Gold", shortname = "",},
["Italian Democratic Party of Monarchist Unity"] = {abbrev = "PDIUM", color = "#536CE8", shortname = "",},
["Italian Democratic Socialist Party"] = {abbrev = "PSDI", color = "#FF8282", shortname = "",},
["Italian Democratic Socialists"] = {abbrev = "SDI", color = "#ED1B34", shortname = "",},
["Italian Left"] = {abbrev = "SI", color = "#EF3E3E", shortname = "",},
["Italian Liberal Party (1997)"] = {abbrev = "PLI", color = "#2975C2", shortname = "Liberal Party",},
["Italian Liberal Party"] = {abbrev = "PLI", color = "#2975C2", shortname = "",},
["Italian Nationalist Association"] = {abbrev = "ANI", color = "#00008B", shortname = "",},
["Italian People's Party (1919)"] = {abbrev = "PPI", color = "#87CEFA", shortname = "",},
["Italian People's Party (1994)"] = {abbrev = "PPI", color = "#87CEFA", shortname = "",},
["Italian Radical Party"] = {abbrev = "", color = "#00542E", shortname = "Radical Party",},
["Italian Radicals"] = {abbrev = "", color = "#FFD700", shortname = "Radicals",},
["Italian Reformist Socialist Party"] = {abbrev = "PSRI", color = "Pink", shortname = "Reformist Socialist Party",},
["Italian Renewal"] = {abbrev = "RI", color = "#0039AA", shortname = "",},
["Italian Republican Party"] = {abbrev = "PRI", color = "#3CB371", shortname = "",},
["Italian Social Movement"] = {abbrev = "MSI", color = "#000000", shortname = "",},
["Italian Socialist Party (2007)"] = {abbrev = "PSI", color = "#DC143C", shortname = "",},
["Italian Socialist Party of Proletarian Unity"] = {abbrev = "PSIUP", color = "#EF2626", shortname = "",},
["Italian Socialist Party"] = {abbrev = "PSI", color = "#ED2855", shortname = "",},
["Italia in Comune"] = {abbrev = "", color = "#349655", shortname = "",},
["Italy in the Centre"] = {abbrev = "", color = "#E58321", shortname = "",},
["Italy is There"] = {abbrev = "LIC", color = "#277BA0", shortname = "",},
["Italy of Values"] = {abbrev = "IdV", color = "#FFA500", shortname = "",},
["Ittehad-e-Millat Council"] = {abbrev = "IEMC", color = "green", shortname = "",},
["Ittifaq al-Muslimin"] = {abbrev = "", color = "#009933", shortname = "",},
["Ittihad Party"] = {abbrev = "", color = "#6495ED", shortname = "Ittihad",},
["Ivan Rybkin Bloc"] = {abbrev = "", color = "#DA2021", shortname = "",},
["Ivica Dačić — Prime Minister of Serbia"] = {abbrev = "", color = "#A60C19", shortname = "SPS coalition",},
["Ivorian Popular Front"] = {abbrev = "FPI", color = "#0066cc", shortname = "",},
["Ivorian Workers' Party"] = {abbrev = "PIT", color = "purple", shortname = "",},
["Izaugsme"] = {abbrev = "", color = "#3C8734", shortname = "",},
["Izquierda-Ezkerra"] = {abbrev = "I–E (n)", color = "#C80F70", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
lkz6sds7ewclg10lb38rkc70zcp4iue
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Swatch inline
10
1679
6297
2025-07-03T00:21:58Z
Saimawnkham
28
Created page with "<span title="{{{2|{{{1|}}}}}}" style="background-color:{{{1|}}}; color:{{{3|#000}}}">{{#if:{{{2|}}}|{{replace|{{{2}}}|#|#}}|{{replace|{{{1}}}|#|#}}}}</span><noinclude> {{documentation}} </noinclude>"
6297
wikitext
text/x-wiki
<span title="{{{2|{{{1|}}}}}}" style="background-color:{{{1|}}}; color:{{{3|#000}}}">{{#if:{{{2|}}}|{{replace|{{{2}}}|#|#}}|{{replace|{{{1}}}|#|#}}}}</span><noinclude>
{{documentation}}
</noinclude>
hjdrlinkzbbejktd5msoqkk7k8zoy1f
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Swatch inline/doc
10
1680
6298
2025-07-03T00:22:23Z
Saimawnkham
28
Created page with "{{Documentation subpage}} ==Usage== Mostly for use on talk pages when discussing color. :{{tlc|swatch inline|RED}} '''gives''' {{swatch inline|RED}} :{{tlc|swatch inline|Salmon}} '''gives''' {{swatch inline|Salmon}} :{{tlc|swatch inline| #00FF00}} '''gives''' {{swatch inline| #00FF00}} :{{tlc|swatch inline|gold|Au}} '''gives''' {{swatch inline|gold|Au}} :{{tlc|swatch inline| #004800|dark green|white}} '''gives''' {{swatch inline| #004800|dark green|white}} {{code|RED}},..."
6298
wikitext
text/x-wiki
{{Documentation subpage}}
==Usage==
Mostly for use on talk pages when discussing color.
:{{tlc|swatch inline|RED}} '''gives''' {{swatch inline|RED}}
:{{tlc|swatch inline|Salmon}} '''gives''' {{swatch inline|Salmon}}
:{{tlc|swatch inline| #00FF00}} '''gives''' {{swatch inline| #00FF00}}
:{{tlc|swatch inline|gold|Au}} '''gives''' {{swatch inline|gold|Au}}
:{{tlc|swatch inline| #004800|dark green|white}} '''gives''' {{swatch inline| #004800|dark green|white}}
{{code|RED}}, {{code|gold}} and {{code|white}} are [[HTML color names]], whereas {{code|#00FF00}} and {{code|#004800}} are RGB [[hex triplet]]s.
==See also==
*[[Template:Color sample]]
*[[Template:Swatch]]
*[[Template:Font color]]
*[[Template:Color box]]
*[[Template:Legend inline]]
*[[Template:RouteBox]]
*[[Swatch (disambiguation)|Swatch]]
*[[List of colors]]
<includeonly>{{sandbox other||
[[Category:Text color templates]]
}}</includeonly>
eysc4krs7rgeqyuc5ptj1n56o62jlli
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Swatch
10
1681
6299
2025-07-03T00:22:41Z
Saimawnkham
28
Created page with "<div class="floatright" style="text-align: center;"> <div class="mw-no-invert" style="background-color: {{{1}}}; height: {{{2|100px}}}; width: {{{3|162px}}}; border: 1px solid" title="{{{4|{{{1}}}}}}"> </div> <code style="font-style:normal"> {{{title|{{{4|{{{1}}}}}}}}} </code> </div><noinclude> {{documentation|content= This template generates a color swatch box floating to the right margin. == Parameters == # The color code in any notation supported by Cascadin..."
6299
wikitext
text/x-wiki
<div class="floatright" style="text-align: center;">
<div class="mw-no-invert" style="background-color: {{{1}}}; height: {{{2|100px}}}; width: {{{3|162px}}}; border: 1px solid" title="{{{4|{{{1}}}}}}">
</div>
<code style="font-style:normal"> {{{title|{{{4|{{{1}}}}}}}}} </code>
</div><noinclude>
{{documentation|content=
This template generates a color swatch box floating to the right margin.
== Parameters ==
# The color code in any notation supported by [[Cascading Style Sheets|CSS]].
# Height of the swatch box, defaults to 100 pixels.
# Width of the swatch box, defaults to 162 pixels.
# or ''title'': The caption of the color box, defaults to the color code.
== Examples ==
=== <nowiki>{{Swatch|Blue}}</nowiki> ===
{{Swatch|Blue}}
{{clear}}
=== <nowiki>{{Swatch|#FFFF00}}</nowiki> ===
{{Swatch|#FFFF00}}
{{clear}}
=== <nowiki>{{Swatch|rgb(20%, 40%, 60%)}}</nowiki> ===
{{Swatch|rgb(20%, 40%, 60%)}}
{{clear}}
=== <nowiki>{{Swatch|rgba(20%, 40%, 60%, 80%)}}</nowiki> ===
{{Swatch|rgba(20%, 40%, 60%, 80%)}}
{{clear}}
=== <nowiki>{{Swatch|rgb(20% 40% 60% / 80%)}}</nowiki> ===
{{Swatch|rgb(20% 40% 60% / 80%)}}
{{clear}}
=== <nowiki>{{Swatch|hsl(210deg, 40%, 60%)}}</nowiki> ===
{{Swatch|hsl(210deg, 40%, 60%)}}
{{clear}}
=== <nowiki>{{Swatch|hsl(3.66rad 40% 60%)}}</nowiki> ===
{{Swatch|hsl(3.66rad 40% 60%)}}
{{clear}}
=== <nowiki>{{Swatch|hsl(0.6turn 40% 60%)}}</nowiki> ===
{{Swatch|hsl(0.6turn 40% 60%)}}
{{clear}}
=== <nowiki>{{Swatch|hwb(210deg 40% 60%)}}</nowiki> ===
{{Swatch|hwb(210deg 40% 60%)}}
{{clear}}
=== <nowiki>{{Swatch|Lab(20% 0.4 0.6)}}</nowiki> ===
{{Swatch|Lab(20% 0.4 0.6)}}
{{clear}}
=== <nowiki>{{Swatch|Lch(40% 0.6 210deg)}}</nowiki> ===
{{Swatch|Lab(50% 0.8 210deg)}}
{{clear}}
==See also==
* {{tl|color sample}} – small colored box: {{color sample|red}}
* {{tl|swatch inline}} – mostly for use on talk pages when discussing color: {{swatch inline|red}}
* {{tl|color swatch}} – similar to {{tl|swatch}} but with multiple parameters
* {{tl|coltit}} – colored table header cell
}}
[[Category:Color templates]]
</noinclude>
qowiudrrwo8vyqux7yblgip1oa3adqm
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color swatch
10
1682
6300
2025-07-03T00:26:52Z
Saimawnkham
28
Created page with "<templatestyles src="Color swatch/styles.css"/><div class="color-swatch {{#switch:{{{3|left}}}|left=color-swatch-left|center=color-swatch-center|right=color-swatch-right}}"> <div class="color-swatch-color" style="background: {{{1}}}; {{#if:{{{5|}}}|color: {{{5}}};}}" title="{{{4|{{{1}}}}}}">{{{4<includeonly>|</includeonly>}}}</div> {{{2}}}<br>{{{4|{{{1}}}}}} </div><noinclude> {{Documentation}} <!-- Add categories to the /doc subpage --> </noinclude>"
6300
wikitext
text/x-wiki
<templatestyles src="Color swatch/styles.css"/><div class="color-swatch {{#switch:{{{3|left}}}|left=color-swatch-left|center=color-swatch-center|right=color-swatch-right}}">
<div class="color-swatch-color" style="background: {{{1}}}; {{#if:{{{5|}}}|color: {{{5}}};}}" title="{{{4|{{{1}}}}}}">{{{4<includeonly>|</includeonly>}}}</div>
{{{2}}}<br>{{{4|{{{1}}}}}}
</div><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>
4xhmzs7o2p4syqgpabryqf6q5rip3hi
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color swatch/doc
10
1683
6301
2025-07-03T00:27:15Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{uses templatestyles|Template:Color swatch/styles.css}} === Usage === <templatedata> { "params": { "1": { "label": "Color", "description": "Color, as a CSS-compatible color.", "example": "Red can be specified as \"#FF0000\" (without quotes).", "type": "string", "required": true }, "2": { "label": "Title", "description": "The main caption. Appears once, beneath the swatch. Adding a reference is recommended.", "exa..."
6301
wikitext
text/x-wiki
{{Documentation subpage}}
{{uses templatestyles|Template:Color swatch/styles.css}}
=== Usage ===
<templatedata>
{
"params": {
"1": {
"label": "Color",
"description": "Color, as a CSS-compatible color.",
"example": "Red can be specified as \"#FF0000\" (without quotes).",
"type": "string",
"required": true
},
"2": {
"label": "Title",
"description": "The main caption. Appears once, beneath the swatch. Adding a reference is recommended.",
"example": "Blue<ref>[ ... ]</ref>",
"type": "line",
"required": true
},
"3": {
"label": "Float",
"description": "Specifies the direction to float, if any: \"left\", \"right\" or \"center\". (Note that centering is not technically floating.)",
"type": "string",
"default": "Left"
},
"4": {
"label": "Internal caption",
"description": "Optional; appears in the swatch and below the title.",
"type": "line"
},
"5": {
"label": "Text color",
"description": "The color of the text that is overlayed onto the swatch.",
"example": "If the color displayed is black, set this to e.g. \"#FFFFFF\", white.",
"type": "string",
"default": "Black text."
}
},
"description": "Creates a color swatch for use in articles.",
"paramOrder": [
"1",
"2",
"3",
"4",
"5"
]
}
</templatedata>
==Samples==
'''<nowiki>{{color swatch|#0000FF|Blue}}</nowiki>''' creates: {{color swatch|#0000FF|Blue}}
{{-}}
We ''strongly recommend'' adding a <nowiki><ref></ref></nowiki> to the main title, e.g.:
'''<nowiki>{{color swatch|#0000FF|Blue<ref>[http://www.w3.org/TR/REC-html40/types.html#h-6.5 HTML 4.01 Specification]</ref>}}</nowiki>''' creates: {{color swatch|#0000FF|Blue<ref>[http://www.w3.org/TR/REC-html40/types.html#h-6.5 HTML 4.01 Specification]</ref>}}
{{-}}
Optional parameters – floating left, and an internal caption:
'''<nowiki>{{color swatch|#0000FF|Blue|left|#0000FF}}</nowiki>''' creates: {{color swatch|#0000FF|Blue|left|#0000FF}}
{{-}}
Change the internal caption's color with a fifth value:
'''<nowiki>{{color swatch|#0000FF|Blue|left|#0000FF|white}}</nowiki>''' creates: {{color swatch|#0000FF|Blue|left|#0000FF|white}}
{{-}}
== Note ==
<references />
<includeonly>{{Sandbox other||
<!-- CATEGORIES HERE, THANKS -->
[[Category:Color templates]]
}}</includeonly>
rx8qnb4z35n5x6fm2w3v0kkwplfv1k8
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color swatch/styles.css
10
1684
6302
2025-07-03T00:27:34Z
Saimawnkham
28
Created page with ".color-swatch { /* we can use the token because the swatch always takes a background */ background-color: var(--background-color-base, #fff); border: 1px solid #000; font-size: 90%; text-align: center; width: 12em; } .color-swatch-left { float: left; margin: 0 1.5em 1em .5em; } .color-swatch-center { margin: 0 auto 1em; } .color-swatch-right { float: right; margin: 0 .5em 1em 1.5em; } .color-swatch-color { border-bottom: 1px solid #000; height: 9em; co..."
6302
sanitized-css
text/css
.color-swatch {
/* we can use the token because the swatch always takes a background */
background-color: var(--background-color-base, #fff);
border: 1px solid #000;
font-size: 90%;
text-align: center;
width: 12em;
}
.color-swatch-left {
float: left;
margin: 0 1.5em 1em .5em;
}
.color-swatch-center {
margin: 0 auto 1em;
}
.color-swatch-right {
float: right;
margin: 0 .5em 1em 1.5em;
}
.color-swatch-color {
border-bottom: 1px solid #000;
height: 9em;
color: #000;
}
ajzbuar5zwb8wnp8x45mptmd5ycqi69
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Uses templatestyles
10
1685
6303
2025-07-03T00:28:03Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Uses TemplateStyles]]
6303
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Uses TemplateStyles]]
r4pnr1o6cmyqwscpttrt1781lsof2hm
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:RGBColorToLum
10
1686
6304
2025-07-03T00:29:52Z
Saimawnkham
28
Created page with "<includeonly>{{#invoke:Color contrast|lum}}</includeonly><noinclude>{{Documentation}}</noinclude>"
6304
wikitext
text/x-wiki
<includeonly>{{#invoke:Color contrast|lum}}</includeonly><noinclude>{{Documentation}}</noinclude>
lm8h2on7383qnnkt63wyxldji4ytz9o
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:RGBColorToLum/doc
10
1687
6305
2025-07-03T00:30:12Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Color contrast}} == Usage == Converts parameter 1 from a hex RGB value (#RRGGBB) to a [http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/G18 W3C relative luminance value]. <includeonly>{{sandbox other|| <!-- Categories below this line and interwikis at Wikidata --> [[Category:Color conversion templates]] }}</includeonly>"
6305
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Lua|Module:Color contrast}}
== Usage ==
Converts parameter 1 from a hex RGB value (#RRGGBB) to a [http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/G18 W3C relative luminance value].
<includeonly>{{sandbox other||
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:Color conversion templates]]
}}</includeonly>
fyi5j8cxpxw55dk5q1xknj63rbn9763
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color contrast conformance
10
1688
6306
2025-07-03T00:30:38Z
Saimawnkham
28
Created page with "<noinclude><!-- -=========================================================================================== - Color_contrast_conformance - give levels AAA, AA and none for acceptable color contrast -=========================================================================================== -- --></noinclude>{{#ifeq:{{{show|yes}}}|no| |Contrast: {{{1|blue}}} & {{{2|orange}}}, conformance level= }}{{#ifexpr: {{color contrast ratio|{{{1|blue}}}|{{{2|orange}}} }} <..."
6306
wikitext
text/x-wiki
<noinclude><!--
-===========================================================================================
- Color_contrast_conformance - give levels AAA, AA and none for acceptable color contrast
-===========================================================================================
--
--></noinclude>{{#ifeq:{{{show|yes}}}|no|
|Contrast: {{{1|blue}}} & {{{2|orange}}}, conformance level=
}}{{#ifexpr: {{color contrast ratio|{{{1|blue}}}|{{{2|orange}}} }} <= 0.14285 or {{color contrast ratio|{{{1|blue}}}|{{{2|orange}}} }} >= 7
|AAA
|{{#ifexpr: {{color contrast ratio|{{{1|blue}}}|{{{2|orange}}} }} <= 0.222 or {{color contrast ratio|{{{1|blue}}}|{{{2|orange}}} }} >= 4.5
|AA
|{{{3|none}}}
}}
}}<noinclude>{{documentation}}</noinclude>
4jiq7mvhlhkgbo1gjkadnq36xr6scdy
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Color contrast conformance/doc
10
1689
6307
2025-07-03T00:31:05Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> {{Lua|Module:Color contrast}}<!-- via Template:Color contrast ratio --> == Usage == The '''[[Template:{{BASEPAGENAME}}]]''' gives a "AAA", "AA" or "none" judgment for the level of conformance to [[WCAG 2.0]] of two colors together, in terms of contrast ratio, where the colors can be either [[RGB color model|RGB]] <code>#num..."
6307
wikitext
text/x-wiki
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{Lua|Module:Color contrast}}<!-- via Template:Color contrast ratio -->
== Usage ==
The '''[[Template:{{BASEPAGENAME}}]]''' gives a "AAA", "AA" or "none" judgment for the level of conformance to [[WCAG 2.0]] of two colors together, in terms of contrast ratio, where the colors can be either [[RGB color model|RGB]] <code>#numbers</code> (<code>#56F3BB</code>) or color names (<code>green</code>, <code>darkorange</code>, or <code>NavahoWhite</code>, etc.).
{| class="wikitable"
|-
! Code !! Result
|-
| {{tlx|{{BASEPAGENAME}}|blue|white}} || {{{{BASEPAGENAME}}|blue|white}}
|-
| {{tlx|{{BASEPAGENAME}}|red|#FFcc00}} || {{{{BASEPAGENAME}}|red|#FFcc00}}
|-
| {{tlx|{{BASEPAGENAME}}|black|White|show{{=}}no}} || {{{{BASEPAGENAME}}|black|White|show=no}}
|}
Either parameter 1 or 2 can be a standard color name (in upper/lowercase letters) or an RGB <code>#number</code>, such as: <code>#FF45BB</code>. See: [[Web colors]], for a full list of color names and the assigned RGB <code>#number</code> values. The option "<code>show=no</code>" will suppress showing the color names or numbers, and give just the "AAA", "AA" or "none" answer.
== HTML colors ==
{| class="wikitable sortable"
|+ Accessibility of pairs of HTML colors
|-
! !! {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call=Color sample}}
|-
| {{Color sample|black}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=black|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|navy}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=navy|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|maroon}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=maroon|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|purple}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=purple|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|blue}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=blue|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|green}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=green|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|teal}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=teal|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|olive}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=olive|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|red}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=red|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|gray}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=gray|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|fuchsia}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=fuchsia|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|orange}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=orange|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|silver}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=silver|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|lime}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=lime|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|aqua}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=aqua|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|yellow}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=yellow|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|-
| {{Color sample|white}} || {{for loop| {{!!}} |white|yellow|aqua|lime|silver|orange|fuchsia|gray|red|olive|teal|green|blue|purple|maroon|navy|black|call={{BASEPAGENAME}}|pc1n=1|pc1v=white|pc2n=show|pc2v=no|pc3n=3|pc3v={{na}}|pv=2}}
|}
==Supporting template==
* {{tl|Color contrast ratio}}, gives ratio number — uses {{module link|Color contrast|ratio}}
==See also==
* {{tl|RGBColorToLum}}, gives luminance value of a color
* [[Wikipedia:WikiProject Accessibility]]
==External links==
* [http://trace.wisc.edu/contrast-ratio-examples/ Index of Color Contrast Samples]
<includeonly>{{Sandbox other||
<!--Categories below this line, please; interwikis at Wikidata-->
{{DEFAULTSORT:Color Contrast Visible}}
[[Category:Color templates]]
}}</includeonly>
3ae1qur0fwc4ob4wlghqc01p7x9y8dm
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:For loop
10
1690
6308
2025-07-03T00:31:35Z
Saimawnkham
28
Created page with "{{<includeonly>safesubst:</includeonly>#invoke:For loop|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
6308
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:For loop|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
26pm0milru0ru69zbzxe1y37xwy9bg7
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:For loop/doc
10
1691
6309
2025-07-03T00:31:58Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{high-use|35,000}} <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{lua|Module:For loop}} This template implements a [[for loop]] or a [[foreach loop]]. This template calls a user-specified template (the "called template") multiple times: once for each value in either 1) an iterated sequence or 2) an explicit list. Each value in the sequence or list is passed to the same specifie..."
6309
wikitext
text/x-wiki
{{Documentation subpage}}
{{high-use|35,000}}
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{lua|Module:For loop}}
This template implements a [[for loop]] or a [[foreach loop]].
This template calls a user-specified template (the "called template") multiple times: once for each value in either 1) an iterated sequence or 2) an explicit list. Each value in the sequence or list is passed to the same specified parameter of the called template (the "variable parameter"). Optionally, pre- and postfixes can be attached to the passed values.
In addition to the specified variable parameter, other parameters of the called template ("static parameters") can be given a value which is the same in each iteration.
== Usage ==
{| class="wikitable"
! Group !! Parameter !! Meaning !! Default value
|-
! scope=row rowspan=3 | Mandatory
| '''1 (unnamed)''' || separator to output between calls (may be blank; whitespace is preserved) ||
|-
| '''call''' || template to call ||
|-
| '''pv''' || name (or number) of the variable parameter of the called template || style="text-align: center" | 1
|- style="border-top: 3px solid grey;"
! scope=row rowspan=3 | Option 1:<br/>iterated sequence
| '''start''' || first numeric value to pass to variable parameter || style="text-align: center" | 1
|-
| '''stop''' || maximum numeric value for variable parameter ||
|-
| '''by''' || iteration step size between values passed to variable parameter || style="text-align: center" | 1
|- style="border-top: 3px solid grey;"
! scope=row rowspan=2 | Option 2:<br/>explicit values
| '''(unnamed parameters)''' || | explicit values, given as separate parameters (whitespace is stripped) ||
|-
| '''skipBlanks''' || set to "true" to skip empty parameter values || style="text-align: center" | false
|- style="border-top: 3px solid grey;"
! scope=row rowspan=5 | Other optional<br/>parameters
| '''pc[N]n''' || name (or number) of the Nth static parameter of the called template ||
|-
| '''pc[N]v''' || value for the Nth static parameter of the called template ||
|-
| '''prefix''' || static prefix prepended to each value passed to the variable parameter ||
|-
| '''postfix''' || static postfix appended to each value passed to the variable parameter ||
|-
| '''substall''' || set to "false" to not substitute the called template when {{tl|for loop}} is substituted || style="text-align: center" | true
|}
''Either'' option 1 (iteration parameters) ''or'' option 2 (an explicit list of values) may be used, but not both.
The first unnamed parameter, prior to any explicit values, is a separator. The separator is a string that is output ''between'' calls to the template named in <code>|call=</code>. It is not output after the last call.
=== Caution ===
*The separator can be prefixed with "1=", but in that case it cannot contain newlines and spaces at the start and end.
*If any parameter value contains an equals sign, use {{tlx|{{=}}}} (see [[Help:Template#Usage hints and workarounds|Template Usage hints and workarounds]]).
*If you use numbered parameters, note that the first value is parameter 2 (e.g. <code>|2=Your1stValue</code>), because parameter 1 is the separator.
*If you use numbered parameters, you must not skip any numbers. The loop will terminate after the first absent numbered parameter. (Parameters can be blank, but not absent.)
=== Substitution ===
The current Lua-based template supports [[WP:SUBST|substitution]]. If {{para|substall|no}} is not specified, then substituting the template will substitute everything, including the call to the template passed in {{para|call}}. If it is specified, then the template substitutes into a sequence of calls to the template specified.
Example: {{tlxs|for loop|sep |01|02|03|04|05|06|07|call{{=}}1x}} -> <code><nowiki>01sep 02sep 03sep 04sep 05sep 06sep 07</nowiki></code>, {{tlxs|for loop|sep |01|02|03|04|05|06|07|call={{1x}}|substall{{=}}no}} -> <code><nowiki>{{1x|01}}sep {{1x|02}}sep {{1x|03}}sep {{1x|04}}sep {{1x|05}}sep {{1x|06}}sep {{1x|07}}</nowiki></code>
For full substitution [[Special:ExpandTemplates]] can also be used.
== Examples ==
{| class="wikitable"
!Form
! style="width: 185px;" | Code
!Explanation
!Result
|-
! scope=row | Iterator
|
<syntaxhighlight lang="wikitext">{{for loop|&
|call = spanbox
|pv = font size
|start=10
|stop=52
|by=8
|postfix = px
|pc1n = 1
|pc1v = A
|pc2n = background
|pc2v = yellow
}}</syntaxhighlight>
| Call the template "spanbox" with values:
*font size = "[N]px", where N takes values starting with 10 and increasing by 8 while remaining less than or equal to 52
*1 (first unnamed parameter) = "A"
*background = "yellow"
Separating outputs with "&"
|{{for loop|&|call = spanbox
|pv = font size
|start=10|stop=52|by=8
|postfix = px
|pc1n = 1
|pc1v = A
|pc2n = background
|pc2v = yellow
}}
|-
! scope=row | Explicit values
|<syntaxhighlight lang="wikitext">{{for loop|, |call=2x
|prefix=1
|00|01|02|03|04|05|06|07|08|09
|10|11|12|13|14|15|16|17|18|19
|20|21|22|23|24|25|26|27|28|29
|30|31|32|33|34|35|36|37|38|39
|40|41|42|43|44|45|46|47|48|49
|50|51|52|53|54|55|56|57|58|59
|60|61|62|63|64|65|66|67|68|69
|70|71|72|73|74|75|76|77|78|79
|80|81|82|83|84|85|86|87|88|89
|90|91|92|93|94|95|96|97|98|99
}}</syntaxhighlight>
| Call the template {{tl|2x}} (which just repeats its input twice) with values "1[NN]", where NN = "00" through "99" (given explicitly), separating the outputs with the string ", "
|{{for loop|, |call=2x
|prefix=1
|00|01|02|03|04|05|06|07|08|09
|10|11|12|13|14|15|16|17|18|19
|20|21|22|23|24|25|26|27|28|29
|30|31|32|33|34|35|36|37|38|39
|40|41|42|43|44|45|46|47|48|49
|50|51|52|53|54|55|56|57|58|59
|60|61|62|63|64|65|66|67|68|69
|70|71|72|73|74|75|76|77|78|79
|80|81|82|83|84|85|86|87|88|89
|90|91|92|93|94|95|96|97|98|99
}}
|-
! scope=row | Explicit values
|<syntaxhighlight lang="wikitext">{{for loop||call=tsh|skipBlanks=true|{{#switch:{{ROOTPAGENAME}}
|Namespace links=ln
|Article links=la
}}}} <!--Don't show {{tsh}} for |Lafd=lafd --></syntaxhighlight>
| {{t|for loop}} is useful for omitting a template call with one parameter being an inline expression that can be empty. It avoids repeating the parameter that the usual <code><nowiki>{{{1|}}} {{#if:{{{1|}}}|{{example|{{{1}}}}}}}</nowiki></code> does.
|{{for loop||call=tsh|skipBlanks=true|{{#switch:{{ROOTPAGENAME}}
|Namespace links=ln
|Article links=la
}}}} <!--Don't show {{tsh}} for |Lafd=lafd --> ({{t|for loop}} helped avoid the error message)
|}
=== Other examples with explicit values ===
<syntaxhighlight lang="wikitext">{{for loop|-|a|3||c|g|call=3x}}</syntaxhighlight> using {{tiw|3x}} gives
{{for loop|-|a|3||c|g|call=3x}}
<syntaxhighlight lang="wikitext">
{{for loop|
|a|3||c|g|call=3x}}
</syntaxhighlight> gives
{{for loop|
|a|3||c|g|call=3x}}
<syntaxhighlight lang="wikitext">
{|class="wikitable sortable"
!Test
|-
| {{for loop|
{{!}}-
{{!}} |a|b|c|d|e|call=3x}}
|}
</syntaxhighlight>
gives:
{|class="wikitable sortable"
!Test
|-
| {{for loop|
{{!}}-
{{!}} |a|b|c|d|e|call=3x}}
|}
<syntaxhighlight lang="wikitext">
{{for loop| |01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19
|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39
|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59
|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79
|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99
|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119
|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139
|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|call=1x}}
</syntaxhighlight>
gives:
{{for loop| |01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19
|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39
|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59
|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79
|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99
|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119
|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139
|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|call=1x}}
<syntaxhighlight lang="wikitext">
begin->{{for loop|{{=}} |01|02|03|04|05|06|07|08|09|10
|11{{=}}{{=}}{{=}}|12|13|14|15|16|17|18|19|call=1x}}<-end
</syntaxhighlight>
gives:
begin->{{for loop|{{=}} |01|02|03|04|05|06|07|08|09|10
|11{{=}}{{=}}{{=}}|12|13|14|15|16|17|18|19|call=1x}}<-end
== Notes about legacy code ==
This template is currently in its third incarnation. It now uses the [[WP:Lua|Lua]] code at [[Module:For loop]]. It was ported to Lua from [[mw:Help:Extension:ParserFunctions|ParserFunctions]]. There was also a previous version with a named "sep" parameter to specify the separator value. The template was originally based on [[m:Template:For|Template:For on meta]]. The template name was changed because there was already a [[Template:For|Template:For on Wikipedia]].
The old versions were limited to 150 variable values and four fixed parameters. There are no such limits in the current version. Also, in the first version the "sep" parameter didn't allow whitespace in the separator value. This was fixed with the second version and was retained in the current version.
== See also ==
*[[mw:Template:Fe]]
*[[mw:Template:foreach]]
*{{tim|tblb}}
*{{tiw|for nowiki}}
*{{tiw|item}}
*{{tiw|loop}}
*{{tiw|simple recursion}}
*[[Help:Parameter default]]
*[[Help:Array]]
*[[mw:Extension:LoopFunctions]]
*[[mw:Extension:Loops]]
<includeonly>{{sandbox other||
<!-- Add categories below this line, and interwikis at Wikidata -->
[[Category:Repetition templates]]
}}</includeonly>
jjvg3ybw4bcxzwwtag5n84jkm3rljr4
ᥛᥨᥝᥱ ᥓᥧᥰ:For loop
828
1692
6310
2025-07-03T00:32:12Z
Saimawnkham
28
Created page with "-- This module implements {{for loop}}. local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local p = {} function p.templatemain(frame) return p.main(frame:newChild{title = "Template:For_loop"}) end function p.main(frame) local args = getArgs(frame, { trim = false, removeBlanks = false }) return p._main(args) end function p._main(args) local template = args['call'] or 'void' local calltemplates = yesno(args.substall or..."
6310
Scribunto
text/plain
-- This module implements {{for loop}}.
local getArgs = require('Module:Arguments').getArgs
local yesno = require('Module:Yesno')
local p = {}
function p.templatemain(frame)
return p.main(frame:newChild{title = "Template:For_loop"})
end
function p.main(frame)
local args = getArgs(frame, {
trim = false,
removeBlanks = false
})
return p._main(args)
end
function p._main(args)
local template = args['call'] or 'void'
local calltemplates = yesno(args.substall or "", true) or not mw.isSubsting()
local variableParam = args.pv
variableParam = tonumber(variableParam) or variableParam or 1 -- fix for positional parameters
local variableValPrefix = args.prefix or ''
local variableValPostfix = args.postfix or ''
local sep = args[1] or ''
local constantArgs = p.getConstants(args)
local variableVals = p.getVariableVals(args)
local result = ''
local addSeparator = false;
for _, v in ipairs(variableVals) do
v = mw.text.trim(v)
if #v > 0 or not yesno(args.skipBlanks) then
if addSeparator then
result = result .. sep
end
addSeparator = true;
local targs = constantArgs
targs[variableParam] = variableValPrefix .. v .. variableValPostfix
if calltemplates then
local output = p.callTemplate(template, targs)
if #mw.text.trim(output) == 0 then
addSeparator = false
end
result = result .. output
else
local makeTemplate = require('Module:Template invocation').invocation
result = result .. makeTemplate(template, targs)
end
end
end
return result
end
function p.getConstants(args)
local constantArgNums = p.getArgNums(args, 'pc', 'n')
local constantArgs = {}
for _, num in ipairs(constantArgNums) do
local keyArg = 'pc' .. tostring(num) .. 'n'
local valArg = 'pc' .. tostring(num) .. 'v'
local key = args[keyArg]
key = tonumber(key) or key
local value = args[valArg]
constantArgs[key] = value
end
return constantArgs
end
function p.getVariableVals(args)
local variableVals = {}
if args.start or args.stop or args.by then
if args[2] then
error("Both start/stop/by and numbered parameters specified")
end
local start = tonumber(args.start or 1)
local stop = tonumber(args.stop or 1)
local by = tonumber(args.by or 1)
for i = start, stop, by do
variableVals [#variableVals + 1] = i
end
else
for i, v in ipairs(args) do
if i ~= 1 then
variableVals[i - 1] = v
end
end
end
return variableVals
end
function p.getArgNums(args, prefix, suffix)
-- Returns a table containing the numbers of the arguments that exist
-- for the specified prefix and suffix.
local nums = {}
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
for k, _ in pairs(args) do
local num = tostring(k):match(pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
table.sort(nums)
return nums
end
function p.callTemplate(template, targs)
return mw.getCurrentFrame():expandTemplate{title = template, args = targs}
end
return p
3vczdtsoi79wslpamhz4wcf4ti3y68c
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Na
10
1693
6311
2025-07-03T02:57:43Z
Saimawnkham
28
Created page with "<noinclude>{| class="wikitable" |- |</noinclude>data-sort-value="{{{sort|No}}}" style="background: #FFE3E3; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="skin-invert table-no2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} | {{{text|[[File:Dark Red x.svg|13px|link={{{link|}}}|{{{1|No}}}]]}}}<noinclude> |} {{documentation|Template:Table cell templates/doc}}</noinclude>"
6311
wikitext
text/x-wiki
<noinclude>{| class="wikitable"
|-
|</noinclude>data-sort-value="{{{sort|No}}}" style="background: #FFE3E3; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="skin-invert table-no2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} | {{{text|[[File:Dark Red x.svg|13px|link={{{link|}}}|{{{1|No}}}]]}}}<noinclude>
|}
{{documentation|Template:Table cell templates/doc}}</noinclude>
4l8ryu71ct9imcizk3zecbyvisxgwzg
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module link
10
1694
6312
2025-07-03T02:58:31Z
Saimawnkham
28
Created page with "<includeonly>{{{{{{{|safesubst:}}}#invoke:Separated entries|main|[[Module:{{{1}}}{{{section|}}}|#invoke:{{{1}}}]]|{{{2|''function''}}}|separator=|}}}}</includeonly><noinclude>{{documentation}}<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
6312
wikitext
text/x-wiki
<includeonly>{{{{{{{|safesubst:}}}#invoke:Separated entries|main|[[Module:{{{1}}}{{{section|}}}|#invoke:{{{1}}}]]|{{{2|''function''}}}|separator=|}}}}</includeonly><noinclude>{{documentation}}<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
9i2jehvmqdbxqb6uexjk8k33u9p06v8
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module link/doc
10
1695
6313
2025-07-03T02:58:54Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{tsh|ml}}{{lua|Module:Separated entries}} {{lt|ml}} is used to display a module name as a link surrounded by braces with the {{((}}#invoke{{))}} [[WP:PF|parser function]], thus showing the module name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a module by name without invoking it. It is also supports the definition of a function and parameters. == Examples == {|..."
6313
wikitext
text/x-wiki
{{Documentation subpage}}
{{tsh|ml}}{{lua|Module:Separated entries}}
{{lt|ml}} is used to display a module name as a link surrounded by braces with the {{((}}#invoke{{))}} [[WP:PF|parser function]], thus showing the module name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a module by name without invoking it. It is also supports the definition of a function and parameters.
== Examples ==
{| class="wikitable"
! Code
! Result
! Notes
|-
| {{tji|ml|Example}}
| {{ml|Example}}
| Usage without function name. This does not produce a usable invocation.
|-
| {{tji|ml|Example|hello}}
| {{ml|Example|hello}}
| Usage with a function name.
|-
| {{tji|ml|Example|count_fruit|4{{=}}bananas{{=}}10|5{{=}}kiwis{{=}}5}}
| {{ml|Example|count_fruit|4=bananas=10|5=kiwis=5}}
| Usage with a function name and parameters.
|-
| {{tji|ml|Example|count_fruit|Fred|bananas<nowiki>{{</nowiki>{{=}}<nowiki>}}</nowiki>10|apples<nowiki>{{</nowiki>{{=}}<nowiki>}}</nowiki>5}}
| {{ml|Example|count_fruit|Fred|bananas{{=}}10|apples{{=}}5}}
| Usage with a function name and parameters, using {{((}}={{))}}.
|-
| {{tji|ml|Example|}}
| {{ml|Example|}}
| Omits the function name
|}
== TemplateData ==
{{TemplateData header}}
<templatedata>{
"description": "This template displays a module name as a link surrounded by braces with the {{#invoke}} parser function, thus showing how the module name would be used in code. Its primary use is in instruction and documentation.",
"params": {
"1": {
"label": "module name",
"description": "the module name without the namespace prefix “Module:”, which is added automatically",
"type": "string",
"required": true
},
"2": {
"label": "function name",
"description": "the function name within the module to call",
"type": "string",
"required": true
},
"3": {
"label": "parameter 1",
"description": "the name (and value) of the first parameter, use {{=}} to add an equal sign",
"type": "string"
},
"4": {
"label": "parameter 2",
"description": "the name (and value) of the second parameter, use {{=}} to add an equal sign",
"type": "string"
},
"5": {
"label": "parameter 3",
"description": "the name (and value) of the third parameter, use {{=}} to add an equal sign",
"type": "string"
}
}}</templatedata>
== See also ==
* {{tl|mfl}} - Similar function but creates a link to the function paragraph in the documentation.
* {{tl|mlx}} - Similar function but surrounded in {{tag|code}} tags.
* {{tl|tl}} - A version of this template for templates instead of modules.
{{Template:Template-linking templates}}
<includeonly>{{Sandbox other||
[[Category:Internal module-link templates]]
}}</includeonly>
4dods311gorlciu9v134qb9cyq76qi2
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Ml
10
1696
6314
2025-07-03T02:59:33Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module link]]
6314
wikitext
text/x-wiki
#REDIRECT [[Template:Module link]]
kqg7eck6yjcwbaqm7z01snfeozo9pml
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module function link
10
1697
6315
2025-07-03T03:02:21Z
Saimawnkham
28
Created page with "<includeonly>{{safesubst:<noinclude />#if:{{{1|}}} |{{{{safesubst:<noinclude />#invoke:separated entries|main|[[Module:{{{1}}}|#invoke:{{{1}}}]]|{{safesubst:<noinclude />#if:{{{2|/}}} |{{safesubst:<noinclude />#if:{{{2|}}}|[[Module:{{{1}}}#{{{2}}}|{{{2}}}]]}} |''function'' }}|separator=|}}}} |{{#invoke:Error|error|Error: Missing module name.}} }}</includeonly><noinclude>{{documentation}}</noinclude>"
6315
wikitext
text/x-wiki
<includeonly>{{safesubst:<noinclude />#if:{{{1|}}}
|{{{{safesubst:<noinclude />#invoke:separated entries|main|[[Module:{{{1}}}|#invoke:{{{1}}}]]|{{safesubst:<noinclude />#if:{{{2|/}}}
|{{safesubst:<noinclude />#if:{{{2|}}}|[[Module:{{{1}}}#{{{2}}}|{{{2}}}]]}}
|''function''
}}|separator=|}}}}
|{{#invoke:Error|error|Error: Missing module name.}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
74grvjmt67cetqv33fvzidrl66ojqf8
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Mfl
10
1698
6316
2025-07-03T03:02:44Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{tsh|mfl}}{{lua|Module:Separated entries}} {{tl|mfl}} is similar to {{tl|ml}}, but assumes that the function specified is documented, and thus creates a link to a section of the same name expected to be found in the documentation. Another difference with {{tl|ml}} is that the behaviour of empty and undefined in the second parameter here is inverted. == Examples == {| class="wikitable" ! Code ! Result ! Notes |- | {{tji|mfl|Example}} | {{mfl|..."
6316
wikitext
text/x-wiki
{{Documentation subpage}}
{{tsh|mfl}}{{lua|Module:Separated entries}}
{{tl|mfl}} is similar to {{tl|ml}}, but assumes that the function specified is documented, and thus creates a link to a section of the same name expected to be found in the documentation. Another difference with {{tl|ml}} is that the behaviour of empty and undefined in the second parameter here is inverted.
== Examples ==
{| class="wikitable"
! Code
! Result
! Notes
|-
| {{tji|mfl|Example}}
| {{mfl|Example}}
| Omits the function name
|-
| {{tji|mfl|Example|hello}}
| {{mfl|Example|hello}}
| Usage with a function name.
|-
| {{tji|mfl|Example|count_fruit|3{{=}}bananas{{=}}10|4{{=}}kiwis{{=}}5}}
| {{mfl|Example|count_fruit|3=bananas=10|4=kiwis=5}}
| Usage with a function name and parameters.
|-
| {{tji|mfl|Example|count_fruit|Fred|bananas<nowiki>{{</nowiki>{{=}}<nowiki>}}</nowiki>10|apples<nowiki>{{</nowiki>{{=}}<nowiki>}}</nowiki>5}}
| {{mfl|Example|count_fruit|Fred|bananas{{=}}10|apples{{=}}5}}
| Usage with a function name and parameters, using {{((}}={{))}}.
|-
| {{tji|mfl|Example|}}
| {{mfl|Example|}}
| Usage with a generic function name. This does not produce a usable invocation.
|}
== TemplateData ==
{{TemplateData header}}
<templatedata>{
"description": "This template displays a module name as a link surrounded by braces with the {{#invoke}} parser function, itself linked, thus showing how the module name would be used in code. Its primary use is in instruction and documentation.",
"format": "inline",
"params": {
"1": {
"label": "module name",
"description": "the module name without the namespace prefix “Module:”, which is added automatically",
"type": "string",
"required": true
},
"2": {
"label": "function name",
"description": "the function name within the module to call, expected to be documented",
"type": "string",
"required": false
},
"3": {
"label": "parameter 1",
"description": "the name (and value) of the first parameter, use {{=}} to add an equal sign",
"type": "string"
},
"4": {
"label": "parameter 2",
"description": "the name (and value) of the second parameter, use {{=}} to add an equal sign",
"type": "string"
},
"5": {
"label": "parameter 3",
"description": "the name (and value) of the third parameter, use {{=}} to add an equal sign",
"type": "string"
}
}
}</templatedata>
== See also ==
* {{tl|ml}} - Similar function but without generating links
* {{tl|tl}} - A version of this template for templates instead of modules.
{{Template:Template-linking templates}}
<includeonly>{{Sandbox other||
[[Category:Internal module-link templates]]
}}</includeonly>
f7a4935ogl1889lmwgjixskdlbsoxbp
6318
6316
2025-07-03T03:03:09Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module function link]]
6318
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module function link]]
6lqc1pcpvn4wo8uiv0day7wnnirn72z
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Module function link/doc
10
1699
6317
2025-07-03T03:02:58Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{tsh|mfl}}{{lua|Module:Separated entries}} {{tl|mfl}} is similar to {{tl|ml}}, but assumes that the function specified is documented, and thus creates a link to a section of the same name expected to be found in the documentation. Another difference with {{tl|ml}} is that the behaviour of empty and undefined in the second parameter here is inverted. == Examples == {| class="wikitable" ! Code ! Result ! Notes |- | {{tji|mfl|Example}} | {{mfl|..."
6317
wikitext
text/x-wiki
{{Documentation subpage}}
{{tsh|mfl}}{{lua|Module:Separated entries}}
{{tl|mfl}} is similar to {{tl|ml}}, but assumes that the function specified is documented, and thus creates a link to a section of the same name expected to be found in the documentation. Another difference with {{tl|ml}} is that the behaviour of empty and undefined in the second parameter here is inverted.
== Examples ==
{| class="wikitable"
! Code
! Result
! Notes
|-
| {{tji|mfl|Example}}
| {{mfl|Example}}
| Omits the function name
|-
| {{tji|mfl|Example|hello}}
| {{mfl|Example|hello}}
| Usage with a function name.
|-
| {{tji|mfl|Example|count_fruit|3{{=}}bananas{{=}}10|4{{=}}kiwis{{=}}5}}
| {{mfl|Example|count_fruit|3=bananas=10|4=kiwis=5}}
| Usage with a function name and parameters.
|-
| {{tji|mfl|Example|count_fruit|Fred|bananas<nowiki>{{</nowiki>{{=}}<nowiki>}}</nowiki>10|apples<nowiki>{{</nowiki>{{=}}<nowiki>}}</nowiki>5}}
| {{mfl|Example|count_fruit|Fred|bananas{{=}}10|apples{{=}}5}}
| Usage with a function name and parameters, using {{((}}={{))}}.
|-
| {{tji|mfl|Example|}}
| {{mfl|Example|}}
| Usage with a generic function name. This does not produce a usable invocation.
|}
== TemplateData ==
{{TemplateData header}}
<templatedata>{
"description": "This template displays a module name as a link surrounded by braces with the {{#invoke}} parser function, itself linked, thus showing how the module name would be used in code. Its primary use is in instruction and documentation.",
"format": "inline",
"params": {
"1": {
"label": "module name",
"description": "the module name without the namespace prefix “Module:”, which is added automatically",
"type": "string",
"required": true
},
"2": {
"label": "function name",
"description": "the function name within the module to call, expected to be documented",
"type": "string",
"required": false
},
"3": {
"label": "parameter 1",
"description": "the name (and value) of the first parameter, use {{=}} to add an equal sign",
"type": "string"
},
"4": {
"label": "parameter 2",
"description": "the name (and value) of the second parameter, use {{=}} to add an equal sign",
"type": "string"
},
"5": {
"label": "parameter 3",
"description": "the name (and value) of the third parameter, use {{=}} to add an equal sign",
"type": "string"
}
}
}</templatedata>
== See also ==
* {{tl|ml}} - Similar function but without generating links
* {{tl|tl}} - A version of this template for templates instead of modules.
{{Template:Template-linking templates}}
<includeonly>{{Sandbox other||
[[Category:Internal module-link templates]]
}}</includeonly>
f7a4935ogl1889lmwgjixskdlbsoxbp
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Template link with bold
10
1700
6319
2025-07-03T03:04:27Z
Saimawnkham
28
Created page with "{{#Invoke:Template link general|main|bold=on}}<noinclude> {{Documentation|1=Template:Tlg/doc |content = {{tlg/doc|tlb}} }} <!-- Add categories to the /doc subpage, not here! --> </noinclude>"
6319
wikitext
text/x-wiki
{{#Invoke:Template link general|main|bold=on}}<noinclude>
{{Documentation|1=Template:Tlg/doc
|content = {{tlg/doc|tlb}}
}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
n7m4iye4a3bll5v8ee1fe7fjm4w193m
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlb
10
1701
6320
2025-07-03T03:04:48Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Template link with bold]]
6320
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Template link with bold]]
3p864grbumg725ptw90dgxbv8fqkxz9
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/ulink
10
1702
6321
2025-07-03T03:08:16Z
Saimawnkham
28
Created page with "{{#switch:{{{ulink|<#salted#>}}} | <#salted#>=U+ | =[[{{{ulinkdefault|}}}|U+]] | #default=[[{{{ulink|}}}{{!}}U+]]}}<noinclude> {{Documentation}} </noinclude>"
6321
wikitext
text/x-wiki
{{#switch:{{{ulink|<#salted#>}}}
| <#salted#>=U+
| =[[{{{ulinkdefault|}}}|U+]]
| #default=[[{{{ulink|}}}{{!}}U+]]}}<noinclude>
{{Documentation}}
</noinclude>
fl2vvtcck5hazu6b8ufl7wfzqz88bcr
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/glyph
10
1703
6322
2025-07-03T03:08:54Z
Saimawnkham
28
Created page with "{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|0|1}}}}{{#if:{{{image|}}} | [[File:{{{image|}}}|frameless|{{{size|}}}|baseline|alt={{{na|}}}]] | {{#switch:{{{gc|<#not a Unicode code point#>}}} | <#not a Unicode code point#> = | Cc =<span style="font-size:small"><control-{{{hval|}}}></span> | Cs =<span style="font-size:small"><surrogate-{{{hval|}}}></span> | Cp =<span style="font-size:small"><private-use-{{{hval|}}}></span> | Cn =<!--Cn..."
6322
wikitext
text/x-wiki
{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|0|1}}}}{{#if:{{{image|}}}
| [[File:{{{image|}}}|frameless|{{{size|}}}|baseline|alt={{{na|}}}]]
| {{#switch:{{{gc|<#not a Unicode code point#>}}}
| <#not a Unicode code point#> =
| Cc =<span style="font-size:small"><control-{{{hval|}}}></span>
| Cs =<span style="font-size:small"><surrogate-{{{hval|}}}></span>
| Cp =<span style="font-size:small"><private-use-{{{hval|}}}></span>
| Cn =<!--Cn=<reserved> is not detected--><span style="font-size:small"><noncharacter-{{{hval|}}}></span>
| Cf | Zl | Zp =<!--formatting chars, no glyph or html code at all-->
| Zs =<span class="Unicode" style="background:lightblue;line-height:1em">{{#ifeq:{{{hval|}}}| 0020 | |&#x{{{hval|}}};}}</span><!--change space 0x20 into nbsp=0xA0 to preserve the space from wiki-markup deletion-->
| #default=<span style="font-size:{{{size|unexp}}};line-height:1em">{{#switch:{{{use|}}}
| ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};{{{suffix|}}}}}
| lang ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};{{{suffix|}}}}}
| script={{script|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};{{{suffix|}}}}}<!--use2: first char uc here?-->
| unicode
| #default = {{#ifeq:{{{cwith|}}}|◌|{{script|serif|{{{cwith|}}}&#x{{{hval}}};{{{suffix|}}}}}|{{{cwith|}}}&#x{{{hval|}}};{{{suffix|}}} }}}}</span>}}{{#ifeq:{{{cwith|}}}| | }}}}{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|1|2}}}}<!--
--><noinclude>{{documentation}}</noinclude>
jo2og5z5u2ufq47h81slk45j2f110xb
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/glyph/doc
10
1704
6323
2025-07-03T03:09:14Z
Saimawnkham
28
Created page with "{{Documentation subpage}} <!-- Please, add the subtemplate categories and this documentation interwikis at the bottom of this page. The subtemplate interwikis go at Wikidata ([[Wikipedia:Wikidata]]). Thanks! --> == Usage == Returns a glyph from Unicode code point hexadecimal value.<br> Input params: * Unnamed: ** {{Para|1}} : hexadecimal value (required) ** {{Para|2}} : font-size ** {{Para|3}} : {{Para|use}} (font hint, e.g. IPA) ** {{Para|4}} : {{Para|use2}} (font..."
6323
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please, add the subtemplate categories and this documentation interwikis at the bottom of this page. The subtemplate interwikis go at Wikidata ([[Wikipedia:Wikidata]]). Thanks! -->
== Usage ==
Returns a glyph from Unicode code point hexadecimal value.<br>
Input params:
* Unnamed:
** {{Para|1}} : hexadecimal value (required)
** {{Para|2}} : font-size
** {{Para|3}} : {{Para|use}} (font hint, e.g. IPA)
** {{Para|4}} : {{Para|use2}} (font hint param=ISO alpha2 or alpha4)
* Named:
** {{Para|dec}} : decimal value (from hexadecimal) to be used in /gc
== See also ==
See main template {{Tl|Unichar}} for full documentation.
<includeonly>{{Sandbox other||<!-- Please, add this subtemplate categories here. Thanks! -->
[[Category:Glyph templates]]
}}
</includeonly><noinclude><!-- Please, add this documentation interwikis here. Thanks! -->
[[pt:Predefinição:Unichar/glyph/doc]]
</noinclude>
hzhf7qikj6icl76j08bt3q9g8njprvb
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/name
10
1705
6324
2025-07-03T03:09:41Z
Saimawnkham
28
Created page with "<span style="font-variant: small-caps; text-transform: lowercase; font-feature-settings: 'onum'">{{#ifeq:{{{name|}}}| none || {{#switch:{{{gc|}}} | Zl | Zp | Zs={{#ifeq:{{{nlink|}}} | <#salted#> |{{{na|}}}| {{#if: {{{nlink|}}} | [[{{{nlink|}}}{{!}}{{{na|}}}]] |[[{{#ifeq:{{{hval}}}|0020|space (punctuation)|{{lc:{{{na|}}}}}}}{{!}}{{{na|}}}]] }}}} <!--A space cannot be the sole character in a page name --> | Cc | Cs | Cp | Cn = <!--no smallcaps name, but straight nlink if..."
6324
wikitext
text/x-wiki
<span style="font-variant: small-caps; text-transform: lowercase; font-feature-settings: 'onum'">{{#ifeq:{{{name|}}}| none || {{#switch:{{{gc|}}} | Zl | Zp | Zs={{#ifeq:{{{nlink|}}} | <#salted#> |{{{na|}}}| {{#if: {{{nlink|}}} | [[{{{nlink|}}}{{!}}{{{na|}}}]] |[[{{#ifeq:{{{hval}}}|0020|space (punctuation)|{{lc:{{{na|}}}}}}}{{!}}{{{na|}}}]] }}}} <!--A space cannot be the sole character in a page name --> | Cc | Cs | Cp | Cn = <!--no smallcaps name, but straight nlink if given-->{{#ifeq:{{{nlink|}}} | <#salted#> || {{#if: {{{nlink|}}} | [[{{{nlink|}}}]] | {{error|Error using {{tl|unichar}}: Pagename expected in "nlink{{=}}"| tag=span }}}}}}
| #default={{#switch:{{{nlink|<#salted#>}}}
| <#salted#> =<!--no link-->{{{na|}}}
| =<!--wikilink to na-->[[{{#switch:{{{hval}}}|0023|002E|003C|003E|005B|005D|007B|007C|007D|200E|200F|202A|202B|202C|202D|202E={{lc:{{{na|}}}}}|003A=colon (punctuation)<!-- colon is a disambiguation page -->|005F=underscore<!-- Low line is a disambiguation page -->|#default=&#x{{{hval}}};}}{{!}}{{{na|}}}]]
| #default =<!--piped link-->[[{{{nlink|}}}{{!}}{{{na|}}}]]}}}}}}</span><!--
--><noinclude>{{Documentation}}</noinclude>
s3vpekmfjl5uggq2afvmo0iifx14qnc
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/name/doc
10
1706
6325
2025-07-03T03:09:59Z
Saimawnkham
28
Created page with "{{Documentation subpage}} == Usage == Returns the Unicode character Name text, in {{Tlf|small}} uppercases, optionally wikilinked.<br> Input: * {{Para|na}}: name string (named param so whitespace/returns are stripped) * {{Para|hval}}: hex code point value, for generating the nlink link * {{Para|nlink}}: wikilink article name; should be "<#salted#>" if user did not use "{{Para|nlink}}" at all (meaning: do not link the name).<br> Example: <syntaxhighlight lang="wikitext..."
6325
wikitext
text/x-wiki
{{Documentation subpage}}
== Usage ==
Returns the Unicode character Name text, in {{Tlf|small}} uppercases, optionally wikilinked.<br>
Input:
* {{Para|na}}: name string (named param so whitespace/returns are stripped)
* {{Para|hval}}: hex code point value, for generating the nlink link
* {{Para|nlink}}: wikilink article name; should be "<#salted#>" if user did not use "{{Para|nlink}}" at all (meaning: do not link the name).<br>
Example: <syntaxhighlight lang="wikitext" inline>{{Unichar/name|na=LATIN CAPITAL LETTER A|hval=0041|nlink=}}</syntaxhighlight> -> {{Unichar/name|na=LATIN CAPITAL LETTER A|hval=0041|nlink=}}
tests [[A|<span style="font-variant-caps:all-small-caps;">THIS IS THE NAME</span>]] [[A|{{sc|This is the name}}]] [[A|<span style="font-variant: small-caps; text-transform: lowercase;">THIS IS THE NAME</span>]]
=== See also ===
See main template {{Tl|Unichar}} for full documentation.
<includeonly>{{Sandbox other||
}}
</includeonly><noinclude>
[[pt:Predefinição:Unichar/name/doc]]
</noinclude>
cf0dnfulhthpx0iztctktzkjruo11f6
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/notes
10
1707
6326
2025-07-03T03:10:23Z
Saimawnkham
28
Created page with "{{#if:{{{char_entity|}}}{{{note|}}} |({{trim|1=<!-- -->{{#ifeq:{{{char_entity|}}}|||{{mono|1={{{char_entity|}}}}}<!-- -->{{#if:{{{note|}}}|{{int:dot-separator}}}}}} <!-- -->{{{note|}}}<!-- -->}})}}<!-- --><noinclude>{{Documentation}}</noinclude>"
6326
wikitext
text/x-wiki
{{#if:{{{char_entity|}}}{{{note|}}}
|({{trim|1=<!--
-->{{#ifeq:{{{char_entity|}}}|||{{mono|1={{{char_entity|}}}}}<!-- -->{{#if:{{{note|}}}|{{int:dot-separator}}}}}} <!--
-->{{{note|}}}<!--
-->}})}}<!--
--><noinclude>{{Documentation}}</noinclude>
cgp0i4ncuq0jw6e4v4vqks7rqc1ziud
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/notes/doc
10
1708
6327
2025-07-03T03:10:41Z
Saimawnkham
28
Created page with "{{Documentation subpage}} : {{Unichar|00A9|COPYRIGHT SIGN}} : {{Unichar|00A9|COPYRIGHT SIGN|html=yes}} : {{Unichar|00A9|COPYRIGHT SIGN|html=}} : {{Unichar|00A9|COPYRIGHT SIGN|html= |note=Some note}} : {{Unichar|00A9|COPYRIGHT SIGN|html=}} : {{Unichar|00A9|COPYRIGHT SIGN|note=Some note}} ;62 : {{Unichar|0062|LATIN small LETTER B}} : {{Unichar|0062|LATIN small LETTER B|html=}} : {{Unichar|0062|LATIN small LETTER B|html= |note=Some note}} : {{Unichar|0062|LATIN smal..."
6327
wikitext
text/x-wiki
{{Documentation subpage}}
: {{Unichar|00A9|COPYRIGHT SIGN}}
: {{Unichar|00A9|COPYRIGHT SIGN|html=yes}}
: {{Unichar|00A9|COPYRIGHT SIGN|html=}}
: {{Unichar|00A9|COPYRIGHT SIGN|html= |note=Some note}}
: {{Unichar|00A9|COPYRIGHT SIGN|html=}}
: {{Unichar|00A9|COPYRIGHT SIGN|note=Some note}}
;62
: {{Unichar|0062|LATIN small LETTER B}}
: {{Unichar|0062|LATIN small LETTER B|html=}}
: {{Unichar|0062|LATIN small LETTER B|html= |note=Some note}}
: {{Unichar|0062|LATIN small LETTER B|html=}}
: {{Unichar|0062|LATIN small LETTER B|note=Some note}}
* {{Tl|Unichar}}
* {{Tl|Unichar/main}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- Please, add the categories below this line and the interwikis at Wikidata. -->
}}</includeonly><noinclude>
[[pt:Predefinição:Unichar/notes/doc]]
</noinclude>
3yq4qjkk75rz1c9eryrw2gfl099dh33
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Unichar/hexformat
10
1709
6328
2025-07-03T03:12:02Z
Saimawnkham
28
Created page with "{{#ifeq:{{{1|<#salted#>}}} | <#salted#> | <#salted#> | {{#switch:{{lc:{{padleft:|4|{{{1|0}}}}}}} |0x0x |u+0x = <#salted#> }} {{padleft:{{uc:{{#switch:{{lc:{{padleft:|2|{{{1|0}}}}}}} | u+ | 0x = {{Str right|{{{1}}}|2}} |{{{1}}} }}}}|4|0 }} }}<noinclude> {{Documentation}} </noinclude>"
6328
wikitext
text/x-wiki
{{#ifeq:{{{1|<#salted#>}}} | <#salted#>
| <#salted#>
| {{#switch:{{lc:{{padleft:|4|{{{1|0}}}}}}}
|0x0x
|u+0x = <#salted#>
}}
{{padleft:{{uc:{{#switch:{{lc:{{padleft:|2|{{{1|0}}}}}}}
| u+
| 0x = {{Str right|{{{1}}}|2}}
|{{{1}}}
}}}}|4|0
}}
}}<noinclude>
{{Documentation}}
</noinclude>
7o8ni3fyih0ympyd4bscidi7divaw30
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Script/Serif
10
1710
6330
2025-07-03T03:13:42Z
Saimawnkham
28
Created page with "<span style="font-family: serif; {{{style|}}}" {{{attributes|}}}>{{{1}}}</span>"
6330
wikitext
text/x-wiki
<span style="font-family: serif; {{{style|}}}" {{{attributes|}}}>{{{1}}}</span>
o0cze8ekw9djdwyfwpa6k32md81sg5e
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break
10
1711
6331
2025-07-03T03:14:25Z
Saimawnkham
28
Created page with "<div class="paragraphbreak" style="margin-top:0.5em"></div><noinclude>{{documentation}}</noinclude>"
6331
wikitext
text/x-wiki
<div class="paragraphbreak" style="margin-top:0.5em"></div><noinclude>{{documentation}}</noinclude>
r8flwbox6t79tbhxblur1xf3iyaqaec
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break/doc
10
1712
6332
2025-07-03T03:14:52Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{used in system}} {{Template shortcut|pb|parabr|paragraph}} == Usage == This template produces a "visual paragraph break" by inserting the following empty tag pair: {{tag|div|attribs=class="paragraphbreak"|content=}} Example: {{block indent|{{xt|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<nowiki>{{paragraph break}}</nowiki>Lorem ipsum dolor sit amet, consectetu..."
6332
wikitext
text/x-wiki
{{Documentation subpage}}
{{used in system}}
{{Template shortcut|pb|parabr|paragraph}}
== Usage ==
This template produces a "visual paragraph break" by inserting the following empty tag pair:
{{tag|div|attribs=class="paragraphbreak"|content=}}
Example:
{{block indent|{{xt|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<nowiki>{{paragraph break}}</nowiki>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}}}
produces:
{{block indent|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{paragraph break}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
== Purpose ==
In some instances, it is not possible to introduce paragraph breaks using newlines alone. For example, within a list item and within references. However, using {{code|lang=html|code=<p>}} tags can cause problems for navigation with screen readers, which expect these tags to delimit paragraphs of prose (see e.g. [[MOS:INDENTGAP]]). This template is used mostly in footnotes, where a visual break is desired, without adding an additional paragraph navigation point.
== Example 1 ==
The following reference uses line breaks for multiple lines.<ref>Paragraph 1a
Paragraph 1b</ref>
The following reference uses the paragraph break template for paragraph breaks.<ref>Paragraph 2a{{paragraph break}}Paragraph 2b</ref>
The following reference uses {{code|lang=html|code=<br />}} tags for paragraph breaks.<ref>Line 3a<br />Line 3b</ref>
'''Notes'''
{{reflist}}
which was generated using:
<syntaxhighlight lang="html">
1.<ref>Paragraph 1a
Paragraph 1b</ref>
2. <ref>Paragraph 2a{{paragraph break}}Paragraph 2b</ref>
3. <ref>Line 3a<br />Line 3b</ref>
</syntaxhighlight>
== Example 2 ==
Consider the following list
# Paragraph 1a {{paragraph break}} Paragraph 1b
# Paragraph 2
which was generated using
<pre>
# Paragraph 1a {{paragraph break}} Paragraph 1b
# Paragraph 2
</pre>
== See also ==
* {{t|i*}} - when there is a sublist
* {{tl|Break}} - for inline use
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"params": {},
"description": "Produces a \"visual paragraph break\"."
}
</templatedata>
<includeonly>{{Sandbox other||
<!-- Categories go here: -->
[[Category:Typing-aid templates]]
[[Category:Block spacing templates]]
}}</includeonly>
bqg4ahrs0zujpr7yj76cwzuniqqn7b4
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Pb
10
1713
6333
2025-07-03T03:15:14Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break]]
6333
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break]]
4mpopr6yhlrhxlnjx4n9kqk2e6jjuix
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Parabr
10
1714
6334
2025-07-03T03:15:16Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break]]
6334
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break]]
4mpopr6yhlrhxlnjx4n9kqk2e6jjuix
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph
10
1715
6335
2025-07-03T03:15:18Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break]]
6335
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Paragraph break]]
4mpopr6yhlrhxlnjx4n9kqk2e6jjuix
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Block indent
10
1716
6336
2025-07-03T03:15:44Z
Saimawnkham
28
Created page with "<templatestyles src="Block indent/styles.css"/><div class="block-indent {{{class|}}}" {{#if:{{{left|}}}{{{em|}}}{{{right|}}}{{{style|}}}|style="{{#if:{{{left|{{{em|}}}}}}|padding-left: {{{left|{{{em}}}}}}em;}}{{#if:{{{right|}}}|padding-right: {{{right}}}em;}}{{#if:{{{style|}}}|{{{style}}}}}"}}>{{{1|{{{text|{{{content|{{{quote|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No content given to indent (or equals sign used in the actual argument to an unna..."
6336
wikitext
text/x-wiki
<templatestyles src="Block indent/styles.css"/><div class="block-indent {{{class|}}}" {{#if:{{{left|}}}{{{em|}}}{{{right|}}}{{{style|}}}|style="{{#if:{{{left|{{{em|}}}}}}|padding-left: {{{left|{{{em}}}}}}em;}}{{#if:{{{right|}}}|padding-right: {{{right}}}em;}}{{#if:{{{style|}}}|{{{style}}}}}"}}>{{{1|{{{text|{{{content|{{{quote|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No content given to indent (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}}}}</div><noinclude>
{{documentation}}
</noinclude>
s97n0kekohfw61aczb4rdypuzqrqlog
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Block indent/doc
10
1717
6337
2025-07-03T03:16:09Z
Saimawnkham
28
Created page with "{{Documentation subpage}} {{used in system}} {{tsh|bi}} {{Uses TemplateStyles|Template:Block indent/styles.css}} == Usage == {{tl|block indent}} adds a block of indented text to a page. :<code><nowiki>{{block indent|1=</nowiki>{{var|The material to be indented here. May include markup, paragraph breaks, etc.}}<nowiki>}}</nowiki></code> ===Alternatives that are not recommended=== A colon at the start of the line produces a similar indent, but it produces incorrect HTM..."
6337
wikitext
text/x-wiki
{{Documentation subpage}}
{{used in system}}
{{tsh|bi}}
{{Uses TemplateStyles|Template:Block indent/styles.css}}
== Usage ==
{{tl|block indent}} adds a block of indented text to a page.
:<code><nowiki>{{block indent|1=</nowiki>{{var|The material to be indented here. May include markup, paragraph breaks, etc.}}<nowiki>}}</nowiki></code>
===Alternatives that are not recommended===
A colon at the start of the line produces a similar indent, but it produces incorrect HTML. See [[MOS:INDENT]]. (An initial <code>:</code> was intended only for use after <code>;</code>, in constructing [[MOS:DEFLIST|description lists]], but most editors have used it almost everywhere for indenting.)
{{tl|Blockquote}} is for actual quotations only. Using it for block indent is not correct [[semantic HTML]], and the appearance differs. ({{tl|Blockquote}} produces the HTML {{tag|blockquote}} element, which indicates a [[block quotation]]; {{tl|block indent}} produces the HTML {{tag|div}} element.)
The default display of {{tl|block indent}} differs from that of {{tl|Blockquote}} in that it does not:
* introduce whitespace margins above or below the indented material (just add a blank line above and/or below manually); nor
* indent from the right as well as the left (there is an optional parameter for this); nor
* affect the font size of its contents; nor
* (on mobile) bookend the block with large quotation marks; nor
* support plain blank-line paragraph breaks inside it; nor
* support attribution parameters (because {{tl|block indent}} isn't for quotations).
{{tl|Blockquote}} and {{tl|block indent}} both support paragraph breaks using {{tag|p}} around second and subsequent paragraphs, as well as other HTML markup, and it is always safest to explicitly format with HTML rather than rely on MediaWiki's parser to do the right thing, because the developers could alter its behavior at any time.
===Example===
{{tlx|block indent|1{{=}}{{tl|Lorem ipsum}}}}
produces:
{{block indent|1={{Lorem ipsum}}}}
===Parameters===
{{para|1}} a.k.a. {{para|text}} The material to be indented. {{strong|1=It is always safest to explicitly define this with <code>1=</code>, not as an unnamed parameter}}, because any occurrence (e.g. in a URL, template, etc.) of the <code>=</code> character will break the template without it.
{{para|left}} a.k.a. {{para|em}} the value (e.g. <kbd>0.1</kbd> or <kbd>7</kbd>) in [[Em (typography)|<code>em</code> units]] by which to indent the material from the left; defaults to <code>3</code>
{{para|right}} the value, also in <code>em</code>, by which to indent the material from the right; defaults to <code>0</code> (use <kbd>7</kbd> to match the default left indentation)
{{para|style}} arbitrary CSS declarations, e.g. <code>font-size: 95%;</code>. This parameter should not normally be needed. Note: It already includes <code>overflow: hidden;</code> by default, to avoid collision of the div's background with floating elements.
{{para|class}} any CSS class names (e.g. as defined at [[MediaWiki:Common.css]]), comma-separated if more than one. This parameter should not normally be needed.
===Comparison with {{tl|Blockquote}} (block quotation)===
{| class="wikitable"
|-
! scope="col"|<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki>
! scope="col"|{{tl|Blockquote}}
|-
| width="50%"| <code><nowiki>{{Lorem ipsum}}{{block indent|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}</nowiki></code>
| width="50%"| <code><nowiki>{{Lorem ipsum}}{{Blockquote|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}</nowiki></code>
|-
| {{Lorem ipsum}}{{block indent|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}
| {{Lorem ipsum}}{{Blockquote|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}
|}
===Technical issues with block templates===
{{Block bug documentation}}
==See also==
* {{tl|indent}}, which indents a single line, after a newline, using a mixture of en- and em-sized spaces
* {{tl|spaces}}, which indents a single line (or content inline in one) uses non-breaking spaces
* {{tl|in5}}, which indents a single line (or content inline in one), skipping up to fifty equal en-sized spaces
* {{tl|hanging indent}}, the block hanging indent template
* {{tl|Blockquote}}, the block quotation template, which is only for quotations
{{semantic markup templates}}
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Inline spacing templates]]
[[Category:Typing-aid templates]]
[[Category:Semantic markup templates]]
}}</includeonly>
hcb390xmjvbcrq58btoxblxysgl4qod
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum
10
1718
6338
2025-07-03T03:16:43Z
Saimawnkham
28
Created page with "{{{{{|safesubst:}}}#invoke:lorem ipsum|main}}<noinclude> {{Documentation}} </noinclude>"
6338
wikitext
text/x-wiki
{{{{{|safesubst:}}}#invoke:lorem ipsum|main}}<noinclude>
{{Documentation}}
</noinclude>
1u4bp7uwhc1wy1jszrzt9jlcqnr5zd7
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum/doc
10
1719
6339
2025-07-03T03:17:06Z
Saimawnkham
28
Created page with "{{documentation subpage}} {{Lua|Module:Lorem ipsum}} <!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> {{template shortcut|lipsum|lorem|loremipsum}} This template outputs the "[[lorem ipsum]]" filler text. It takes four parameters: the number of paragraphs to generate, paragraph prefix, paragraph suffix, and an option to link lorem ipsum. There are 10 distinct paragraphs. Note that, for the sake of accuracy, you can also use {{tl|Dolore..."
6339
wikitext
text/x-wiki
{{documentation subpage}}
{{Lua|Module:Lorem ipsum}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{template shortcut|lipsum|lorem|loremipsum}}
This template outputs the "[[lorem ipsum]]" filler text. It takes four parameters: the number of paragraphs to generate, paragraph prefix, paragraph suffix, and an option to link lorem ipsum. There are 10 distinct paragraphs. Note that, for the sake of accuracy, you can also use {{tl|Dolorem ipsum}} — which is the same template in every respect, but uses the ''actual'' text of ''[[De finibus bonorum et malorum]]'' from which "lorem ipsum" was derived.
==Usage==
{{tlc|Lorem ipsum}} – one paragraph<br/>
{{tlc|Lorem ipsum|3|*}} – three paragraphs as bullet list<br/>
{{tlc|Lorem ipsum|10}} – ten paragraphs
==Parameters==
There are four positional parameters and two named parameters, all optional:
* 1 – Number of paragraphs to display (default: 1)
* 2 – prefix character(s) to emit before each paragraph (such as a quotation mark, an asterisk for bullet list, etc.; default: none)
* 3 – suffix (such as ending quote; default: none)
* 4 – if set to {{para|4|yes}}, causes the first two words of paragraph 1 to be linked to [[Lorem ipsum]]. (default: 'no'. Alias: 'link'.)
* join – if set to {{para|join|yes}}, causes all output to be emitted as a single paragraph (default: 'no'). Use of 'join' alters how prefix is handled.
* joinprefixsuffix – if set to {{para|join|yes}}, add prefix and suffix within the joined paragraph where the paragraph breaks would've been.
* cat – Adds article to [[:Category:Wikipedia articles containing placeholders]], unless {{para|cat|no}} (default: 'yes')
==Notes about font styling==
For most parameter combinations, this template produces block-level Html output, and for those cases, font styling using [[Help:Wikitext#Format|wiki markup]] such as <code><nowiki>'''bold'''</nowiki></code>, <code><nowiki>''italic''</nowiki></code> or {{nowrap|<code><nowiki><small>...</small></nowiki></code>}} may not produce the desired results. (This is true of all templates that generate [[HTML_element#Block_elements|Html block elements]].) If font styling is required, you can use block level alternatives, such as these:
* for smaller font, you may use ⟶ <code><nowiki>{{small div | {{Lorem ipsum|3}} }}</nowiki></code>
* for bold ⟶ <code><nowiki>{{bold div | {{Lorem ipsum|3}} }}</nowiki></code>
* for italics ⟶ <code><nowiki>{{italic div | {{Lorem ipsum|3}} }}</nowiki></code>
The latter two have a parameter to make the text smaller at the same time. Alternatively, if you only need one paragraph of lorem output, consider using {{tl|lorem ipsum span}} instead, which generates an [[HTML element#Inline elements|Html inline-level element]] and so may be used with all the normal in-line wiki markup to alter the font style.
Exceptionally, standard wiki markup may be used when param {{para|join|yes}} is in use. See [[#Running paragraphs together]].
==Examples==
===Linking "lorem ipsum"===
To link the [[incipit]] (the first two words of paragraph one, i.e. ''Lorem ipsum'') to the Wikipedia article [[Lorem ipsum]], either use param {{para|link|yes}}, or place <code>yes</code> in the fourth positional parameter. {{tlc|Lorem ipsum|1|#|link{{=}}yes}} generates:
{{Lorem ipsum|1|#|link=yes}}
===Prefix and suffix===
Param 2 is the prefix, and 3 is the suffix added to the beginning and end of each paragraph. In the example below, the prefix is {{pval|:* "}}, and the suffix is {{pval|"}}:
<code><nowiki>{{Lorem ipsum|2|:* "|"}}</nowiki></code> generates:
{{Lorem ipsum|2|:* "|"}}
Note that if param {{para|join|yes}} is in effect, the wiki markup behavior of prefix metacharacters <code>#</code>, <code>*</code>, and <code>:</code> is only apparent at the beginning of the output, because there is only one, long paragraph. For example, if prefix is {{pval|#}} with {{para|join|yes}}, the output consists of one long paragraph, numbered "1". The prefix character(s) will still be placed in the content where paragraph breaks would normally occur in non-joined results.
===Running paragraphs together===
All requested paragraphs of text can be joined together in one long paragraph using the {{para|join|yes}} param. Use of this parameter alters the behavior of param 2 (prefix): see [[#Prefix and suffix]] for details. The link param (4) behaves as usual: {{nowrap|{{tlc|Lorem ipsum|2|link{{=}}yes|join{{=}}yes}}}} will produce:
:{{Lorem ipsum|2|link=yes|join=yes}}
Since joined text produces a single string without line breaks and without block-level tags such as <p>, if no prefix metacharacters are in use, the result of transcluding the template with {{para|join|yes}} is an [[HTML element#Inline elements|inline-level HTML element]], meaning that standard [[Help:Wikitext#Format|wiki markup]] for font styling (like bold, italic, or font-size such as '<small>') may be used in this case. See [[#Notes about font styling]] for details.
===Limiting character count to less than one paragraph===
If fewer than 446 characters are desired, use {{tl|lorem ipsum span}} and truncate to the desired size with {{nowrap|[[Template:Str left]]}}:
<code><nowiki>{{Str left|{{Lorem ipsum span}}|123}}</nowiki></code> will result in:
{{Str left|{{Lorem ipsum span}}|123}}
==Full text==
<code><nowiki>{{Lorem ipsum|10}}</nowiki></code> will produce:
{{collapse top}}
{{Lorem ipsum|10}}
{{collapse bottom}}
==See also==
* {{tl|lorem ipsum span}}
==Template data==
{{TemplateData header}}
<templatedata>
{
"description": "This template generates a filler text for test purposes. Text generated is the well-known \"Lorem ipsum\" passage, which is gibberish that somewhat resembles Latin. There are 10 distinct paragraphs.",
"params": {
"1": {
"label": "Number of paragraphs",
"description": "Number of paragraphs to be shown.",
"type": "number",
"suggested": true,
"default": "1"
},
"2": {
"label": "Paragraph prefix",
"description": "Wikicode or text to prefix to each paragraph. For example, specifying * ( causes each paragraph to become a bullet list and start with an opening parenthesis.",
"type": "unbalanced-wikitext"
},
"3": {
"label": "Paragraph suffix",
"description": "Wikicode or text to suffix to each paragraph. For example, specifying ) causes each paragraph to end with a closing parenthesis.",
"type": "unbalanced-wikitext"
},
"4": {
"aliases": [
"link"
],
"label": "Link to [[Lorem ipsum]]?",
"description": "Setting this parameter to \"yes\" causes a link to the \"Lorem ipsum\" article to appear.",
"type": "boolean"
},
"join": {
"label": "Join all output into one paragraph?",
"description": "Setting this parameter to \"yes\" causes all output to go into one paragraph.",
"type": "boolean",
"default": "no"
},
"cat": {
"label": "Add to category \"Wikipedia articles containing placeholders\"?",
"description": "Setting this parameter to \"no\" prevents the page from being added to [[Category:Wikipedia articles containing placeholders]].",
"type": "boolean",
"default": "yes"
}
}
}
</templatedata>
<includeonly>{{Sandbox other||
<!-- Categories are placed below this line: -->
{{DEFAULTSORT:Lorem ipsum}}
[[Category:Placeholder templates]]
}}</includeonly>
kgh1nc5w2czh67que026uajyhoqmjjw
ᥛᥨᥝᥱ ᥓᥧᥰ:Lorem ipsum
828
1720
6340
2025-07-03T03:17:37Z
Saimawnkham
28
Created page with "local yn = require("Module:Yesno") return { main = function(frame) local args = require("Module:Arguments").getArgs(frame) local data = args["data"] and mw.loadData(args["data"]) or mw.loadData("Module:Lorem_ipsum/data") local paragraphs = {} for k,v in ipairs(data) do table.insert(paragraphs, v) end local out = '' local link = yn(args["link"]) or yn(args[4]) or false local join = yn(args["join"]) or false local joinprefixsuffix = yn(args["joinprefi..."
6340
Scribunto
text/plain
local yn = require("Module:Yesno")
return {
main = function(frame)
local args = require("Module:Arguments").getArgs(frame)
local data = args["data"] and mw.loadData(args["data"]) or mw.loadData("Module:Lorem_ipsum/data")
local paragraphs = {}
for k,v in ipairs(data) do
table.insert(paragraphs, v)
end
local out = ''
local link = yn(args["link"]) or yn(args[4]) or false
local join = yn(args["join"]) or false
local joinprefixsuffix = yn(args["joinprefixsuffix"]) or false
local cat = yn(args["cat"]) or true
local count = tonumber(args[1] or 1)
local i = 1
if join and (not joinprefixsuffix) then
out = out .. (args["prefix"] or args[2] or "")
end
while i <= count do
if (not join) or joinprefixsuffix then
out = out .. (args["prefix"] or args[2] or "\n")
end
out = out .. mw.ustring.format(paragraphs[math.mod(i - 1, #paragraphs) + 1], (link and "link" or ""))
if not join then
out = out .. (args["suffix"] or args[3] or "") .. "\n"
else
if joinprefixsuffix then
out = out .. (args["suffix"] or args[3] or "")
end
out = out .. (i == count and "" or " ")
end
link = false
i = i + 1
end
if join and (not joinprefixsuffix) then
out = out .. (args["suffix"] or args[3] or "")
end
if cat and mw.title.getCurrentTitle().namespace == 0 and not mw.isSubsting() then
out = out .. "[[Category:Wikipedia articles containing placeholders]]"
end
return frame:preprocess(out)
end,
oneParagraph = function(frame)
local args = require("Module:Arguments").getArgs(frame)
local data = args["data"] and mw.loadData(args["data"]) or mw.loadData("Module:Lorem_ipsum/data")
local paragraphs = {}
for k,v in ipairs(data) do
table.insert(paragraphs, v)
end
local i = tonumber(args[1] or 1)
local link = yn(args["link"])
local paragraph = paragraphs[math.mod(i - 1, #paragraphs) + 1]
local out = ""
if cat and mw.title.getCurrentTitle().namespace == 0 and not mw.isSubsting() then
out = out .. "[[Category:Wikipedia articles containing placeholders]]"
end
out = out .. mw.ustring.format(paragraph, (link and "link" or ""))
out = frame:preprocess(out)
local maxLen = tonumber(args["max len"] or mw.ustring.len(out))
return mw.ustring.sub(out, 1, maxLen)
end
}
6a3ro4152qvp2tq0q7wfb9vgfqh6vcl
ᥛᥨᥝᥱ ᥓᥧᥰ:Lorem ipsum/data
828
1721
6341
2025-07-03T03:21:10Z
Saimawnkham
28
Created page with "--<nowiki> return { "{{safesubst:#if:%s|[[Lorem ipsum]]|Lorem ipsum}} dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserun..."
6341
Scribunto
text/plain
--<nowiki>
return {
"{{safesubst:#if:%s|[[Lorem ipsum]]|Lorem ipsum}} dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
"Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.",
"Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.",
"Proin nonummy, lacus eget pulvinar lacinia, pede felis dignissim leo, vitae tristique magna lacus sit amet eros. Nullam ornare. Praesent odio ligula, dapibus sed, tincidunt eget, dictum ac, nibh. Nam quis lacus. Nunc eleifend molestie velit. Morbi lobortis quam eu velit. Donec euismod vestibulum massa. Donec non lectus. Aliquam commodo lacus sit amet nulla. Cras dignissim elit et augue. Nullam non diam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In hac habitasse platea dictumst. Aenean vestibulum. Sed lobortis elit quis lectus. Nunc sed lacus at augue bibendum dapibus.",
"Aliquam vehicula sem ut pede. Cras purus lectus, egestas eu, vehicula at, imperdiet sed, nibh. Morbi consectetuer luctus felis. Donec vitae nisi. Aliquam tincidunt feugiat elit. Duis sed elit ut turpis ullamcorper feugiat. Praesent pretium, mauris sed fermentum hendrerit, nulla lorem iaculis magna, pulvinar scelerisque urna tellus a justo. Suspendisse pulvinar massa in metus. Duis quis quam. Proin justo. Curabitur ac sapien. Nam erat. Praesent ut quam.",
"Vivamus commodo, augue et laoreet euismod, sem sapien tempor dolor, ac egestas sem ligula quis lacus. Donec vestibulum tortor ac lacus. Sed posuere vestibulum nisl. Curabitur eleifend fermentum justo. Nullam imperdiet. Integer sit amet mauris imperdiet risus sollicitudin rutrum. Ut vitae turpis. Nulla facilisi. Quisque tortor velit, scelerisque et, facilisis vel, tempor sed, urna. Vivamus nulla elit, vestibulum eget, semper et, scelerisque eget, lacus. Pellentesque viverra purus. Quisque elit. Donec ut dolor.",
"Duis volutpat elit et erat. In at nulla at nisl condimentum aliquet. Quisque elementum pharetra lacus. Nunc gravida arcu eget nunc. Nulla iaculis egestas magna. Aliquam erat volutpat. Sed pellentesque orci. Etiam lacus lorem, iaculis sit amet, pharetra quis, imperdiet sit amet, lectus. Integer quis elit ac mi aliquam pretium. Nullam mauris orci, porttitor eget, sollicitudin non, vulputate id, risus. Donec varius enim nec sem. Nam aliquam lacinia enim. Quisque eget lorem eu purus dignissim ultricies. Fusce porttitor hendrerit ante. Mauris urna diam, cursus id, mattis eget, tempus sit amet, risus. Curabitur eu felis. Sed eu mi. Nullam lectus mauris, luctus a, mattis ac, tempus non, leo. Cras mi nulla, rhoncus id, laoreet ut, ultricies id, odio.",
"Donec imperdiet. Vestibulum auctor tortor at orci. Integer semper, nisi eget suscipit eleifend, erat nisl hendrerit justo, eget vestibulum lorem justo ac leo. Integer sem velit, pharetra in, fringilla eu, fermentum id, felis. Vestibulum sed felis. In elit. Praesent et pede vel ante dapibus condimentum. Donec magna. Quisque id risus. Mauris vulputate pellentesque leo. Duis vulputate, ligula at venenatis tincidunt, orci nunc interdum leo, ac egestas elit sem ut lacus. Etiam non diam quis arcu egestas commodo. Curabitur nec massa ac massa gravida condimentum. Aenean id libero. Pellentesque vitae tellus. Fusce lectus est, accumsan ac, bibendum sed, porta eget, augue. Etiam faucibus. Quisque tempus purus eu ante.",
"Vestibulum sapien nisl, ornare auctor, consectetuer quis, posuere tristique, odio. Fusce ultrices ullamcorper odio. Ut augue nulla, interdum at, adipiscing non, tristique eget, neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Ut pede est, condimentum id, scelerisque ac, malesuada non, quam. Proin eu ligula ac sapien suscipit blandit. Suspendisse euismod. Ut accumsan, neque id gravida luctus, arcu pede sodales felis, vel blandit massa arcu eget ligula. Aenean sed turpis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec sem eros, ornare ut, commodo eu, tempor nec, risus. Donec laoreet dapibus ligula. Praesent orci leo, bibendum nec, ornare et, nonummy in, elit. Donec interdum feugiat leo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque feugiat ullamcorper ipsum. Donec convallis tincidunt urna.",
"Suspendisse et orci et arcu porttitor pellentesque. Sed lacus nunc, fermentum vel, vehicula in, imperdiet eget, urna. Nam consectetuer euismod nunc. Nulla dignissim posuere nulla. Integer iaculis lacinia massa. Nullam sapien augue, condimentum vel, venenatis id, rhoncus pellentesque, sapien. Donec sed ipsum ultrices turpis consectetuer imperdiet. Duis et ipsum ac nisl laoreet commodo. Mauris eu est. Suspendisse id turpis quis orci euismod consequat. Donec tellus mi, luctus sit amet, ultrices a, convallis eu, lorem. Proin faucibus convallis elit. Maecenas rhoncus arcu at arcu. Proin libero. Proin adipiscing. In quis lorem vitae elit consectetuer pretium. Nullam ligula urna, adipiscing nec, iaculis ut, elementum non, turpis. Fusce pulvinar.",
}
--</nowiki>
byjgx57wqk698ayn134dpkwawy4zpww
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lipsum
10
1722
6342
2025-07-03T03:21:37Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum]]
6342
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum]]
t0w58hbqoct7ohi1jvegt5livy7ope5
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem
10
1723
6343
2025-07-03T03:21:41Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum]]
6343
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum]]
t0w58hbqoct7ohi1jvegt5livy7ope5
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Loremipsum
10
1724
6344
2025-07-03T03:21:45Z
Saimawnkham
28
Redirected page to [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum]]
6344
wikitext
text/x-wiki
#REDIRECT [[ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lorem ipsum]]
t0w58hbqoct7ohi1jvegt5livy7ope5
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Block indent/styles.css
10
1725
6345
2025-07-03T03:22:10Z
Saimawnkham
28
Created page with "/* {{pp|small=yes}} */ .block-indent { padding-left: 3em; padding-right: 0; overflow: hidden; }"
6345
sanitized-css
text/css
/* {{pp|small=yes}} */
.block-indent {
padding-left: 3em;
padding-right: 0;
overflow: hidden;
}
nfitosdxrisv7d8vbx8wjpk5z3nyqgb