<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://dnd.pfwr.info/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="http://dnd.pfwr.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ALegend%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://dnd.pfwr.info/index.php?title=Template:Legend/doc&amp;action=history"/>
	<updated>2026-05-06T15:36:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.0</generator>
	<entry>
		<id>http://dnd.pfwr.info/index.php?title=Template:Legend/doc&amp;diff=562&amp;oldid=prev</id>
		<title>Mike: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://dnd.pfwr.info/index.php?title=Template:Legend/doc&amp;diff=562&amp;oldid=prev"/>
		<updated>2017-01-29T23:25:35Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 WHERE INDICATED 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|''color''|''label''|outline=''outline color''|border=''css border''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''color'' is passed to the [[Cascading Style Sheets|css]] background-color property of the color box. The optional ''outline'' parameter is the color of the outline around the box. If you need to customize the border further, you can use the  ''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}}&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;
{{markup|&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 'Celtic nations' 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;|&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 'Celtic nations' 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/ur]&lt;br /&gt;
| [text following legend box]&lt;br /&gt;
| outline =  &amp;lt;!--colo/ur 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/ur 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;
* Variants&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}} or {{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]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox |&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;/div&gt;</summary>
		<author><name>Mike</name></author>
	</entry>
</feed>