Template:CF/doc

This page describes the functioning of the CF (Category format) template suite. These are used in conjunction with an automatic category listing to display peer reviews. There is one listing for each topic.

Every item in an automatic category listing is formatted according to a template unique to the topic of that list. For example, each page in an automatically listed has a corresponding template:

on the category list page.

The parameter extra may be used at the point the list is transcluded to allow formatting of the end list. may be used instead. For more details, see Wikipedia:Peer_review/Tools

Components of system
These templates are primarily to display peer review items.

Category listings
Articles, once marked with the peer review template, are automatically listed within a category. A bot automatically updates a category listing, which is page containing a list of all articles within that category. The automatic category listing may be transcluded into other pages.

Each item in the page is recorded alongside the name of the item, its namespace number, and a timestamp indicating when it was added to the category. The pages are typically listed in chronological order, and the page is updated regularly by a bot.

Automatic category listing is currently carried out by AnomieBOT, a bot account operated by Anomie. Each Category:topic supported by AnomieBOT has a category list page  User:AnomieBOT/C/topic. Each topic has items recorded in chronological order, separated by new lines. The items in each category are formatted by CF/topic. The following categories exist:
 * Category holding items Template used to format items in that category
 * User:AnomieBOT/C/Arts peer reviews CF/Arts peer reviews
 * User:AnomieBOT/C/Engineering and technology peer reviews CF/Engineering and technology peer reviews
 * User:AnomieBOT/C/Everyday life peer reviews CF/Everyday life peer reviews
 * User:AnomieBOT/C/General peer reviews CF/General peer reviews
 * User:AnomieBOT/C/Geography and places peer reviews CF/Geography and places peer reviews
 * User:AnomieBOT/C/History peer reviews CF/History peer reviews
 * User:AnomieBOT/C/Language and literature peer reviews CF/Language and literature peer reviews
 * User:AnomieBOT/C/List peer reviews CF/List peer reviews
 * User:AnomieBOT/C/Natural sciences and mathematics peer reviews CF/Natural sciences and mathematics peer reviews
 * User:AnomieBOT/C/Philosophy and religion peer reviews CF/Philosophy and religion peer reviews
 * User:AnomieBOT/C/Social sciences and society peer reviews CF/Social sciences and society peer reviews

As of 2014, the templates used to format the lists have been unified and redirected to a single template, PRentry.

If 'extra' is specified
The suite of pages listing reviews in each topic is then transcluded into a single page.

This full list of reviews, separated by subject area, is fully transcluded at: Wikipedia:Peer_review/List_of_active_reviews. This page can be transcluded on other pages, using the parameter 'mode' to change the format of each peer review entry.
 * 1) If 'mode' is set to 'transclude', all reviews will be displayed in full., this is currently used on Wikipedia:Peer review/Current
 * 2) If 'mode' is set to 'list', all reviews will be displayed by name, with a list of links to the review, the article and talk page, and an invitation to watch the page., this is the default setting for reviews and can be seen at Wikipedia:Peer_review/List_of_active_reviews
 * 3) If 'mode' is set to 'raw', or any other value is used, all reviews will be displayed only by their name and the date and time they were added., this is currently used on Wikipedia:Peer reviews by date

For example:
 * 1) To transclude all reviews, insert into a page:
 * 2) To transclude a readable list of entries, insert into a page:
 * 3) To transclude entries in raw form, insert into a page:

If 'extra' is not specified
Whether the automatic category listing is transcluded or not will affect the formatting of each item:
 * If the automatic category listing is transcluded within the peer review page, each item in the list will be fully transcluded.
 * If the automatic category listing is transcluded within the Wikipedia:Peer review list page, each item will be formatted according to Template:CF/Content review/List.
 * In any other situation, each item will be formatted according to Template:CF/Content review/Raw