Difference between revisions of "Template:Legend stripe"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(move to doc)
Line 1: Line 1:
 
{{#if:{{{2|}}}|<div style="border-style:solid; border-width:{{{width|1px}}} 0 0 0; border-color:{{{2|}}};"></div>}}{{#if:{{{3|}}}|<div style="border-style:solid; border-width:1px 0 0 0; border-color:{{{3|}}};"></div>}}<div style="border-style:{{{border-style|solid}}}; border-width: {{{width|{{#if:{{{2|}}}|3px|6px}}}}} 0px 0px 0px; border-color:{{{1|}}};"></div>{{#if:{{{3|}}}|<div style="border-style:solid; border-width:1px 0 0 0; border-color:{{{3|}}};"></div>}}{{#if:{{{2|}}}|<div style="border-style:solid; border-width:{{{width|1px}}} 0 0 0; border-color:{{{2|}}};"></div>}}<noinclude>
 
{{#if:{{{2|}}}|<div style="border-style:solid; border-width:{{{width|1px}}} 0 0 0; border-color:{{{2|}}};"></div>}}{{#if:{{{3|}}}|<div style="border-style:solid; border-width:1px 0 0 0; border-color:{{{3|}}};"></div>}}<div style="border-style:{{{border-style|solid}}}; border-width: {{{width|{{#if:{{{2|}}}|3px|6px}}}}} 0px 0px 0px; border-color:{{{1|}}};"></div>{{#if:{{{3|}}}|<div style="border-style:solid; border-width:1px 0 0 0; border-color:{{{3|}}};"></div>}}{{#if:{{{2|}}}|<div style="border-style:solid; border-width:{{{width|1px}}} 0 0 0; border-color:{{{2|}}};"></div>}}<noinclude>
{{documentation|content=
+
{{documentation}}</noinclude>
== Usage ==
 
*{{tld|legend strip|color}}
 
or
 
*{{tld|legend strip|border-style{{=}}double}}
 
or
 
*{{tld|legend strip|width{{=}}2px}}
 
or
 
*{{tld|legend strip|color|border color}}
 
or
 
*{{tld|legend strip|color|border color|spacer color}}
 
 
 
[[Category:Legend templates]]
 
}}</noinclude>
 

Revision as of 20:07, 10 November 2016

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

Usage

Syntax Example Output
{{legend stripe|color}} {{legend stripe|red}}
{{legend stripe|border-style=double|color}} {{legend stripe|border-style=double|red}}
{{legend stripe|width=2px|color}} {{legend stripe|width=2px|red}}
{{legend stripe|color|border color}} {{legend stripe|red|blue}}
{{legend stripe|color|border color|spacer color}} {{legend stripe|red|blue|white}}
{{legend stripe|width=2px|color|border color|spacer color}} {{legend stripe|width=2px|red|blue|white}}

See also