قالب:Scarf
This template is used with {{cell}}, {{cell2}}, {{cell3}}, and {{cells}} for the purpose of creating a sequence of colors representing an academic scarf.
Usage
{{scarf|start}}
starts a new scarf.{{scarf|end}}
ends the scarf.{{scarf|start|width=50%}}
starts a scarf whose width is half the width of the default (100%).
Examples
- Code
{{scarf|start}} {{cell|blue}}{{cell2|orange}}{{cell3|green}}{{cells|5|red}}{{cell3|green}}{{cell2|orange}}{{cell|blue}} {{scarf|end}}
- Result
- Code
{{scarf|start|width=50%}} {{cell|blue}}{{cell2|orange}}{{cell3|green}}{{cells|5|red}}{{cell3|green}}{{cell2|orange}}{{cell|blue}} {{scarf|end}}
- Result
See also
The above documentation is transcluded from قالب:Scarf/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. |