Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nightstallion
does *this* work?
meta>PuzzletChung
m +ko
Line 1: Line 1:
<includeonly><p style="margin:0px;font-size:90%"><span style="border:{{{border|none}}};background-color:{{{1|none}}};color:{{{1|none}}};">██</span>&nbsp;{{{2|}}}</p></includeonly>
<onlyinclude><p style="margin:0px;font-size:90%"><span style="border:{{{border|none}}};background-color:{{{1|none}}};color:{{{1|none}}};">██</span>&nbsp;{{{2|}}}</p></onlyinclude>
<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. -->
Shows a legend row with a colored box.
Shows a legend row with a colored box.
Line 25: Line 24:
[[de:Vorlage:Legende]]
[[de:Vorlage:Legende]]
[[es:Plantilla:Legend]]
[[es:Plantilla:Legend]]
[[ko:Template:범례]]
[[pl:Szablon:Legenda]]
[[pl:Szablon:Legenda]]
[[sr:Шаблон:Легенда]]
[[sr:Шаблон:Легенда]]
[[vi:Tiêu bản:Legend]]
[[vi:Tiêu bản:Legend]]
</noinclude>

Revision as of 10:53, 1 February 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 ko:Template:범례 pl:Szablon:Legenda sr:Шаблон:Легенда vi:Tiêu bản:Legend