Difference between revisions of "Template:Legend4"
Jump to navigation
Jump to search
imported>Nihiltres (Imported improvements from Template:Legend) |
imported>Nihiltres (Added role="presentation" to table element) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><templatestyles src="Legend/styles.css" /><!-- | --><templatestyles src="Legend/styles.css" /><!-- | ||
− | --><table class="legend" cellspacing="0"><!-- | + | --><table class="legend" cellspacing="0" role="presentation"><!-- |
--><tr><!-- | --><tr><!-- | ||
--><td style="vertical-align:text-top;"><!-- | --><td style="vertical-align:text-top;"><!-- |
Latest revision as of 16:05, 21 September 2020
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. |