Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Wangi
m rv tests
meta>Zocky
does this work for everybody?
Line 1: Line 1:
<includeonly><p style="margin:0px;font-size:90%"><span style="border:{{{border|none}}};color:{{{1|none}}};">&#9608;</span>&nbsp;{{{2|}}}</p></includeonly>
<includeonly><p style="margin:0px;font-size:90%"><span style="border:{{{border|none}}};background-color:{{{1|none}}};color:{{{1|none}}};">mm</span>&nbsp;{{{2|}}}</p></includeonly>
<noinclude>
<noinclude>
<!-- You are advised to read the talk page before changing this template. -->
<!-- You are advised to read the talk page before changing this template. -->
Line 17: Line 17:




<p style="margin:0px;font-size:90%"><span style="border:none;color:black;">&#9608;</span>&nbsp;Africa</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:black;background-color:black">mm</span>&nbsp;Africa</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:green;">&#9608;</span>&nbsp;Americas</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:green;background-color:green">mm</span>&nbsp;Americas</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:blue;">&#9608;</span>&nbsp;Oceania</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:blue;background-color:blue">mm</span>&nbsp;Oceania</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF0;">&#9608;</span>&nbsp;Europe</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF0;background-color:#FF0">mm</span>&nbsp;Europe</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF2800;">&#9608;</span>&nbsp;Asia</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF2800;background-color:#FF2280">mm</span>&nbsp;Asia</p>


[[de:Vorlage:Legende]]
[[de:Vorlage:Legende]]

Revision as of 00:54, 22 January 2006


Shows a legend row with a colored box.

Usage
{{legend|color|label|border=border}}

color is passed to the css background property, so it can also include images. The optional border argument is passed to the css border property.

Example
{{legend|black|Africa}}
{{legend|green|Americas}}
{{legend|blue|Oceania}}
{{legend|#ff0|Europe}}
{{legend|#ff2800|Asia}}


mm Africa

mm Americas

mm Oceania

mm Europe

mm Asia

de:Vorlage:Legende es:Plantilla:Legend pl:Szablon:Legenda sr:Шаблон:Легенда vi:Tiêu bản:Legend