Template:Featured Article Candidate/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas |
imported>Caesar Schinas (new, improved (?) documentation) |
||
Line 1: | Line 1: | ||
This template | This template is for displaying candidate articles at [[CZ:Article of the Week]] and [[CZ:New Draft of the Week]].<br /> | ||
Once a winning article has been chosen it is displayed using {{tl|winner}}. | |||
=== Usage === | === Usage === | ||
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><nowiki><noinclude>...</noinclude></nowiki></code> tags around anything within this section which should ''not'' be shown in the featured article, such as | ||
#* Reference tags | |||
</ | #* Infoboxes | ||
in the | #* Large images | ||
#* 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 | |||
#* 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: | |||
<pre> | <pre> | ||
{{Candidate | |||
| article = | |||
| supporters = | |||
| specialists = | |||
| score = | |||
}} | |||
</pre> | </pre> | ||
Or to [[CZ:New Draft of the Week]] using the following code: | |||
<pre> | <pre> | ||
{{Candidate | |||
| article = | |||
| supporters = | |||
| specialists = | |||
| created = | |||
| eligible = | |||
| score = | |||
}} | |||
</pre> | </pre> | ||
=== Example === | === Example === |
Revision as of 03:53, 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 {{ }}.
Usage
For both this template and {{
}}, it is neccesary to make some changes to the candidate article itself.- Place
<onlyinclude>...</onlyinclude>
tags around the section of the article which is to be featured - normally the first paragraph or two. - 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
- 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 |
---|