Difference between revisions of "Template:Legend4"
Jump to navigation
Jump to search
imported>Windroff (←Created page with '<includeonly><table class="legend"><tr><td style="vertical-align:text-top;"><span class="legend-color" style="display:inline-block; width:1.5em; height:1.5em; ma...') |
imported>Windroff m |
||
Line 1: | Line 1: | ||
− | <includeonly><table class="legend"><tr><td style="vertical-align:text-top;"><span class="legend-color" style="display:inline-block; width:1.5em; height:1.5em; margin: | + | <includeonly><table class="legend" cellspacing="0"><tr><td style="vertical-align:text-top;"><span class="legend-color" style="display:inline-block; width:1.5em; height:1.5em; margin:0px 2px 0px 0px; border:{{{border|1px solid {{{outline|black}}}}}}; background-color:{{trim|{{{1|transparent}}}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:left;">{{#if:{{{text|}}}|<span class="legend-text" style="font-size:95%;">{{{text}}}</span>| }}</span></td><td>{{{2|}}}</td></tr></table></includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 23:10, 18 October 2014
Script error: No such module "Uses TemplateStyles". A version of {{Legend}} that uses indented block formatting via formatting the legend as a small table.
Usage
{{Legend4|#ff0000|Example}}
→Example {{Legend4|#0000ff|Foobar|text=Ex|border=1px dashed red}}
→Ex Foobar
See also
- {{Legend}}
- {{Legend0}}
- {{Legend2}}
- {{Legend3}}
- {{Leftlegend}}
- {{Legend-line}}
- {{Legend inline}}
The above documentation is transcluded from Template:Legend4/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |