Help:PTemplates
The pTemplates is a set of templates, whose names start with a p and that accede to parameters of a well structured WikiProject.
If your WikiProject has a sub-page called WikiProject */params with parameters set, the pTemplates would return the desired value.
Parameters
The param subpage stores slash separated data.
Those data are, in order :
name/lat/lon/zoom/west/bottom/right/top/type/population
Available templates
Those templates are :
- pName
- {{pName|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pLat
- {{pLat|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pLon
- {{pLon|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pLeft
- {{pLeft|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pBottom
- {{pBottom|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pRight
- {{pRight|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pTop
- {{pTop|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pWest
- alias of pLeft
- pSouth
- alias of pBottom
- pEast
- alias of pRight
- pNorth
- alias of pTop
- pBbox
- shorthand for pLeft,pBottom,pRight,pTop. {{pBbox|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400,Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400,Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400,Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pZoom
- {{pZoom|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
- pPopulation
- {{pPopulation|Besançon}} = Besançon/47.2553/6.0121/12/5.8935/47.1981/6.1307/47.3125/city/115400
Using the pTemplates
In a WikiProject
In the scope of your WikiProject, i.e. in the main page, or in a sub-page of the project, simply write the name of the template, e.g. {{pLat}}, to get the desired value.
Out of a WikiProject
Out of the scope of a WikiProject, you can get a param by writing the name of the template and passing the WikiProject as first argument, e.g. {{pLat|WikiProject France}} will return France/47.14/3.21/7/.