Jump to content
Sign in to follow this  
OCTranspoMaster

How to create / modify a route infobox

Recommended Posts

Simple question, how do you create /edit templates for individual routes or for pages? the templates used for OC Transpo are screwed up in colors and I want to fix that, unfortunately I don't know how to do that! Anyone with any info would be very much appreciated. The attached photo should help explain what I want to know how to build / fix.

Screenshot_20181028-222106_Chrome.jpg

Share this post


Link to post
Share on other sites

Here's an idea of what I want to do.

Capture.PNG

Edit, here are other templates I want to add. These are the official route colours OC Transpo uses

 

Connexion.PNG Connexion

frequent.PNG Frequent

local.PNG Local

locallimited.PNG Local Limited Service

Rapid.PNG Rapid

Share this post


Link to post
Share on other sites

Templates are under their own template pages, such as Template:Ottawa-Carleton Regional Transit Commission route infobox.

The page itself provides instructions, but the coding is visible when you go to edit. The coding is between the includeonly notes.

Make an infobox under a new template page (such as Template:Ottawa-Carleton Regional Transit Commission Frequent route infobox), and replace the old template reference on the page you want with the new one. 

For consistency, you should only change the colour coding, then you won't need to change anything on the individual pages except the template name.

Share this post


Link to post
Share on other sites
1 hour ago, Enzo Aquarius said:

Templates are under their own template pages, such as Template:Ottawa-Carleton Regional Transit Commission route infobox.

The page itself provides instructions, but the coding is visible when you go to edit. The coding is between the includeonly notes.

Make an infobox under a new template page (such as Template:Ottawa-Carleton Regional Transit Commission Frequent route infobox), and replace the old template reference on the page you want with the new one. 

For consistency, you should only change the colour coding, then you won't need to change anything on the individual pages except the template name.

I've already figured out how to do that, but thanks for commenting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×