Zeile 1: |
Zeile 1: |
− | <includeonly><div style="border:none;background:none;text-align:left"><span style="border:solid 1px silver; background:{{{1|none}}}; font-size:1em; color:{{{1}}}">██</span> {{{2|}}}</div></includeonly> | + | <includeonly><li style="list-style-type: none; list-style-image: none; margin: 0;"><span style="border-left: 1.2em solid; border-left-color: {{{1|black}}}; padding-left: 0.4em;" title="{{#if: {{{3|}}} | {{{3}}} | {{#switch: {{lc:{{{1|black}}}}} |
− | <noinclude>
| + | |black|#000|#000000 = Schwarz |
− | Zeigt eine Legende mit farbigen Flächen an.
| + | |blue|#00f|#0000ff|#9999ff|#1874cd = Blau |
− | | + | |brown = Braun |
− | ==Benutzung== | + | |cyan|aqua|#0ff|#00ffff = Türkis |
− | <nowiki>{{</nowiki>Farblegende|''Farbe''|''Bezeichnung''<nowiki>}}</nowiki>
| + | |gold = Gold |
− | ''Farbe'' wird an die [[Cascading Style Sheets|css]] "background"-Eigenschaft weitergereicht, man kann also auch Bilder einbinden.
| + | |gray|grey = Grau |
− | | + | |green|#008000|#ccffcc|#22b14c = Grün |
− | ==Beispiel== | + | |lime|#0f0|#00ff00 = Hellgrün |
− | <nowiki>{{Farblegende|black|Afrika}}</nowiki>
| + | |maroon|#800000 = Dunkelrot |
− | <nowiki>{{Farblegende|green|Amerika}}</nowiki>
| + | |navy|#000080 = Dunkelblau |
− | <nowiki>{{Farblegende|blue|Ozeanien}}</nowiki>
| + | |orange|#ffcc00|#ffc20e = Orange |
− | <nowiki>{{Farblegende|#ff0|Europa}}</nowiki>
| + | |purple = Purpur |
− | <nowiki>{{Farblegende|#ff2800|Asien}}</nowiki>
| + | |red|#f00|#ff0000|#f08080|#f99|#ffcccc|#d40000|#ff7256 = Rot |
− | | + | |silver|#cccccc = Hellgrau |
− | <div><span style="border:solid 1px silver; background:black; font-size:1em; color:black">██</span> Afrika</div>
| + | |violet|magenta|fuchsia|#f0f|#ff00ff = Violett |
− | <div><span style="border:solid 1px silver; background:green; font-size:1em; color:green">██</span> Amerika</div>
| + | |white|#fff|#ffffff = Weiß |
− | <div><span style="border:solid 1px silver; background:blue; font-size:1em; color:blue">██</span> Ozeanien</div>
| + | |yellow|#ff0|#ffff00|#f0e68c = Gelb |
− | <div><span style="border:solid 1px silver; background:#ff0; font-size:1em; color:#ff0">██</span> Europa</div>
| + | |#default = Farbe {{ucfirst:{{{1}}}}} |
− | <div><span style="border:solid 1px silver; background:#ff2800; font-size:1em; color:#ff2800">██</span> Asien</div>
| + | }} }}"></span>{{{2|}}}</li></includeonly><noinclude>{{Dokumentation}} |
− | | + | {{QuelleWikipedia|datum=28. December 2019|oldid=171716811|oldid-lokal=29773|geschichte=true}} |
− | ==Siehe auch== | |
− | *[[Vorlage:Farbindex]]
| |
− | | |
− | [[Kategorie:Vorlage:Formatierungshilfe|Farblegende]]
| |
− | | |
− | [[ca:Template:Llegenda]]
| |
− | [[cy:Nodyn:Legend]]
| |
− | [[en:Template:Legend]]
| |
− | [[es:Plantilla:Legend]]
| |
− | [[fr:Modèle:Légende]]
| |
− | [[hu:Sablon:Jelmagyarázat]]
| |
− | [[ka:თარგი:ლეგენდა]]
| |
− | [[ko:Template:범례]]
| |
− | [[pl:Szablon:Legenda]]
| |
− | [[rmy:Format:Xalyaripen]]
| |
− | [[ru:Шаблон:Легенда]]
| |
− | [[sl:Predloga:Legenda]]
| |
− | [[sr:Шаблон:Легенда]]
| |
− | [[vi:Tiêu bản:Legend]]
| |
− | [[zh:Template:Legend]]
| |
− | | |
| </noinclude> | | </noinclude> |