Difference between revisions of "Template:GAN/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(simpler code)
 
imported>Amalthea
(even cleaner)
Line 1: Line 1:
{{ {{{|safesubst:}}}Require subst|template=GAN
+
{{ {{{|safesubst:}}}#ifeq: {{ {{{|safesubst:}}}NAMESPACE}}{{ {{{|safesubst:}}}ifsubst||XXX}}|Talk|
  | <includeonly>{{GA nominee|~~</includeonly><includeonly>~~</includeonly><includeonly>~|nominator=~~</includeonly><includeonly>~|page={{ {{{|subst:}}}#expr:{{ {{{|subst:}}}Count pages|Talk:{{ {{{|subst:}}}PAGENAME}}/GA}} + 1 }}|subtopic={{</includeonly><includeonly>subst:</includeonly><includeonly>GA/Subtopic|{{{subtopic}}}}}|status=|note=}}</includeonly>
+
 
}}
+
<includeonly>{{GA nominee|{{subst:5~}}|nominator={{subst:3~}}|page={{subst:#expr:{{subst:Count pages|Talk:{{subst:PAGENAME}}/GA}} + 1 }}|subtopic={{subst:GA/Subtopic|{{{subtopic}}}}}|status=|note=}}</includeonly>
<noinclude>
+
 
{{template sandbox notice}}
+
|{{error|tag=span|The {{tl|GAN}} template should be '''substituted''' at the top of the article '''talk''' page.</span>}}
 +
}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:50, 29 April 2010

The {{GAN}} template should be substituted at the top of the article talk page.

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

Usage

This template is used to initiate a good article nomination.

From Wikipedia:Good article nominations/Instructions#Step 2: Nominating the article:

  1. Paste Template:Tlsx to the top of the article talk page. Do not place it inside another template such as WikiProject banner shell.
  2. For the |subtopic= parameter, add one of the following 30 subtopic sections headers that best defines the article:
    Agriculture, food and drink  · Art and architecture  · Computing and engineering  · Transport  · Geography  · Places  · World history  · Royalty, nobility and heraldry  · Language and literature  · Mathematics and mathematicians  · Film  · Television  · Media and drama  · Albums  · Songs  · Music  · Biology and medicine  · Chemistry and materials science  · Earth sciences  · Physics and astronomy  · Philosophy and religion  · Culture, sociology and psychology  · Education  · Economics and business  · Law  · Magazines and print journalism  · Politics and government  · Sports and recreation  · Video games  · Warfare
    If it doesn't fit under any of the above categories, leave the field blank. The nomination will be sorted in the Miscellaneous section.
  3. Save the page. A bot will add the nomination to the GA nominations page under the chosen subtopic heading to indicate that the article is ready to be reviewed.

See also