Template:PUV stop
This template is for denoting stops of buses and other road-based transport services in Metro Manila, Philippines.
It uses consistent and standardized Rint and RouteBox icons for bus stops in Metro Manila, Philippines based on the list of bus routes in Metro Manila. This allows editors to more easily create and update listings for bus stops in Metro Manila with a module-backed data source similar to Module:Adjacent stations/Manila MRT and Module:Adjacent stations/Manila LRT for railway lines.
To edit the template's logic, go to Module:PUV stop. The data used by this template and the module can also be added to and modified at Module:PUV line.
Examples
City bus routes
{{PUV stop|city|1|name=Monumento}} →
1 Monumento
{{PUV stop|city|10|11|12|38|40|42|45|46|name=One Ayala}} →
10 11 12 38 40 42 45 46 One Ayala
Love Bus routes
{{PUV stop|lovebus|2|name=[[University of Santo Tomas]]}} →
2 University of Santo Tomas
{{PUV stop|lovebus|1|2|name=[[Valenzuela Gateway Complex]]}} →
1 2 Valenzuela Gateway Complex
BGC Bus routes
{{PUV stop|bgc|NR11|name=Market Market}} →
Error creating thumbnail: NR11 Market Market
{{PUV stop|bgc|EX01|L01|N01|NR01|NR17|W01|WR01|WR18|name=[[McKinley Exchange Corporate Center|EDSA Ayala]]}} →
Error creating thumbnail: EX01 L01 N01 NR17 NR01 W01 WR01 WR18 EDSA Ayala
Quezon City Bus Service routes
{{PUV stop|qc|8|name=[[Robinsons Magnolia]]}} →
File:QuezonCityBusService.png 8 Robinsons Magnolia
{{PUV stop|qc|1|2|4|5|6|7|8|name=Quezon City Hall}} →
File:QuezonCityBusService.png 1 2 4 5 6 7 8 Quezon City Hall
Parameters
The template accepts a minimum of two positional parameters and two keyword parameters:
First parameter
The first positional parameter indicates the type of service. There are four types of services supported, each indicated by a specific value:
cityfor all LTFRB city bus routes (default value)bgcfor BGC Bus routeslovebusfor the revived Love Bus routes in Metro Manilaqcfor the Quezon City Bus Service routes
Based on the type of service, the template will display a logo (for the BGC Bus, Love Bus, and QC) and no logo for city buses. Note: The Love Bus icon is currently a placeholder until the actual logo can be obtained.
Second and succeeding parameters
The second and succeeding positional parameters are treated as the list of bus routes under that service that all stop at the given stop (e.g. 1, 2, 3). You can put one line or as many lines as there actually exist, but it is recommended to keep it under 30 codes to avoid making the label too long.
For the BGC Bus, which uses stop numbers, you should enter the BGC Bus route code and stop number instead (e.g. EX01, C02)
Name
The name keyword parameter is the name of the stop. It will displays either in plain text or wikilinked text after the RouteBox icons.
Icon
The icon keyword parameter toggles whether to include the Rint icon. When set to yes, the Rint icon is included. Otherwise, when set to no, it is not included in the label. This parameter is enabled by default.
Example:
{{PUV stop|city|18|33|64|name=Fernando Poe Jr.|icon=no}} → 18 33 64 Fernando Poe Jr.
TemplateData
[edit source]This template is for denoting stops of buses and other road-based transport services in Metro Manila, Philippines.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description | String | optional |
| 2 | 2 | no description | String | optional |
| 3 | 3 | no description | String | optional |
| 4 | 4 | no description | String | optional |
| 5 | 5 | no description | String | optional |
| 6 | 6 | no description | String | optional |
| 7 | 7 | no description | String | optional |
| 8 | 8 | no description | String | optional |
| 9 | 9 | no description | String | optional |
| 10 | 10 | no description | String | optional |
| 11 | 11 | no description | String | optional |
| 12 | 12 | no description | String | optional |
| 13 | 13 | no description | String | optional |
| 14 | 14 | no description | String | optional |
| 15 | 15 | no description | String | optional |
| 16 | 16 | no description | String | optional |
| 17 | 17 | no description | String | optional |
| 18 | 18 | no description | String | optional |
| 19 | 19 | no description | String | optional |
| 20 | 20 | no description | String | optional |
| 21 | 21 | no description | String | optional |
| 22 | 22 | no description | String | optional |
| 23 | 23 | no description | String | optional |
| 24 | 24 | no description | String | optional |
| 25 | 25 | no description | String | optional |
| 26 | 26 | no description | String | optional |
| 27 | 27 | no description | String | optional |
| 28 | 28 | no description | String | optional |
| 29 | 29 | no description | String | optional |
| 30 | 30 | no description | String | optional |
| name | name | Name of the stop.
| String | required |
| icon | icon | Toggles whether to show the Rint icon at the start.
| Boolean | required |