Difference between revisions of "Template:DYK user topicon 3/sandbox"
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
| This is the template sandbox page for Template:DYK user topicon 3 (diff). See also the companion subpage for test cases. |
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
See also
- {{DYK user topicon}} - uses File:DYK questionmark icon.svg as its default image, doesn't use hook
- {{DYK user topicon 2}} - uses File:Symbol question.svg as its default image, doesn't use hook
| The above documentation is transcluded from Template:DYK user topicon 3/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |