Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 TemplateData  





3 See also  














Template:DYK user topicon






Simple English
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





This user helped get "{{{1}}}" listed at Did You Know on the main page.
Permanently protected template

From Wikipedia, the free encyclopedia
 


Usage

{{DYK user topicon
| 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]]
| sortkey      = 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
}}

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Article namearticle_name 1

The title of the article

Page nameoptional
Iconicon

The desired icon override

Default
DYK questionmark icon.svg
Fileoptional
DYK hookhook

The content of the hook, excluding "did you know..."

Stringoptional
Datedate

The date the hook appeared on the Main Page

Example
October 23, 2022
Dateoptional
Sort keysortkey

Allows ordering the icons according to the sortkey given

Unknownoptional
Widthwidth

Uses a different width for the images. Default is 20.

Numberoptional
Heightheight

Uses a different height for the images. Default is 20.

Numberoptional

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:DYK_user_topicon&oldid=1184059467"

Categories: 
User top icon content award templates
Wikipedia Did you know templates
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 8 November 2023, at 02:39 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki