Difference between revisions of "Template:Former AFI/sandbox"
Jump to navigation
Jump to search
imported>Evad37 (allow BL, CL class; add B-checklist) |
imported>Evad37 (switch to using |HOOK_BOTTOM= for code; add a second checklist for pre/post assessment) |
||
| Line 14: | Line 14: | ||
|IMAGE_RIGHT_SMALL = 25px | |IMAGE_RIGHT_SMALL = 25px | ||
|IMAGE_RIGHT_LARGE = 50px | |IMAGE_RIGHT_LARGE = 50px | ||
| − | | | + | |HOOK_BOTTOM = {{#if:{{{oldclass|<noinclude>Stub</noinclude>}}}{{{newclass|<noinclude>B</noinclude>}}}|</table> |
{{{!}} style="background: none; width: 100%;" | {{{!}} style="background: none; width: 100%;" | ||
{{!}}- | {{!}}- | ||
| − | {{!}} {{{{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}-Class|style=height: | + | {{!}} {{{{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}-Class|style=height: 2.5em; width: 5em;|category=}} |
{{!}} style="width: 5em; text-align: center;" {{!}} [[File:Arrow east.svg|45px]] | {{!}} style="width: 5em; text-align: center;" {{!}} [[File:Arrow east.svg|45px]] | ||
| − | {{!}} {{{{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}}-Class|style=height: | + | {{!}} {{{{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}}-Class|style=height: 2.5em; width: 5em;|category=}} |
{{!}} style="text-align: left;" {{!}} This article was improved {{#ifeq: {{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}} | {{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}} | but remained at '''{{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|Unassessed}}}}}-Class''' | from '''{{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}-Class''' to '''{{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}}-Class'''}} | {{!}} style="text-align: left;" {{!}} This article was improved {{#ifeq: {{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}} | {{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}} | but remained at '''{{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|Unassessed}}}}}-Class''' | from '''{{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}-Class''' to '''{{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}}-Class'''}} | ||
| − | {{!}}}|}} | + | {{!}}} |
| + | {{small|''The above assessments refer the article quality at the time of the TAFI collaboration, and '''{{red|should not}}''' be altered to reflect subsequent changes!''}}|}} | ||
{{#if:{{{oldclass|}}}{{{newclass|<noinclude>B</noinclude>}}}{{{b1|}}}{{{b2|}}}{{{b3|}}}{{{b4|}}}{{{b5|}}}{{{b6|}}}| | {{#if:{{{oldclass|}}}{{{newclass|<noinclude>B</noinclude>}}}{{{b1|}}}{{{b2|}}}{{{b3|}}}{{{b4|}}}{{{b5|}}}{{{b6|}}}| | ||
| + | {{{!}} style="background: none; width: 50%; float:left;" class="collapsible collapsed" | ||
| + | {{!}}- | ||
| + | !colspan=2 style="background:{{classcol|{{class mask|FQS=yes|BL=B|CL=C|{{{oldclass|<noinclude>Stub</noinclude>}}}}}}};"{{!}}'''Pre-improvement B-Class checklist:''' | ||
| + | {{WPBannerMeta/hooks/bchecklist | ||
| + | |BANNER_NAME=Template:Former TAFI/sandbox | ||
| + | |category={{{category|}}} | ||
| + | |class=B<!--always on--> | ||
| + | |b1={{{oldb1|}}} | ||
| + | |b2={{{oldb2|}}} | ||
| + | |b3={{{oldb3|}}} | ||
| + | |b4={{{oldb4|}}} | ||
| + | |b5={{{oldb5|}}} | ||
| + | |b6={{{oldb6|}}} | ||
| + | }} | ||
| + | {{!}}} | ||
| + | {{{!}} style="background: none; width: 50%; float:right;" class="collapsible collapsed" | ||
| + | {{!}}- | ||
| + | !colspan=2 style="background:{{classcol|{{class mask|FQS=yes|BL=B|CL=C|{{{newclass|<noinclude>BL</noinclude>}}}}}}};"{{!}}'''Post-improvement B-Class checklist:''' | ||
{{WPBannerMeta/hooks/bchecklist | {{WPBannerMeta/hooks/bchecklist | ||
|BANNER_NAME=Template:Former TAFI/sandbox | |BANNER_NAME=Template:Former TAFI/sandbox | ||
|category={{{category|}}} | |category={{{category|}}} | ||
| − | |class=B<!--always on | + | |class=B<!--always on--> |
| − | |b1={{{b1|}}} | + | |b1={{{newb1|{{{b1|}}}}}} |
| − | |b2={{{b2|}}} | + | |b2={{{newb2|{{{b2|}}}}}} |
| − | |b3={{{b3|}}} | + | |b3={{{newb3|{{{b3|}}}}}} |
| − | |b4={{{b4|}}} | + | |b4={{{newb4|{{{b4|}}}}}} |
| − | |b5={{{b5|}}} | + | |b5={{{newb5|{{{b5|}}}}}} |
| − | |b6={{{b6|}}} | + | |b6={{{newb6|{{{b6|}}}}}} |
}} | }} | ||
}} | }} | ||
Revision as of 01:04, 14 August 2014
| This is the template sandbox page for Template:Former AFI (diff). See also the companion subpage for test cases. |
Contents
Usage
Vertical list:
{{Former TAFI
| date=
| page=
| oldid1=
| oldid2=
| oldclass=
| oldb1 <!--Referencing & citations--> = <yes/no>
| oldb2 <!--Coverage & accuracy --> = <yes/no>
| oldb3 <!--Structure --> = <yes/no>
| oldb4 <!--Grammar & style --> = <yes/no>
| oldb5 <!--Supporting materials --> = <yes/no>
| newclass=
| newb1 <!--Referencing & citations--> = <yes/no>
| newb2 <!--Coverage & accuracy --> = <yes/no>
| newb3 <!--Structure --> = <yes/no>
| newb4 <!--Grammar & style --> = <yes/no>
| newb5 <!--Supporting materials --> = <yes/no>}}
Horizontal list:
{{Former TAFI |date= |page= |oldid1= |oldid2= |oldclass= |oldb1= |oldb2= |oldb3= |oldb4= |oldb5= |newclass= |newb1= | newb2= | newb3= |newb4= |newb5= }}
Parameters
|date=: date improvements started|page=: page that was worked on|oldid1=: revision id of the page prior to improvements|oldid2=: revision id of the last revision to the article at the close of collaboration|oldclass=: Article class assessment of the article, prior to improvements (this parameter may be automatically overridden by the pre-improvement checklist if the C- or B-Class criteria are met)- The parameters
|oldb1=to|oldb5=will fill out the B-Class checklist for the article, prior to improvements. For each one:- Set to
yesif the criterion is met - Set to
noif the criterion is not met - Leave blank if the criterion has not (yet) been assessed
- In rare case only, if the criterion is not applicable, set to
na <!-- because ... -->(replace "because ..." with the reason why the criterion is not applicable)
- Set to
|newclass=: Article class assessment of the article, at the close of collaboration (this parameter may be automatically overridden by the post-improvement checklist if the C- or B-Class criteria are met)- The parameters
|newb1=to|newb5=fill out the B-Class checklist for the article, at the close of collaboration. For each one:- Set to
yesif the criterion is met - Set to
noif the criterion is not met - Leave blank if the criterion has not (yet) been assessed
- In rare case only, if the criterion is not applicable, set to
na <!-- because ... -->(replace "because ..." with the reason why the criterion is not applicable)
- Set to
Notes
{{Wikipedia:Articles for improvement/Assessment/details|B}}
- For details of the assessment process, see Wikipedia:Articles for improvement/Assessment. The B-Class criteria are shown in the box here also.
- For C-Class (and CL-Class), the article meets B1 or B2 as well as B3 and B4 and B5
- For B-Class (and BL-Class), the article meets all the B-Class criteria
- If the pre- or post-collaboration checklist is filled out and the C- or B-Class conditions are met, the class will be automatically determined as C- or B-Class as appropriate, overriding the class set in
|oldclass=or|newclass=(if any). - To switch these automatic assessments onto the list-scale classes CL- and BL-Class, specify
|oldclass=listor|newclass=list.
See also
{{AFI}} – article template
| The above documentation is transcluded from Template:Former AFI/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |