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 Formatting the parameters  





2 Basic parameters  





3 Extra quality and importance ratings  



3.1  How to configure a new rating  







4 See also  














Template:ReleaseVersionParameters







فارسی
ि
Slovenščina
Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
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
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 



Release version parameters

This template is used to store WikiProject-specific configuration settings for the Wikipedia Release Version Tools. WikiProjects sign up for these tools by placing their top-level assessment categories into Category:Wikipedia 1.0 assessments. For example, Wikipedia:WikiProject Computing has Category:Computing articles by quality and Category:Computing articles by importance.

This ReleaseVersionParameters template should be placed in each project's top-level quality category (for example, Category:Computing articles by quality). Only one instance of the template should be placed on each such category.

Formatting the parameters

Each configuration setting is called a parameter. Unlike most templates, the arguments to this template must be parsed both by the wiki and by an external bot process. Therefore, the parameters must be carefully formatted, and formatting and spacing is important.

Each parameter has a name (such as homepage) and a value (such as Wikipedia:WikiProject Ships). These are separated with an equals sign and no extra whitespace (homepage=Wikipedia:WikiProject Ships), and a pipe character is added at the front (|homepage=Wikipedia:WikiProject Ships).

In order to set all the necessary configuration data, several parameters may be used. Each parameter must be on its own line, and not on the same line as the opening {{ReleaseVersionParameters or the closing }}. The correct synax is shown in the example code below.

Basic parameters

The most important parameter is homepage, which tells the system the main page for the project. For WikiProjects this will probably be the WikiProject's page; for task forces, it will be the task force's homepage. The syntax for setting just this parameter is:

{{ReleaseVersionParameters
 |homepage=Wikipedia:WikiProject Mathematics
}}

A second basic parameter, "shortname", tells the bot a shorter "nickname" that can be used when displaying the name of the project. This is useful for projects that have extra terms such as "work group" or "related" in the title, and which don't wish to see these extra terms in the web output. The syntax to set the homepage and shortname for a project is:

{{ReleaseVersionParameters
 |homepage=Wikipedia:WikiProject The Church of Jesus Christ of Latter-day Saints work group
 |shortname=The Church of Jesus Christ of Latter-day Saints
}}

The final "basic" argument is "hidden". Setting this argument causes the template to suppress its output on the category page. Some projects may prefer to set this parameter if they already have a preferred layout for their category pages. An example using this parameter is:

{{ReleaseVersionParameters
 |homepage=Wikipedia:WikiProject The Church of Jesus Christ of Latter-day Saints work group
 |shortname=The Church of Jesus Christ of Latter-day Saints
 |hidden=yes
}}

Extra quality and importance ratings

Many projects have quality or importance ratings that were not supported by the WP 1.0 bot. For example, some projects have used a "Future-Class" quality rating, and some have used a "Bottom-Class" importance rating. These ratings are all supported by the next bot. They are configured using parameters to this ReleaseVersionParameters template.

How to configure a new rating

In this section, "rating" means a quality or importance rating such as "Bottom-Class". There are four parameters that must be set for each rating, and one optional parameter. The required parameters are:

Once you have the values for the title, type, category, and rankingparameters, you need to give them a prefix that groups them together into one rating. For the first extra rating, the prefix is extra1-. For the second, the prefix is extra2-.

The optional parameter is replaces. This specifies a rating on the default scale that is "close enough" to the custom rating. For example, the Bplus-quality rating might set replaces=B-Class. This parameter is used when generating the global statistics table; the pages with the custom rating are counted in that table as if they had the replaces rating instead.

For example, the following code will add a Bplus quality rating for the mathematics project:

{{ReleaseVersionParameters
 |extra1-title=Bplus-Class
 |extra1-type=quality
 |extra1-category=Bplus-Class mathematics articles
 |extra1-ranking=415
 |extra1-replaces=B-Class
}}

The next example adds a NA importance rating to the Drug Policy project.

{{ReleaseVersionParameters
 |homepage=Wikipedia:WikiProject Drug Policy
 |extra1-title=NA-Class
 |extra1-type=importance
 |extra1-category=NA-importance Drug Policy articles
 |extra1-ranking=20}}

Here, the replaces parameter is not set because non-article pages do not appear in the overall statistics table anyway.

The next example adds two extra ratings to the Lancashire and Cumbria project: NA-Class as a quality rating and NA-Class as an importance rating.

{{ReleaseVersionParameters
 |homepage=Wikipedia:WikiProject Lancashire and Cumbria 
 |extra1-title=NA-Class
 |extra1-type=importance
 |extra1-category=NA-importance Lancashire and Cumbria articles
 |extra1-ranking=20|extra2-title=NA-Class
 |extra2-type=quality
 |extra2-category=NA-Class Lancashire and Cumbria articles
 |extra2-ranking=20}}

See also


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

Category: 
Wikipedia release version templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 17 March 2013, at 04:57 (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