Template:Scarf

From HandWiki
Revision as of 14:58, 4 October 2020 by imported>Jworkorg (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

This template is used with {{cell}}, {{cell2}}, {{cell3}}, and {{cells}} for the purpose of creating a sequence of colors representing an academic scarf.

Usage

Full width scarf

{{scarf|{{cell|''colour1''}}{{cell|''colour2''}}{{cell|''colour3''}} ...}}

Half width scarf

{{scarf|width=50%|{{cell|''colour1''}}{{cell|''colour2''}}{{cell|''colour3''}} ...}}

Examples

Code
{{scarf|
{{cell|blue}}{{cell2|orange}}{{cell3|green}}{{cells|5|red}}{{cell3|green}}{{cell2|orange}}{{cell|blue}}
}}
Result
Code
{{scarf|width=50%|
{{cell|blue}}{{cell2|orange}}{{cell3|green}}{{cells|5|red}}{{cell3|green}}{{cell2|orange}}{{cell|blue}}
}}
Result


Subpage databases for specific institutions

See also