Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Szym~enwiki
No edit summary
meta>Szym~enwiki
No edit summary
Line 22: Line 22:
<p style="margin:0px;font-size:90%"><span style="border:solid 1px silver; font-size:80%;vertical-align:middle; background-color:#FF2800;">&emsp;&emsp;</span>&nbsp;Asia</p>
<p style="margin:0px;font-size:90%"><span style="border:solid 1px silver; font-size:80%;vertical-align:middle; background-color:#FF2800;">&emsp;&emsp;</span>&nbsp;Asia</p>


[[de:Vorlage:Legende]]
[[pl:Szablon:Legenda]]
[[pl:Szablon:Legenda]]
[[de:Vorlage:Legende]]
[[sr:Шаблон:Легенда]]
[[sr:Шаблон:Легенда]]
</noinclude>
</noinclude>

Revision as of 09:11, 7 January 2006


Show a legend row with a colored box.

Usage
{{legend|''color''|''label''}}

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


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


   Africa

   Americas

   Oceania

   Europe

   Asia

de:Vorlage:Legende pl:Szablon:Legenda sr:Шаблон:Легенда