Difference between revisions of "Template:GA/Topic/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Maralia
(creating test cases to test implementation with Template:GA)
 
imported>Maralia
(more test cases)
Line 5: Line 5:
 
{{tlx|{{TEMPLATENAMEE|require=testcases}}/sandbox}}
 
{{tlx|{{TEMPLATENAMEE|require=testcases}}/sandbox}}
  
{{{{TEMPLATENAMEE|require=testcases}}/sandbox}}
+
;[[Template:GA]]
 
 
 
{{tmbox
 
{{tmbox
 
|small = {{{small|}}}
 
|small = {{{small|}}}
Line 15: Line 14:
 
  |[[Category:{{GA/Topic/sandbox|{{{topic|}}}}} good articles|{{PAGENAME}}]]
 
  |[[Category:{{GA/Topic/sandbox|{{{topic|}}}}} good articles|{{PAGENAME}}]]
 
  |[[Category:Uncategorized good articles|{{PAGENAME}}]]
 
  |[[Category:Uncategorized good articles|{{PAGENAME}}]]
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
}}}}</includeonly>
  
 +
;[[Template:DelistedGA]]
 +
{{tmbox
 +
|small = {{{small|}}}
 +
|image = [[Image:Symbol_unsupport_vote.svg|{{#ifeq:{{{small|}}}|yes|25px|45px}}]]
 +
|text  = <div>
 +
'''{{PAGENAME}}''' was a '''''[[Wikipedia:Good articles|{{GA/Topic/sandbox|{{{topic|}}}}} good article]]''''', but it has been removed from the list. There are suggestions {{#if:{{{page|}}}|on [[{{FULLPAGENAME}}/GA{{{page}}}|the review page]]|below}} for improving the article to meet the [[Wikipedia:What is a good article|good article criteria]]. Once these are addressed, the article can be [[Wikipedia:Good article nominations|renominated]]. Editors may also seek a '''[[Wikipedia:Good article reassessment|reassessment]]''' of the decision if they believe there was a mistake.
 +
 +
<small class="plainlinks">{{#if:{{{oldid|}}}|[{{fullurl:{{SUBJECTPAGENAME}}|oldid={{{oldid}}}}} Delisted version]|Delisted version}}: {{#if:{{{1|}}}|{{#time:F j, Y|{{{1}}}}}|No date specified. To provide a date use: {{tlp|DelistedGA|''insert date in any format here''}}}}</small>
 +
</div>}}<includeonly>{{#ifeq:{{NAMESPACE}}|Talk|[[Category:Delisted good articles|{{PAGENAME}}]]{{#if:{{{1|}}}||[[Category:Undated GA templates]]}}}}</includeonly>
 +
 +
;[[Template:FailedGA]]
 +
{{tmbox
 +
|small = {{{small|}}}
 +
|image = [[Image:Symbol unsupport vote.svg|45px]]
 +
|smallimage = [[Image:Symbol unsupport vote.svg|25px]]
 +
|text  = <div style="margin:-0.4em 0 -0.5em;">
 +
'''{{PAGENAME}}''' was nominated as a '''''[[Wikipedia:Good articles|good article]]''''' in the {{GA/Topic/sandbox|{{{topic|}}}}} category but did not meet the [[Wikipedia:Good article criteria|good article criteria]] at the time. There are suggestions {{#if:{{{page|}}}|on '''[[{{FULLPAGENAME}}/GA{{{page}}}|the review page]]'''|below}} for improving the article. Once these are addressed, the article can be [[Wikipedia:Good article nominations|renominated]]. Editors may also seek a [[Wikipedia:Good article reassessment|reassessment]] of the decision if they believe there was a mistake.
 +
<small class="plainlinks" style="vertical-align:super; line-height:1;">{{#if:{{{oldid|}}}|[{{fullurl:{{SUBJECTPAGENAME}}|oldid={{{oldid}}}}} Reviewed version]|Reviewed version}}: {{#if:{{{1|}}}|{{#time:F j, Y|{{{1}}}}}|No date specified. To provide a date use: {{tlp|FailedGA|''insert date in any format here''}}}}</small>
 +
</div>}}<includeonly>{{#ifeq:{{NAMESPACE}}|Talk|[[Category:Former good article nominees|{{PAGENAME}}]]{{#if:{{{1|}}}||[[Category:Undated GA templates]]}}}}</includeonly>
  
{{clear}}
 
  
 
== Testing main template ==
 
== Testing main template ==
Line 24: Line 41:
 
{{tlx|{{TEMPLATENAMEE|require=testcases}}}}
 
{{tlx|{{TEMPLATENAMEE|require=testcases}}}}
  
{{ {{TEMPLATENAMEE|require=testcases}} }}
+
;[[Template:GA]]
 +
{{GA}}
  
{{tmbox
+
;[[Template:DelistedGA]]
|small = {{{small|}}}
+
{{DelistedGA}}
|image = [[Image:Symbol support vote.svg|{{#ifeq:{{{small|}}}|yes|25px|45px}}|Good articles]]
+
 
|text = '''{{PAGENAME}}''' has been listed as a{{#switch:{{GA/Topic|{{{topic|}}}}}|Arts|Agriculture, food and drink|Art and architecture|Everyday life|Engineering and technology=n}} '''''[[Wikipedia:Good articles/{{GA/Topic|{{{topic|}}}}}|{{GA/Topic|{{{topic|}}}}} good article]]''''' under the [[Wikipedia:Good article criteria|good article criteria]]. If you can improve it further, [[Wikipedia:Be bold|please do]], and if it no longer meets these criteria, it can be [[Wikipedia:Good article reassessment|reassessed]].<br>
+
;[[Template:FailedGA]]
<small> {{#if:{{{page|}}}|'''[[{{FULLPAGENAME}}/GA{{{page}}}|Review]]'''|Review}}: {{#if:{{{1|{{{date|}}}}}}|{{#time:F j, Y|{{{1|{{{date}}}}}}}}|No date specified. To provide a date use: {{tlp|GA|''insert date in any format here''}}}}. {{#if:{{{oldid|}}}|(<span class="plainlinks">[{{fullurl:{{SUBJECTPAGENAME}}|oldid={{{oldid}}}}} Reviewed version]</span>).}}</small>
+
{{FailedGA}}
}}<includeonly>{{#ifeq:{{NAMESPACE}}|Talk|[[Category:Wikipedia good articles|{{SUBJECTPAGENAME}}]][[Category:Wikipedia CD Selection-GAs|{{SUBJECTPAGENAME}}]][[Category:GA-Class Good articles|{{SUBJECTPAGENAME}}]]{{#if:{{{1|{{{date|}}}}}}||[[Category:Undated GA templates]]}}{{#if:{{{oldid|}}}||[[Category:Good articles without an oldid|{{SUBJECTPAGENAME}}]]}}{{#if:{{GA/Topic|{{{topic|}}}}}
 
|[[Category:{{GA/Topic|{{{topic|}}}}} good articles|{{PAGENAME}}]]
 
|[[Category:Uncategorized good articles|{{PAGENAME}}]]
 
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Revision as of 18:07, 28 February 2013

Testing sandbox version

{{GA/Topic/sandbox}}

Template:GA
Template:DelistedGA
Template:FailedGA


Testing main template

{{GA/Topic}}

Template:GA
Template:DelistedGA
Template:FailedGA