<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deeppolitics.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ALegend%2Fdoc</id>
	<title>Template:Legend/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deeppolitics.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ALegend%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://deeppolitics.org/index.php?title=Template:Legend/doc&amp;action=history"/>
	<updated>2026-12-01T07:18:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://deeppolitics.org/index.php?title=Template:Legend/doc&amp;diff=32620&amp;oldid=prev</id>
		<title>WikiSpooks&gt;Robin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deeppolitics.org/index.php?title=Template:Legend/doc&amp;diff=32620&amp;oldid=prev"/>
		<updated>2014-03-11T16:34:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&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|&amp;#039;&amp;#039;color&amp;#039;&amp;#039;|&amp;#039;&amp;#039;label&amp;#039;&amp;#039;|outline=&amp;#039;&amp;#039;outline color&amp;#039;&amp;#039;|border=&amp;#039;&amp;#039;css border&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;color&amp;#039;&amp;#039; is passed to the [[Cascading Style Sheets|css]] background-color property of the color box. The optional &amp;#039;&amp;#039;outline&amp;#039;&amp;#039; parameter is the color of the outline around the box. If you need to customize the border further, you can use the  &amp;#039;&amp;#039;border&amp;#039;&amp;#039; argument, which overrides the &amp;#039;&amp;#039;outline&amp;#039;&amp;#039; 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}}&amp;lt;/nowiki&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}}&lt;br /&gt;
&lt;br /&gt;
===Use in a caption ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 [[Image:Celts in Europe.png|200px|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;#039;Celtic nations&amp;#039; and where a &lt;br /&gt;
 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 &lt;br /&gt;
 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;&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Image:Celts in Europe.png|200px|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;#039;Celtic nations&amp;#039; 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;
1 = &amp;lt;!-- background-color --&amp;gt;&lt;br /&gt;
2 = &amp;lt;!-- legend text --&amp;gt;&lt;br /&gt;
outline = &amp;lt;!-- border line color --&amp;gt;&lt;br /&gt;
border =&amp;lt;!-- full border style, overrides outline --&amp;gt;&lt;br /&gt;
color = &amp;lt;!-- text color (font color) --&amp;gt;&lt;br /&gt;
size = &amp;lt;!-- font size --&amp;gt;&lt;br /&gt;
text = &amp;lt;!-- text inside the 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;
* For a version of this template using &amp;#039;&amp;#039;display:inline&amp;#039;&amp;#039; to avoid line breaks after each legend, see {{tl|Legend inline}}.&lt;br /&gt;
* For a version of this template without the line-feed, see {{tl|Legend0}}.&lt;br /&gt;
* For a version of this template without block formatting, see {{tl|Legend2}}.&lt;br /&gt;
* For a version of this template with text-align set to left, see {{tl|Leftlegend}}.&lt;br /&gt;
* For a version of this template with article linking, see {{tl|Legend3}}.&lt;br /&gt;
* For legend rows representing lines, see {{tl|legend-line}}.&lt;br /&gt;
* [[Web colors]]&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Legend templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSpooks&gt;Robin</name></author>
	</entry>
</feed>