Template:Featured Article Candidate/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(new, improved (?) documentation)
imported>Caesar Schinas
mNo edit summary
Line 4: Line 4:
=== Usage ===
=== Usage ===
For both this template and {{tl|winner}}, it is neccesary to make some changes to the candidate article itself.
For both this template and {{tl|winner}}, it is neccesary to make some changes to the candidate article itself.
# Place <code><nowiki><onlyinclude>...</onlyinclude></nowiki></code> tags around the section of the article which is to be featured - normally the first paragraph or two.
# Place <code><only<nowiki>include>...</only</nowiki>include></code> tags around the section of the article which is to be featured - normally the first paragraph or two.
# Place <code><nowiki><noinclude>...</noinclude></nowiki></code> tags around anything within this section which should ''not'' be shown in the featured article, such as
# Place <code><no<nowiki>include>...</no</nowiki>include></code> tags around anything within this section which should ''not'' be shown in the featured article, such as
#* Reference tags
#* Reference tags
#* Infoboxes
#* Infoboxes
#* Large images
#* Large images
#* etc
#* etc
# Place <code><nowiki><includeonly>...</includeonly></nowiki></code> tags around anything within the onlyinclude section which should ''only'' be shown in the featured article, and ''not'' on the article page itself. This can be used to
# Place <code><include<nowiki>only>...</include</nowiki>only></code> tags around anything within the onlyinclude section which should ''only'' be shown in the featured article, and ''not'' on the article page itself. This can be used to
#* Include images in the featured article in place of images
#* Include images in the featured article in place of images
#* Include smaller versions of images and headings
#* Include smaller versions of images and headings

Revision as of 04:54, 7 June 2009

This template is for displaying candidate articles at CZ:Article of the Week and CZ:New Draft of the Week.
Once a winning article has been chosen it is displayed using {{winner}}.

Usage

For both this template and {{winner}}, it is neccesary to make some changes to the candidate article itself.

  1. Place <onlyinclude>...</onlyinclude> tags around the section of the article which is to be featured - normally the first paragraph or two.
  2. Place <noinclude>...</noinclude> tags around anything within this section which should not be shown in the featured article, such as
    • Reference tags
    • Infoboxes
    • Large images
    • etc
  3. Place <includeonly>...</includeonly> tags around anything within the onlyinclude section which should only be shown in the featured article, and not on the article page itself. This can be used to
    • Include images in the featured article in place of images
    • Include smaller versions of images and headings
    • etc

The candidate article can then be added to the list at CZ:Article of the Week using the following code:

{{Candidate
| article     = 
| supporters  = 
| specialists = 
| score       = 
}}

Or to CZ:New Draft of the Week using the following code:

{{Candidate
| article     = 
| supporters  = 
| specialists = 
| created     = 
| eligible    = 
| score       = 
}}

Example

When used within the Article of the Week table, the following code:

{{Candidate
| article     = Scuticaria
| supporters  = 
| specialists = [[User:Daniel Mietchen|Daniel Mietchen]] 17:24, 4 June 2009 (UTC)
| score       = 3
}}

gives the following result:

Nominated article Supporters Specialist supporters Score

Template:Candidate