Difference between revisions of "Template:GAN/AH"

From blackwiki
Jump to navigation Jump to search
imported>Geometry guy
(Fix)
imported>Geometry guy
(Backwards)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{ArticleHistory
+
<includeonly>{{#if:{{{1|}}}|
 +
{{!}} action{{{1}}}      = GAN
 +
{{!}} action{{{1}}}date  = {{subst:</includeonly><includeonly>#if:{{{date|}}}|{{{date}}}|~~</includeonly>~<includeonly>~~}}
 +
{{!}} action{{{1}}}link  = {{subst:</includeonly><includeonly>FULLPAGENAME}}/GA{{{page|1}}}
 +
{{!}} action{{{1}}}result = {{{result|{{{2}}}}}}
 +
{{!}} action{{{1}}}oldid  =
 +
|{{ArticleHistory
 
| action1      = GAN
 
| action1      = GAN
 
| action1date  = {{subst:</includeonly><includeonly>#if:{{{date|}}}|{{{date}}}|~~</includeonly>~<includeonly>~~}}
 
| action1date  = {{subst:</includeonly><includeonly>#if:{{{date|}}}|{{{date}}}|~~</includeonly>~<includeonly>~~}}
Line 8: Line 14:
 
| currentstatus = {{#switch:{{{result|{{{2}}}}}}|pass|passed|list|listed=GA|fail|failed|not listed=DGA}}
 
| currentstatus = {{#switch:{{{result|{{{2}}}}}}|pass|passed|list|listed=GA|fail|failed|not listed=DGA}}
 
| topic = {{{topic|}}}
 
| topic = {{{topic|}}}
}}|
+
}} }}</includeonly><noinclude>{{documentation, template}}</noinclude>
{{!}} action{{{1}}}      = GAN
 
{{!}} action{{{1}}}date  = {{subst:</includeonly><includeonly>#if:{{{date|}}}|{{{date}}}|~~</includeonly>~<includeonly>~~}}
 
{{!}} action{{{1}}}link  = {{subst:</includeonly><includeonly>FULLPAGENAME}}/GA{{{page|1}}}
 
{{!}} action{{{1}}}result = {{{result|{{{2}}}}}}
 
{{!}} action{{{1}}}oldid  =
 
}}</includeonly><noinclude>{{documentation, template}}</noinclude>
 

Revision as of 22:28, 5 February 2009

~~

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

{{GA nominee}} subtemplates:

GAN/AH

This purpose of this template is to help editors add {{Article history}} actions to record the outcome of a good article nomination for articles with a pre-existing Article history. Remove the {{GA nominee}} template and substitute this one into the {{Article history}} template. Please only do this if you are confident with using Article history, and check for the red error category afterwards.

The syntax is:

{{subst:GAN/AH|action number|result=result|page=talk subpage number}}

If the action number is omitted, it is assumed to be 1. If the page is omitted, it is assumed to be 1.