Template:Legend: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Hdante m Changed temporarily to an arrow, instead of a space |
meta>Hdante No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><p style=" | <includeonly><p style="margin:0px;font-size:90%"><span style="border:{{{border|none}}};color:{{{1|none}}};">█</span> {{{2|}}}</p></includeonly> | ||
<noinclude> | <noinclude> | ||
<!-- You are advised to read the talk page before changing this template. --> | |||
Shows a legend row with a colored box. | Shows a legend row with a colored box. | ||
Line 16: | Line 17: | ||
<p style="margin:0px;font-size:90%"><span style="border: | <p style="margin:0px;font-size:90%"><span style="border:none;color:black;">█</span> Africa</p> | ||
<p style="margin:0px;font-size:90%"><span style="border: | <p style="margin:0px;font-size:90%"><span style="border:none;color:green;">█</span> Americas</p> | ||
<p style="margin:0px;font-size:90%"><span style="border: | <p style="margin:0px;font-size:90%"><span style="border:none;color:blue;">█</span> Oceania</p> | ||
<p style="margin:0px;font-size:90%"><span style="border: | <p style="margin:0px;font-size:90%"><span style="border:none;color:#FF0;">█</span> Europe</p> | ||
<p style="margin:0px;font-size:90%"><span style="border: | <p style="margin:0px;font-size:90%"><span style="border:none;color:#FF2800;">█</span> Asia</p> | ||
[[de:Vorlage:Legende]] | [[de:Vorlage:Legende]] |
Revision as of 04:08, 21 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}}
█ Africa
█ Americas
█ Oceania
█ Europe
█ Asia
de:Vorlage:Legende es:Plantilla:Legend pl:Szablon:Legenda sr:Шаблон:Легенда vi:Tiêu bản:Legend