• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Octs

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
This is a customized wrapper for the {{Station link}} template, which means it's built upon the other template's code. Since all parameters are already managed, no parameters from {{Station link}} will work here. The parameters passed are managed as follows:
Parameter passed to {{Station link}}Value
|1=OC Transpo
|2={{{1|}}}

This is a shortcut template used for linking to OC Transpo Stations.

Usage

edit

This template hard-codes the first parameter of {{Station link}} as "OC Transpo", invoking Module:Adjacent stations/OC Transpo. The following additional parameters are mapped:

  • |1= to |2= of {{Station link}}

Named parameters are not supported.

Examples

edit
  • {{octs|Airport}} → Airport
  • {{octs|Uplands}} → Uplands
  • {{octs|Walkley}} → Walkley
  • {{octs|South Keys}} → South Keys
The above documentation is transcluded from Template:Octs/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Octs&oldid=954649319"