<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pttlink.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATbc%2Fdoc</id>
	<title>Template:Tbc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pttlink.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATbc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:Tbc/doc&amp;action=history"/>
	<updated>2026-05-04T18:45:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Template:Tbc/doc&amp;diff=11027&amp;oldid=prev</id>
		<title>Kg7qin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:Tbc/doc&amp;diff=11027&amp;oldid=prev"/>
		<updated>2022-01-24T07:59:22Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:59, 24 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kg7qin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Template:Tbc/doc&amp;diff=11026&amp;oldid=prev</id>
		<title>Mediawiki&gt;ShakespeareFan00 at 21:58, 10 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:Tbc/doc&amp;diff=11026&amp;oldid=prev"/>
		<updated>2021-01-10T21:58:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TemplateBox&lt;br /&gt;
|1def=&amp;amp;nbsp;5 &amp;lt;ref name=&amp;quot;m&amp;quot;&amp;gt;(value when missing)&amp;lt;/ref&amp;gt; &lt;br /&gt;
|2def=&amp;amp;nbsp;0 &amp;lt;ref name=&amp;quot;m&amp;quot;/&amp;gt; &lt;br /&gt;
|3def=&amp;amp;nbsp;0 &amp;lt;ref name=&amp;quot;m&amp;quot;/&amp;gt; &lt;br /&gt;
|4def=&amp;amp;nbsp;0 &amp;lt;ref name=&amp;quot;m&amp;quot;/&amp;gt; &lt;br /&gt;
|1=1&lt;br /&gt;
|1stat=required &lt;br /&gt;
|1d=specifies whether it is the first, a medium or the last line of the table&lt;br /&gt;
:&amp;lt;small&amp;gt;bit 1 (0001) on: first line&amp;lt;/small&amp;gt;&lt;br /&gt;
:&amp;lt;small&amp;gt;bit 2 (0010) on (checked only when bit 1 is on): first line with header&amp;lt;/small&amp;gt;&lt;br /&gt;
:&amp;lt;small&amp;gt;bit 4 (0100) on: last line&amp;lt;/small&amp;gt;&lt;br /&gt;
:&amp;lt;small&amp;gt;bit 8 (1000) on (checked only when bit 1 is on): first line with {{T0|Information field|field name}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*0{{0}} (0000) medium line&lt;br /&gt;
*1{{0}} (0001) first line&lt;br /&gt;
*3{{0}} (0011) first line with header&lt;br /&gt;
*4{{0}} (0100) last line&lt;br /&gt;
*5{{0}} (0101) only line (1{{exp|st}} ''and'' last = single line)&lt;br /&gt;
*7{{0}} (0111) only line with header&lt;br /&gt;
*9{{0}} (1001) first line with field name&lt;br /&gt;
*&amp;lt;tt&amp;gt;D&amp;lt;/tt&amp;gt;{{0}} (1101) ''or''&lt;br /&gt;
*13 (1101) single line with field name&lt;br /&gt;
|2=2&lt;br /&gt;
|2stat=required  &lt;br /&gt;
|2d=decimal color code for red, value 0 to 255&lt;br /&gt;
|3=3&lt;br /&gt;
|3stat=required  &lt;br /&gt;
|3d=decimal color code for green, value 0 to 255&lt;br /&gt;
|4=4&lt;br /&gt;
|4stat=required  &lt;br /&gt;
|4d=decimal color code for blue, value 0 to 255&lt;br /&gt;
|5=5&lt;br /&gt;
|5d=descriptive color name (&amp;lt;u&amp;gt;not&amp;lt;/u&amp;gt; {{W|Web colors#HTML color names|HTML}} or {{W|Pantone Matching System#Pantone Color Matching System|PMS}} color name)&lt;br /&gt;
|6=6&lt;br /&gt;
|6d=Pantone name (if any) &amp;lt;small&amp;gt;(like &amp;quot;9010 Pure White&amp;quot; or &amp;quot;9005 Jet Black&amp;quot;)&amp;lt;/small&amp;gt;&lt;br /&gt;
|6stat=optional-&lt;br /&gt;
|7=''text''&lt;br /&gt;
|7d=other header text than from the translation template {{T0|I18n/Colors}}&lt;br /&gt;
|7stat=optional-&lt;br /&gt;
|8=''option''&lt;br /&gt;
|8d=more table header option parameters (see example 6)&lt;br /&gt;
|8stat=optional-&lt;br /&gt;
|9=''style''&lt;br /&gt;
|9d=more table header style parameters&lt;br /&gt;
|9stat=optional-&lt;br /&gt;
&lt;br /&gt;
|10=file&lt;br /&gt;
|10d=name of a file to be displayed right&lt;br /&gt;
|10def=&amp;lt;small&amp;gt;PAGENAME&amp;lt;/small&amp;gt;&lt;br /&gt;
|10stat=optional-&lt;br /&gt;
|11=size&lt;br /&gt;
|11d=display size for that file&lt;br /&gt;
|11def=48&lt;br /&gt;
|11stat=optional-&lt;br /&gt;
|12=desc&lt;br /&gt;
|12d=descriptional text&lt;br /&gt;
|12stat=optional-&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
|13=bord&lt;br /&gt;
|13d=options&lt;br /&gt;
|13stat=optional-&lt;br /&gt;
&lt;br /&gt;
|14=easy&lt;br /&gt;
|14d=use of {{T0|Easy border}}&lt;br /&gt;
|14stat=optional-  &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|15=pixel&lt;br /&gt;
|15d=display size for {{T0|Easy border}}&lt;br /&gt;
|15def=96&lt;br /&gt;
&lt;br /&gt;
|name={{BASEPAGENAME}}&lt;br /&gt;
|desc='''T'''a'''b'''le for '''c'''olors &amp;lt;small&amp;gt;(''not'' an {{W|International Statistical Classification of Diseases and Related Health Problems|IDC-10}} disease)&amp;lt;/small&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Creates a table to describe the colors, for [[File talk:Flag of France.svg |flags]] or other colored items&amp;lt;br&amp;gt;May be within another table, as a files {{Tl|Information}} box or the {{Tl|Infobox flag}} description ({{F|Flag of Germany.svg#Description|example}})&amp;lt;br&amp;gt;The displayed color box is {{W|Tooltip|tooltipped}} to show the #rrggbb- or #rgb-color code.&lt;br /&gt;
&lt;br /&gt;
{{Nobold|1=&amp;lt;small&amp;gt;For the R/G/B-values is the &amp;lt;u&amp;gt;decimal&amp;lt;/u&amp;gt; notation required, because it is easy to convert decimal to hexadecimal, but very laborious to convert from hexadecimal (see [[#With Igen]]).&amp;lt;br&amp;gt;The hexadecimal values are displayed when the cursor is moved to the box.&amp;lt;/small&amp;gt; }}&lt;br /&gt;
|namespace=all&lt;br /&gt;
|usergroup=all&lt;br /&gt;
|placement=&lt;br /&gt;
|usage-notes=&amp;lt;big&amp;gt;'''Best usage''' is within the {{Tl|Information}} description of the file, using the parameter ''other_fields'' ({{F|Germany Gay flag.svg#Summary|example}}).&amp;lt;br&amp;gt;Use &amp;lt;code&amp;gt;bit 8&amp;lt;/code&amp;gt; to create a &amp;lt;tt&amp;gt;field name&amp;lt;/tt&amp;gt;, either with &amp;lt;code&amp;gt;text=&amp;lt;/code&amp;gt; or the defaults of {{Tl|I18n/Colors}};&amp;lt;br&amp;gt; &lt;br /&gt;
otherwise see more about how to use at the documentation of {{Tl|Information field}}. &amp;lt;/big&amp;gt;&lt;br /&gt;
|type=|example=&lt;br /&gt;
|i18n-method=-&lt;br /&gt;
|i18n-desc=&lt;br /&gt;
|seealso=&lt;br /&gt;
|setscats=&lt;br /&gt;
|lines=&lt;br /&gt;
|shorthand=&lt;br /&gt;
|relieson=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
=== With Igen ===&lt;br /&gt;
{{Lua|Module:Color2dec|Module:Tincture}}To use it with the templates {{T0|Image generation}} or {{T0|ColorString}}, {{T0|Igen/cbx}} uses {{C|Modules for general use|Lua modules}} to convert the color codes from hex to dec.&amp;lt;br&amp;gt;Special values for Tbc-parameter 1 allow to separate table initiation (code B, and F for single line) and termination (code 6), &amp;lt;br&amp;gt;while ''all'' table rows are specified as &amp;quot;medium lines&amp;quot; (code 0). The default {{T0|InFi|field name}} is always generated.&lt;br /&gt;
&amp;lt;br&amp;gt;See the description at [[Template:Image generation#Tbc]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;u&amp;gt;Examples:&amp;lt;/u&amp;gt;&lt;br /&gt;
1. One line&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|5|186|31|181|violet|Purple}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Tbc|5|186|31|181|violet|Purple}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|7}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Tbc|7}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Two lines &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|1|0|115|54|green|356}}&lt;br /&gt;
{{Tbc|4|0|153|68|green|452-2x}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Tbc|1|0|115|54|green|356}}&lt;br /&gt;
{{Tbc|4|0|153|68|green|452-2x}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|3|237|41|35|red}}&lt;br /&gt;
{{Tbc|4|255|255|255|white}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Tbc|3|237|41|35|red}}&lt;br /&gt;
{{Tbc|4|255|255|255|white}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Three lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|1|0|146|70|green|17-6153}}&lt;br /&gt;
{{Tbc|0|255|255|255|white|11-0601}}&lt;br /&gt;
{{Tbc|4|206|43|55|red|18-1662}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Tbc|1|0|146|70|green|17-6153}}&lt;br /&gt;
{{Tbc|0|255|255|255|white|11-0601}}&lt;br /&gt;
{{Tbc|4|206|43|55|red|18-1662}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|3|232|125|13|&amp;lt;small&amp;gt;orange&amp;lt;/small&amp;gt;|&amp;amp;nbsp;716&lt;br /&gt;
|text='''Colour''' values|file=Flag of Niger.svg|size=96|desc=3-colored flag}}&lt;br /&gt;
{{Tbc|0|0|146|70|&amp;lt;small&amp;gt;green&amp;lt;/small&amp;gt;|17-6153}}&lt;br /&gt;
{{Tbc|4|255|255|255|white|11-0601}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Tbc|3|232|125|13|&amp;lt;small&amp;gt;orange&amp;lt;/small&amp;gt;|{{0|00-}}716|text='''Colour''' values&lt;br /&gt;
|file=Flag of Niger.svg|size=96|desc=3-colored flag}}&lt;br /&gt;
{{Tbc|0|0|146|70|&amp;lt;small&amp;gt;green&amp;lt;/small&amp;gt;|17-6153}}&lt;br /&gt;
{{Tbc|4|255|255|255|white|11-0601}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. with ''field name''&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Information&lt;br /&gt;
|description=description&lt;br /&gt;
|date=2013-01-24&lt;br /&gt;
|source={{Own}}&lt;br /&gt;
|author={{Ut|Example|Author name}}&lt;br /&gt;
|other versions=&lt;br /&gt;
|other fields={{Tbc|9|0|102|153|blue|text=Wikimedia colors&amp;lt;br&amp;gt;{{nobold|(&amp;quot;websave colors)}&lt;br /&gt;
  |file=Wikitech logo-blank.svg|size=80|desc=WikiTech}} &lt;br /&gt;
{{Tbc|0|255|255|255|white}} {{Tbc|0|0|153|102|green}} {{Tbc|4|153|0|0|red}}&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Information&lt;br /&gt;
|description=description&lt;br /&gt;
|date=2013-01-24 &amp;lt;!-- * Andrea --&amp;gt;&lt;br /&gt;
|source={{Own}}&lt;br /&gt;
|author={{Ut|Example|Author name}}&lt;br /&gt;
|other versions=&lt;br /&gt;
|other fields={{Tbc|9|0|102|153|blue|text=Wikimedia colors&amp;lt;br&amp;gt;{{nobold|(&amp;quot;websave&amp;quot; colors)}}&lt;br /&gt;
  |file=Wikitech logo-blank.svg|size=80|desc=WikiTech}} &lt;br /&gt;
{{Tbc|0|255|255|255|white}} {{Tbc|0|0|153|102|green}} {{Tbc|4|153|0|0|red}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. with ''[[Template:InFi|Other fields]]'' and ''[[Template:Information field]]''&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Information&lt;br /&gt;
|description=description&lt;br /&gt;
|date=2011-11-11&lt;br /&gt;
|source={{Own}}&lt;br /&gt;
|author={{Ut|Example|Author name}}&lt;br /&gt;
|other versions=&lt;br /&gt;
|other fields={{InFi|Gay colors|&lt;br /&gt;
{{Tbc|1|228|3|3|red}}&lt;br /&gt;
{{Tbc|0|255|140|0|orange}}&lt;br /&gt;
{{Tbc|0|255|237|0|yellow}}&lt;br /&gt;
{{Tbc|0|0|128|38|green}}&lt;br /&gt;
{{Tbc|0|0|77|255|blue}}&lt;br /&gt;
{{Tbc|4|117|7|135|purple}}&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Information&lt;br /&gt;
|description=description&lt;br /&gt;
|date=2011-11-11&lt;br /&gt;
|source={{Own}}&lt;br /&gt;
|author={{Ut|Example|Author name}}&lt;br /&gt;
|other versions=&lt;br /&gt;
|other fields={{InFi|Gay colors|&lt;br /&gt;
{{Tbc|1|228|3|3|red}}&lt;br /&gt;
{{Tbc|0|255|140|0|orange}}&lt;br /&gt;
{{Tbc|0|255|237|0|yellow}}&lt;br /&gt;
{{Tbc|0|0|128|38|green}}&lt;br /&gt;
{{Tbc|0|0|77|255|blue}}&lt;br /&gt;
{{Tbc|4|117|7|135|purple}} }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. with an option&lt;br /&gt;
{{Tbc|1|204|0|204|purple|option=align=right}}&lt;br /&gt;
{{Tbc|4|0|0|255|blue}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Tbc|1|204|0|204|purple|option=align=right}}&lt;br /&gt;
{{Tbc|4|0|0|255|blue}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Anchor|Colorstring}}&lt;br /&gt;
7. 2 examples: {{T|Tbc}} with {{T|ColorString}} &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{Information&lt;br /&gt;
|description=Wikimedia colors{{ColorString| /-/#069/wm blue/#096/wm green/#900/wm red}}&lt;br /&gt;
|other fields 1={{ColorString| /T/#FFFFFF/white}}&lt;br /&gt;
|date=2019-8-4 &lt;br /&gt;
|source={{Own}}&lt;br /&gt;
|author={{Ut|Example|Author name}}&lt;br /&gt;
|other fields={{Igen|U|+|cb=/T/LightSalmon//DarkTurquoise}}&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color:#dfd;width:60%;&amp;quot;&amp;gt;Specify instead of &amp;quot;&amp;lt;tt&amp;gt;cb=/T/...&amp;lt;/tt&amp;gt;&amp;quot; the parameter &amp;quot;&amp;lt;tt&amp;gt;cb='''e'''/T/...&amp;lt;/tt&amp;gt;&amp;quot; for the option {{T|Easy border}}.&amp;lt;/div&amp;gt;&lt;br /&gt;
{{Information&lt;br /&gt;
|description=Wikimedia colors{{ColorString| /-/#069/wm blue/#096/wm green/#900/wm red}}&lt;br /&gt;
|other fields 1={{ColorString| /T/#FFFFFF/white}}&lt;br /&gt;
|date=2019-8-4 &lt;br /&gt;
|source={{Own}}&lt;br /&gt;
|author={{Ut|Example|Author name}}&lt;br /&gt;
|other fields={{Igen|U|+|cb=/T/LightSalmon//DarkTurquoise}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*{{W|Web colors}} for colors (names etc.)&lt;br /&gt;
*[http://www.netfront.fr/Services/rgb2pantone/ convert RGB to Pantone] (works only for some colors)&lt;br /&gt;
*[http://www.pantone.com/pages/pantone/colorfinder.aspx find Pantone color]&lt;br /&gt;
*Template {{Tl|Tincture}} for coats of arms&lt;br /&gt;
*Template {{Tl|Color}} for {{Color|#F0F|'''text'''}} and {{Color||''background''|bg=#ece}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Color text formatting templates| ]]&lt;br /&gt;
[[Category:Colorbox formatting templates| ]]&lt;br /&gt;
[[Category:Table formatting templates| ]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mediawiki&gt;ShakespeareFan00</name></author>
	</entry>
</feed>