Difference between revisions of "Template:Legend4/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
m (Reverted edits by 195.147.56.20 (talk) to last version by Windroff)
imported>Pppery
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Uses TemplateStyles|Template:Legend/styles.css|noprotcat=yes}}
 +
A version of {{tl|Legend}} that uses indented block formatting via formatting the legend as a small table.
  
 
== Usage ==
 
== Usage ==
A version of {{tl|Legend}} that uses indented block formatting.
+
* {{tlc|Legend4|#ff0000|Example}} → {{Legend4|#ff0000|Example}}
 +
* {{tlc|Legend4|#0000ff|Foobar|text{{=}}Ex|border{{=}}1px dashed red}} → {{Legend4|#0000ff|Foobar|text=Ex|border=1px dashed red}}
  
=== See also ===
+
== See also ==
 
* {{tl|Legend}}
 
* {{tl|Legend}}
 
* {{tl|Legend0}}
 
* {{tl|Legend0}}
Line 14: Line 17:
 
* {{tl|Legend inline}}
 
* {{tl|Legend inline}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Legend templates]]
 
[[Category:Legend templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 03:22, 23 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}}
  • {{Legend4|#0000ff|Foobar|text=Ex|border=1px dashed red}}

See also