Difference between revisions of "Template:DYK user topicon"

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
m (piping {{{number}}} to allow custom topicon sorting using AWB)
imported>Edokter
m (→‎top: Rename |number= to |sortkey= using AWB)
Line 4: Line 4:
 
| wikilink    = {{{article_name|}}}
 
| wikilink    = {{{article_name|}}}
 
| description  = This user helped get "{{{article_name}}}" listed at Did You Know on the main page{{#if:{{{date|}}}|  on {{{date}}} }}.
 
| description  = This user helped get "{{{article_name}}}" listed at Did You Know on the main page{{#if:{{{date|}}}|  on {{{date}}} }}.
| number      = {{{number|}}}
+
| sortkey      = {{{sortkey|}}}
 
| width        = {{{width|}}}
 
| width        = {{{width|}}}
 
| height      = {{{height|}}}
 
| height      = {{{height|}}}

Revision as of 07:35, 17 May 2016

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

Use this template to add an icon on your userpage for the article that you wrote or expanded five times which appeared on Wikipedia:Did you know.

This template is a derivative of {{topicon}}.

Usage

{{DYK user topicon
| article_name = Name of the article
| date         = The date the article was displayed on the main page under [[WP:DYK]]
| icon         = Optional name of image file for icon; see below
}}
Options
  • For 15px, omit |icon=
  • For 15px, use |icon=Symbol question.svg
  • To order the icons use |sortkey=. They are arranged alphabetically, meaning "19" comes before "2", so add a leading zero if you are using numbers to sort ten or more icons.

See also