Template:DYK user topicon/doc
![]() | This is a documentation subpage for Template:DYK user topicon. It may contain usage information, categories and other content that is not part of the original template page. |
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.
Usage
<syntaxhighlight lang="wikitext"> </syntaxhighlight>
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:DYK user topicon in articles based on its TemplateData.
TemplateData for DYK user topicon
Shows a 'Did You Know' topicon for user pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article name | article_name 1 | The title of the article | Page name | optional |
Icon | icon | The desired icon override
| File | optional |
DYK hook | hook | The content of the hook, excluding "did you know..." | String | optional |
Date | date | The date the hook appeared on the Main Page
| Date | optional |
Sort key | sortkey | Allows ordering the icons according to the sortkey given | Unknown | optional |
Width | width | Uses a different width for the images. Default is 20. | Number | optional |
Height | height | Uses a different height for the images. Default is 20. | Number | optional |
See also
- {{DYK user icon}} - a normal icon for userpages
- {{Top icon}}