Template:WikiProject Western Sahara

From Wikipedia, the free encyclopedia



Unknown
This article has
not had its quality
rated
on the
assessment scale.

Article Grading:
The article has not been rated for quality and/or importance yet. Please rate the article and then leave comments here to explain the ratings and/or to identify the strengths and weaknesses of the article.

This template is a self-reference. Please add it to the article's talk page, NOT the article!.

This template employs intricate features of template syntax.
Please do not alter it unless you are certain to understand its setup and parser functions and are ready to repair/revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in the template sandbox, or in your user space, before applying anything here.

[edit] First things first

This was shameless edited together from {{WPBeatles}}. As far as I'm aware, it was made by User:Kingboyk and User:Lar for the Beatles WikiProject. Thank them.

[edit] About the template

This template adds article talk pages, category talk pages, template talk pages, etc (whatever it is placed on) to Category:WikiProject Western Sahara articles. It is also used to track article classifications and presents readers with a current "to do" list.

Please be very careful when editing this template if you don't understand MediaWiki Parser Functions. This template is now very complicated and could easily be broken. (Note that you may find m:Magic_words and m:ParserFunctions very helpful in understanding what this does.)

The usage instructions are now stored in a separate page - Wikipedia:WikiProject Western Sahara/Project banner - and may be safely edited by any project member.

[edit] Usage

Please note: This template should be transcluded ({{WPWS}}) and not substituted (subst) because it employs conditional code. Transclusion also allows easy updating of all the Project's talk pages without having to edit hundreds of pages.

A simple way to use the template is to copy the following onto the talk page, and then optionally remove the unnecessary lines.

{{WPWS
|class  = 
|importance =
|arabic =
|display=
|attention =
}}

[edit] Parameters

  • class: Options are FA, A, GA, B, Start, Stub, Dab (disambiguation page), Template, Cat (category), Merge, MergeDel (merge or delete), Merged, AFD (deletion candidate), NA (no class, e.g. a WikiProject page). If blank, this will default as Unassessed. Descriptions of the options can be found at WP:TBA#Article progress grading scheme.
  • importance: Top, High, Mid, Low. If blank, this will default as Unknown importance. Descriptions of the options can be found at WP:TBA#Article importance grading scheme.
  • arabic: Answer yes to this if the article includes any transliteration of Arabic language names or words.

[edit] Example 1: basic

{{WPWS}}

For main space articles which have not yet been assessed, simply use {{WPWS}}. This default places the article in Category:Unassessed Western Sahara articles and Category:Unassessed-importance Western Sahara articles, and doesn't change the wording of the template in any way.

[edit] Example 2: full

Todo: Some examples (with named articles) of how to use the new template. Or are folks happy with the above instructions?