This user helped get "{{{article_name}}}" listed at Did You Know on the main page.

Difference between revisions of "Template:DYK user topicon 3/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Created page with '{{top icon | imagename = {{#if:{{{icon|}}}|{{{icon}}}|symbol question.svg}} | name = DYK_{{{article_name|}}} | wikilink = {{{article_name|}}} | de...')
 
imported>Andrybak
(test)
 
Line 1: Line 1:
 
{{top icon
 
{{top icon
 
| imagename    = {{#if:{{{icon|}}}|{{{icon}}}|symbol question.svg}}
 
| imagename    = {{#if:{{{icon|}}}|{{{icon}}}|symbol question.svg}}
| name        = DYK_{{{article_name|}}}
+
| name        = DYK_{{{article_name|}}}123
 
| wikilink    = {{{article_name|}}}
 
| wikilink    = {{{article_name|}}}
 
| description  = {{#if:{{{hook|}}}|Did you know {{{hook}}} {{#if:{{{date|}}}| On the main page on {{{date}}} }}|This user helped get "{{{article_name}}}" listed at Did You Know on the main page{{#if:{{{date|}}}|  on {{{date}}} }} }}.
 
| description  = {{#if:{{{hook|}}}|Did you know {{{hook}}} {{#if:{{{date|}}}| On the main page on {{{date}}} }}|This user helped get "{{{article_name}}}" listed at Did You Know on the main page{{#if:{{{date|}}}|  on {{{date}}} }} }}.

Latest revision as of 11:02, 6 September 2020

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

Use this template to add an icon at the top of your userpage for an article that you wrote or expanded five times which appeared on Wikipedia:Did you know. Mousing/hovering over the icon will show the Did you know "hook" text you specified. Clicking on the icon will go to the article.

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

Usage

{{DYK user topicon 3
| article_name = Name of the article
| hook         = The DYK hook that was used
| date         = The date the article was displayed on the main page under [[WP:DYK]]
| sortorder    = Determines the order topicons are shown: recommended is date in YYYY-MM-DD format, to put them in chronological order.
| icon         = Optional name of image file for icon; see below
}}

Only the article name is strictly required, the other parameters are optional.

Icon
  • For Symbol question.svg, use |icon=Symbol question.svg, or omit |icon=
  • For DYK questionmark icon.svg, use |icon=DYK questionmark icon.svg

See also