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  Typical use  





2.2  Advanced use  







3 Compatibility  














Template:Legend striped






العربية

 / Bân-lâm-gú
Bikol Central
Català
Dagbanli
Español
فارسی
Français
Frysk

ि
Ilokano
Bahasa Indonesia
Italiano
Latviešu
Magyar
ि
Македонски


Nederlands

Português
Scots
Simple English
Српски / srpski
Svenska
ி

Українська
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
 


Shows a legend row with a two colored box. Complementary to the one color legend template.

Usage

{{Legend striped|''top color''|''bottom color''|''label''|outline=''outline color''|border=''css border''}}

Additionally, editors can specify several other optional fields:

Examples

Typical use

{{Legend striped|black|gray|Oakland}}
{{Legend striped|green|gold|Green Bay}}
{{Legend striped|purple|black|''Baltimore''|up=yes}}
{{Legend striped|#003b7b|#fff|'''Indianapolis'''|outline=silver}}
{{Legend striped|#c80815|#e6be8a|[[San Francisco]]|border=2px solid black}}
  Oakland
  Green Bay
  Baltimore
  Indianapolis

Advanced use

{{Legend striped|#0c2340|#a2aaad|border=3px solid #78be20|Seattle}}
{{Legend striped|white|gold|border=3px solid maroon|text='''F'''|textcolor=maroon|Washington}}
  Seattle
 F Washington

Compatibility

Current compatibility issues are based on different browsers implementation of CSS protocol. These boxes, for example, may look too tall on mobile browsers. Please let the developers know on the talk page if there are issues.


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

Categories: 
Templates using TemplateStyles
Legend templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 3 October 2020, at 23:21 (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