Difference between revisions of "Template:GA inline"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(typo)
imported>SMcCandlish
(typo)
Line 1: Line 1:
[[File:Symbol support vote.svg|15x15px|link=Wikipedia:Good article]]{{#if:{{{1|{{{article|}}}}}}|&nbsp;[[{{{1|{{{article}}}}}}]]}}{{#if:{{{2|{{{date|}}}}}}|, promoted on {{{2|{{{date}}}}}}}}<noinclude>
+
[[File:Symbol support vote.svg|15x15px|link=Wikipedia:Good articles]]{{#if:{{{1|{{{article|}}}}}}|&nbsp;[[{{{1|{{{article}}}}}}]]}}{{#if:{{{2|{{{date|}}}}}}|, promoted on {{{2|{{{date}}}}}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:31, 3 July 2016

Symbol support vote.svg

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

This is an inline Good Article template, for use in user- and project-space lists of articles.

Usage

It can be used just to generate the GA icon with a link to Wikipedia:Good articles, and can also be given parameters to name the article and/or the date of promotion to GA.

Parameters

  • |1= a.k.a. |article= (or first unnumbered parameter) – The name of the article; it will be linked for you.
  • |2= a.k.a. |date= (or second unnumbered parameter) – The date of promotion to Good, in whatever format is preferred

Examples

Code Result
{{GA inline}} Symbol support vote.svg
{{GA inline|Attack of the Killer Tomatoes}} Symbol support vote.svg Attack of the Killer Tomatoes
{{GA inline|Attack of the Killer Tomatoes|1 January 2020}} Symbol support vote.svg Attack of the Killer Tomatoes, promoted on 1 January 2020
[[Attack of the Killer Tomatoes]] {{GA inline|date=2020-01-01}} Attack of the Killer Tomatoes Symbol support vote.svg, promoted on 2020-01-01

See also

  • {{FA inline}}, same but for Featured Articles (or other Featured Content).