Difference between revisions of "Template:Former AFI/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Evad37
(switch to using |HOOK_BOTTOM= for code; add a second checklist for pre/post assessment)
imported>Evad37
(add ability to auto-assess from the checklists)
Line 17: Line 17:
 
{{{!}} 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: 2.5em; width: 5em;|category=}}
+
{{!}} {{{{Former TAFI/auto-assess |b1={{{oldb1|}}} |b2={{{oldb2|}}} |b3={{{oldb3|}}} |b4={{{oldb4|}}} |b5={{{oldb5|}}} |b6={{{oldb6|}}} |class={{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: 2.5em; width: 5em;|category=}}
+
{{!}} {{{{Former TAFI/auto-assess |b1={{{newb1|{{{b1|}}}}}} |b2={{{newb2|{{{b2|}}}}}} |b3={{{newb3|{{{b3|}}}}}} |b4={{{newb4|{{{b4|}}}}}} |b5={{{newb5|{{{b5|}}}}}} |b6={{{newb6|{{{b6|}}}}}} |class={{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;" {{!}} &nbsp;&nbsp;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;" {{!}} &nbsp;&nbsp;This article was improved {{#ifeq: {{Former TAFI/auto-assess |b1={{{oldb1|}}} |b2={{{oldb2|}}} |b3={{{oldb3|}}} |b4={{{oldb4|}}} |b5={{{oldb5|}}} |b6={{{oldb6|}}} |class={{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}}} | {{Former TAFI/auto-assess |b1={{{newb1|{{{b1|}}}}}} |b2={{{newb2|{{{b2|}}}}}} |b3={{{newb3|{{{b3|}}}}}} |b4={{{newb4|{{{b4|}}}}}} |b5={{{newb5|{{{b5|}}}}}} |b6={{{newb6|{{{b6|}}}}}} |class={{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}}}} | but remained at '''{{Former TAFI/auto-assess |b1={{{newb1|{{{b1|}}}}}} |b2={{{newb2|{{{b2|}}}}}} |b3={{{newb3|{{{b3|}}}}}} |b4={{{newb4|{{{b4|}}}}}} |b5={{{newb5|{{{b5|}}}}}} |b6={{{newb6|{{{b6|}}}}}} |class={{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|Unassessed}}}}}}}-Class''' | from '''{{Former TAFI/auto-assess |b1={{{oldb1|}}} |b2={{{oldb2|}}} |b3={{{oldb3|}}} |b4={{{oldb4|}}} |b5={{{oldb5|}}} |b6={{{oldb6|}}} |class={{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}}}-Class''' to '''{{Former TAFI/auto-assess |b1={{{newb1|{{{b1|}}}}}} |b2={{{newb2|{{{b2|}}}}}} |b3={{{newb3|{{{b3|}}}}}} |b4={{{newb4|{{{b4|}}}}}} |b5={{{newb5|{{{b5|}}}}}} |b6={{{newb6|{{{b6|}}}}}} |class={{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!''}}|}}
 
{{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!''}}|}}
Line 27: Line 27:
 
{{{!}} style="background: none; width: 50%; float:left;" class="collapsible collapsed"
 
{{{!}} 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:'''
+
!colspan=2 style="background:{{classcol|{{class mask|FQS=yes|BL=B|CL=C|{{Former TAFI/auto-assess |b1={{{oldb1|}}} |b2={{{oldb2|}}} |b3={{{oldb3|}}} |b4={{{oldb4|}}} |b5={{{oldb5|}}} |b6={{{oldb6|}}} |class={{class mask|FQS=yes|BL=BL|CL=CL|{{{oldclass|<includeonly>Unassessed</includeonly><noinclude>Stub</noinclude>}}}}}}}}}}};"{{!}}'''Pre-improvement B-Class checklist:'''
 
  {{WPBannerMeta/hooks/bchecklist
 
  {{WPBannerMeta/hooks/bchecklist
 
  |BANNER_NAME=Template:Former TAFI/sandbox
 
  |BANNER_NAME=Template:Former TAFI/sandbox
Line 42: Line 42:
 
{{{!}} style="background: none; width: 50%; float:right;" class="collapsible collapsed"
 
{{{!}} 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:'''
+
!colspan=2 style="background:{{classcol|{{class mask|FQS=yes|BL=B|CL=C|{{Former TAFI/auto-assess |b1={{{newb1|{{{b1|}}}}}} |b2={{{newb2|{{{b2|}}}}}} |b3={{{newb3|{{{b3|}}}}}} |b4={{{newb4|{{{b4|}}}}}} |b5={{{newb5|{{{b5|}}}}}} |b6={{{newb6|{{{b6|}}}}}} |class={{class mask|FQS=yes|BL=BL|CL=CL|{{{newclass|<includeonly>Unassessed</includeonly><noinclude>B</noinclude>}}}}}}}}}}};"{{!}}'''Post-improvement B-Class checklist:'''
 
  {{WPBannerMeta/hooks/bchecklist
 
  {{WPBannerMeta/hooks/bchecklist
 
  |BANNER_NAME=Template:Former TAFI/sandbox
 
  |BANNER_NAME=Template:Former TAFI/sandbox

Revision as of 01:41, 14 August 2014

Template:WPBannerMeta

Template documentation[view] [edit] [history] [purge]

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 yes if the criterion is met
    • Set to no if 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)
  • |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 yes if the criterion is met
    • Set to no if 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)

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=list or |newclass=list.

See also

{{AFI}} – article template