Difference between revisions of "Template:Legend4"

From blackwiki
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

Template documentation[view] [edit] [history] [purge]

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}}
  • {{Legend4|#0000ff|Foobar|text=Ex|border=1px dashed red}}

See also