Templat: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
sunting{{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
sunting- 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
suntingPendokumenan di atas ditransklusikan daripada Templat:Scarf/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |