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 Full template  





3 Blank declaration  














Template:Chennai Metro







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
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
   

 






From Wikipedia, the free encyclopedia
 


This template selectively displays the stations of various Chennai Metro lines, as well as their respective depots and operators in a navbox. To select which lines are displayed, use the parameters |blue line=, |green line=, |line 3=, |line 4= and |line 5=. Give each parameter any value to make that line display, and leave the parameter unset to make the line stay hidden. For example,

{{Chennai Metro|blue line=yes|green line=yes}}

displays:

If adding new lines to this template, please ensure that List of Chennai Metro stations is updated to match. The list page includes a copy of this template, showing all of the lines, and is also linked from the title bar of this template.

Full template

[edit]

To display the full template with every line, use the parameter |all= by setting it to any value:

{{Chennai Metro|all=yes}}

This gives:

Blank declaration

[edit]

You can copy and paste this blank template for use, inserting a value for each of the lines that's to be displayed and either deleting or leaving unset the lines that aren't to be displayed.

{{Chennai Metro line(s)
|blue line =
|green line  =
|purple line =
|orange line   =
|red line   =
|all     =
}}

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (anavbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:


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

Categories: 
Rail transport navigational boxes of India
Chennai Metro templates
Hidden categories: 
Navboxes using background colours
Potentially illegible navboxes
 



This page was last edited on 7 July 2024, at 11:14 (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