<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://idugov.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=122.62.207.109</id>
	<title>IDU Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://idugov.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=122.62.207.109"/>
	<link rel="alternate" type="text/html" href="https://idugov.com/wiki/Special:Contributions/122.62.207.109"/>
	<updated>2026-05-26T05:38:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://idugov.com/w/index.php?title=Template:Legend/doc&amp;diff=27398</id>
		<title>Template:Legend/doc</title>
		<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Template:Legend/doc&amp;diff=27398"/>
		<updated>2020-12-19T23:45:24Z</updated>

		<summary type="html">&lt;p&gt;122.62.207.109: Undid revision 995240054 by 122.62.207.109 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----&amp;gt;&lt;br /&gt;
{{High-use|17355.142857142857142857142857142857142857142857142857142857142857142857}}&lt;br /&gt;
{{Uses TemplateStyles|Template:Legend/styles.css}}&lt;br /&gt;
Shows a legend row with a colored box.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;legend|''background-color''|''caption''|outline=''outline color''|border=''css border''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''background-color'' is passed to the [[Cascading Style Sheets|css]] background-color property of the color box.&lt;br /&gt;
*The optional ''outline'' parameter is the color of the outline around the box.&lt;br /&gt;
*The optional ''border'' argument which overrides the ''outline'' argument and sets the css description (e.g., &amp;lt;code&amp;gt;1px solid #aaa&amp;lt;/code&amp;gt;) of the border that will be drawn around the box.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Use in text===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{legend|black|Africa}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{legend|green|Americas}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{legend|blue|Oceania}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{legend|#ffa|Europe|outline=silver}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{legend|#ff2800|Asia|outline=#A2A9B1}}&amp;lt;/nowiki&amp;gt;  &amp;lt;small&amp;gt;&amp;lt;span style=&amp;quot;color:gray&amp;quot;&amp;gt;''(#A2A9B1 is the [[Help:Basic table markup|wikitables]] border color.)''&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{legend|black|Africa}}&lt;br /&gt;
{{legend|green|Americas}}&lt;br /&gt;
{{legend|blue|Oceania}}&lt;br /&gt;
{{legend|#ffa|Europe|outline=silver}}&lt;br /&gt;
{{legend|#ff2800|Asia|outline=#A2A9B1}}&lt;br /&gt;
&lt;br /&gt;
===Use in captions===&lt;br /&gt;
{{markup|&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 [[File:Celts in Europe.png|upright=.9|thumb|right|The Celts in Europe, past and present:&lt;br /&gt;
 {{legend|#1a8000|Present-day Celtic-speaking areas}}&lt;br /&gt;
 {{legend|#27c600|Other parts of the six most commonly recognized &amp;quot;Celtic nations&amp;quot; and where a Celtic language is spoken but not the dominating language}}&lt;br /&gt;
 {{legend|#97ffb6|Other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture}}&lt;br /&gt;
 {{legend|#D2FFD2|Lusitanian area of Iberia, &amp;quot;Celticity&amp;quot; uncertain}}&lt;br /&gt;
 {{legend|yellow|The core Hallstatt territory, expansion before 500 BC}}&lt;br /&gt;
 ]]&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
[[File:Celts in Europe.png|upright=.9|thumb|right|The Celts in Europe, past and present:&lt;br /&gt;
{{legend|#1a8000|Present-day Celtic-speaking areas}}&lt;br /&gt;
{{legend|#27c600|Other parts of the six most commonly recognized &amp;quot;Celtic nations&amp;quot; and where a Celtic language is spoken but not the dominating language}}&lt;br /&gt;
{{legend|#97ffb6|Other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture}}&lt;br /&gt;
{{legend|#D2FFD2|Lusitanian area of Iberia, &amp;quot;Celticity&amp;quot; uncertain}}&lt;br /&gt;
{{legend|yellow|The core Hallstatt territory, expansion before 500 BC}}]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Full parameter list==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{legend&lt;br /&gt;
| [legend box's colo(u)r]&lt;br /&gt;
| [text following legend box]&lt;br /&gt;
| outline =  &amp;lt;!--colo(u)r of border around legend box--&amp;gt;&lt;br /&gt;
| border =   &amp;lt;!--use to specify custom CSS styling for border (overrides 'outline')--&amp;gt;&lt;br /&gt;
| color =    &amp;lt;!--colo(u)r of 'text'--&amp;gt;&lt;br /&gt;
| size =     &amp;lt;!--'text' font-size--&amp;gt;&lt;br /&gt;
| text =     &amp;lt;!--to place text inside the legend box--&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Variant blocks&lt;br /&gt;
**{{tl|legend striped}}, two colors, for striped color areas&lt;br /&gt;
**{{tl|legend inline}}, uses ''display:inline'' to avoid line breaks after each legend&lt;br /&gt;
**{{tl|legend0}}, without the line-feed&lt;br /&gt;
**{{tl|legend2}}, without block formatting&lt;br /&gt;
**{{tl|legend4}}, with indented block formatting&lt;br /&gt;
**{{tl|leftlegend}}, with text-align set to left&lt;br /&gt;
**{{tl|color box}} and {{tl|RouteBox}}, with text placed inside the colored legend and article linking&lt;br /&gt;
*{{tl|legend-line}}, legends for lines&lt;br /&gt;
*[[Web colors]]&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Legend templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The color for the legend entry, in any CSS format&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;\&amp;quot;#6D6E00\&amp;quot;, \&amp;quot;#ffa\&amp;quot;, \&amp;quot;yellow\&amp;quot;&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Caption&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Label for the legend entry&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;\&amp;quot;soda\&amp;quot; is most common&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;border&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;CSS border style&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS style for the legend entry's border&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;outline&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Entry outline&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS color for the outline of the legend entry&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;silver&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;text&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text in the entry&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Text to be displayed in the legend entry box, i.e. within the color specified&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Af&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;textcolor&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS color of text inside the legend's colored box&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;size&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Font size of the legend entry, including colored box&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Shows a legend row with a colored box and a caption.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>122.62.207.109</name></author>
	</entry>
	<entry>
		<id>https://idugov.com/w/index.php?title=Template:Legend/doc&amp;diff=27397</id>
		<title>Template:Legend/doc</title>
		<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Template:Legend/doc&amp;diff=27397"/>
		<updated>2020-12-19T23:44:55Z</updated>

		<summary type="html">&lt;p&gt;122.62.207.109: /* Use in text */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----&amp;gt;&lt;br /&gt;
{{High-use|17355.142857142857142857142857142857142857142857142857142857142857142857}}&lt;br /&gt;
{{Uses TemplateStyles|Template:Legend/styles.css}}&lt;br /&gt;
Shows a legend row with a colored box.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;legend|''background-color''|''caption''|outline=''outline color''|border=''css border''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''background-color'' is passed to the [[Cascading Style Sheets|css]] background-color property of the color box.&lt;br /&gt;
*The optional ''outline'' parameter is the color of the outline around the box.&lt;br /&gt;
*The optional ''border'' argument which overrides the ''outline'' argument and sets the css description (e.g., &amp;lt;code&amp;gt;1px solid #aaa&amp;lt;/code&amp;gt;) of the border that will be drawn around the box.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{{legend|#5C2C1D|Christian Coalition: 6 seats}} {{legend|#ED0827|American Republican Party: 28 seats}} {{legend|#FF5964|Conscience Republicans: 8 seats}} {{legend|#F7FF06|Libertarian Party: 6 seats}} {{legend|#962C84|New Whig Party: 22 seats}} {{legend|#0B006B|Blue Dog Party: 5 seats}} {{legend|#1332FF|Stalwart Democratic Party: 14 seats}} {{legend|#71A9E9|Justice Democrats: 19 seats}} {{legend|#037B03|Socialist Alliance: 10 seats}} {{legend|#FF6600|Rockefeller Party: 1 seat}}&lt;br /&gt;
&lt;br /&gt;
===Use in captions===&lt;br /&gt;
{{markup|&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 [[File:Celts in Europe.png|upright=.9|thumb|right|The Celts in Europe, past and present:&lt;br /&gt;
 {{legend|#1a8000|Present-day Celtic-speaking areas}}&lt;br /&gt;
 {{legend|#27c600|Other parts of the six most commonly recognized &amp;quot;Celtic nations&amp;quot; and where a Celtic language is spoken but not the dominating language}}&lt;br /&gt;
 {{legend|#97ffb6|Other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture}}&lt;br /&gt;
 {{legend|#D2FFD2|Lusitanian area of Iberia, &amp;quot;Celticity&amp;quot; uncertain}}&lt;br /&gt;
 {{legend|yellow|The core Hallstatt territory, expansion before 500 BC}}&lt;br /&gt;
 ]]&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
[[File:Celts in Europe.png|upright=.9|thumb|right|The Celts in Europe, past and present:&lt;br /&gt;
{{legend|#1a8000|Present-day Celtic-speaking areas}}&lt;br /&gt;
{{legend|#27c600|Other parts of the six most commonly recognized &amp;quot;Celtic nations&amp;quot; and where a Celtic language is spoken but not the dominating language}}&lt;br /&gt;
{{legend|#97ffb6|Other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture}}&lt;br /&gt;
{{legend|#D2FFD2|Lusitanian area of Iberia, &amp;quot;Celticity&amp;quot; uncertain}}&lt;br /&gt;
{{legend|yellow|The core Hallstatt territory, expansion before 500 BC}}]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Full parameter list==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{legend&lt;br /&gt;
| [legend box's colo(u)r]&lt;br /&gt;
| [text following legend box]&lt;br /&gt;
| outline =  &amp;lt;!--colo(u)r of border around legend box--&amp;gt;&lt;br /&gt;
| border =   &amp;lt;!--use to specify custom CSS styling for border (overrides 'outline')--&amp;gt;&lt;br /&gt;
| color =    &amp;lt;!--colo(u)r of 'text'--&amp;gt;&lt;br /&gt;
| size =     &amp;lt;!--'text' font-size--&amp;gt;&lt;br /&gt;
| text =     &amp;lt;!--to place text inside the legend box--&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Variant blocks&lt;br /&gt;
**{{tl|legend striped}}, two colors, for striped color areas&lt;br /&gt;
**{{tl|legend inline}}, uses ''display:inline'' to avoid line breaks after each legend&lt;br /&gt;
**{{tl|legend0}}, without the line-feed&lt;br /&gt;
**{{tl|legend2}}, without block formatting&lt;br /&gt;
**{{tl|legend4}}, with indented block formatting&lt;br /&gt;
**{{tl|leftlegend}}, with text-align set to left&lt;br /&gt;
**{{tl|color box}} and {{tl|RouteBox}}, with text placed inside the colored legend and article linking&lt;br /&gt;
*{{tl|legend-line}}, legends for lines&lt;br /&gt;
*[[Web colors]]&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Legend templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The color for the legend entry, in any CSS format&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;\&amp;quot;#6D6E00\&amp;quot;, \&amp;quot;#ffa\&amp;quot;, \&amp;quot;yellow\&amp;quot;&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Caption&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Label for the legend entry&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;\&amp;quot;soda\&amp;quot; is most common&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;border&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;CSS border style&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS style for the legend entry's border&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;outline&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Entry outline&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS color for the outline of the legend entry&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;silver&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;text&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text in the entry&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Text to be displayed in the legend entry box, i.e. within the color specified&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Af&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;textcolor&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS color of text inside the legend's colored box&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;size&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Font size of the legend entry, including colored box&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Shows a legend row with a colored box and a caption.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>122.62.207.109</name></author>
	</entry>
</feed>