Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  



2.1  Simple scarf  





2.2  Complex scarf specifying scarf width, stripe widths, and an accessible description  





2.3  A scarf with different colours on either side  







3 Subpage databases for specific institutions  





4 See also  














Template:Scarf






تۆرکجه

Cymraeg
فارسی
Bahasa Indonesia


Bahasa Melayu
Монгол


Português
Русский
Scots
Simple English
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Svenska


Türkçe
اردو
Tiếng Vit

 
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


(It can also be used with the older templates {{Cell}}, {{Cell2}}, {{Cell3}} and {{Cells}} – but that usage affords less flexibility of design.)

Usage

Full width scarf

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

Half width scarf

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

Examples

Simple scarf

{{Scarf|
  {{Cell1 |red}} {{Cell1 |orange}} {{Cell1 |yellow}}
  {{Cell1 |green}} {{Cell1 |blue}} {{Cell1 |indigo}} {{Cell1 |violet}}
}}


Complex scarf specifying scarf width, stripe widths, and an accessible description

{{Scarf
  | width = 75%
  | description = two halves of black and white, the white half divided in two by a narrow red stripe
  | {{Cell1 |width=50%   |black}}
    {{Cell1 |width=22.5% |white}}
    {{Cell1 |width=5%    |red}}
    {{Cell1 |width=22.5% |white}}
}}

Scarf colours: two halves of black and white, the white half divided in two by a narrow red stripe


A scarf with different colours on either side

N.B. the pattern must be the same on either side, only the colours can differ.

{{Scarf
  | width = 75%
  | description = blue with a narrow central white stripe on one face of the scarf, the colours reversed on the opposite face
  | {{Cell1 |width=47.5  |blue}}
    {{Cell1 |width=5%    |white}}
    {{Cell1 |width=47.5% |blue}}
  | {{Cell1              |white}}
    {{Cell1              |blue}}
    {{Cell1              |white}}
}}

Scarf colours: blue with a narrow central white stripe on one face of the scarf, the colours reversed on the opposite face


Subpage databases for specific institutions

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Scarf&oldid=1139833247"

Categories: 
Color templates
Education templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 17 February 2023, at 03:58 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki