Difference between revisions of "Template:Article"
Jump to navigation
Jump to search
m |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="margin:0 auto; width:500px; border:1px solid # | <includeonly><div style="margin:0 auto; width:500px; border:1px solid #06a303; background: #81c989; padding: 3px 10px; color: #000000;"> | ||
<div style="font-size:20px; text-align: center; font-weight: bold;">{{PAGENAME}}</div> | <div style="font-size:20px; text-align: center; font-weight: bold;">{{PAGENAME}}</div> | ||
The "'''{{PAGENAME}}'''" article has been labelled the following levels: | The "'''{{PAGENAME}}'''" article has been labelled the following levels: | ||
<div> | <div> | ||
{{#if:{{{feature-year|}}}|{{article/feature|year={{{feature-year|}}}|fortnight={{{feature-fortnight|}}}|month={{{feature-month|}}}|week={{{feature-week|}}}}}|}} | |||
{{#ifexist:Template:article/quality/{{{quality|}}}|{{article/quality/{{{quality}}}}}|}} | {{#ifexist:Template:article/quality/{{{quality|}}}|{{article/quality/{{{quality}}}}}|}} | ||
{{#ifexist:Template:article/focus/{{{focus|}}}|{{article/focus/{{{focus}}}}}|}} | {{#ifexist:Template:article/focus/{{{focus|}}}|{{article/focus/{{{focus}}}}}|}} | ||
</div> | </div> | ||
{{clear}} | {{clear}} | ||
</div> | </div></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 20:35, 6 March 2009
Documentation for {{article}}
Use
To place articles on where their state and focus are, in par with the levelling system of the Infosphere.
Usage
The template takes five parameters.
- quality
- Can be one of the five following variables:
- stub
- start
- developed
- good
- brilliant
- focus
- Can be one of the four following variables:
- null
- a
- b
- c
Please see Infosphere:Levelling system for the values of these variables.
- feature-year (optional)
- Must be a 4 digit numeral value, e.g. 2024
- feature-week (optional)
- Must be a 1-2 digit numeral value, note: only for articles before July, 2006
- feature-month (optional)
- Must be the month's full name (e.g. January), note: only for articles before September, 2008
- feature-fortnight (optional)
- Must be a 1-2 digit numeral value, note: only for articles after September, 2008
Note: If no featured parameter is specified, it is assumed that it is not a featured article.
{{article |quality = stub, start, developed, good or brilliant |focus = null, c, b or a |feature-year = (optional) |feature-week = (optional) |feature-month = (optional) |feature-fortnight = (optional) }}
Note: For featured articles, if more than one of the sub-specifications is specified (i.e. -week, -month and -fortnight), only one of them will be picked in the following priority order: fornight, month and week.
Example
{{article |feature-year=2009 |feature-fortnight=3 |quality=brilliant |focus=b }}