Difference between revisions of "Template:DYK user topicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>GRuban
({{tl|DYK user topicon 3}})
imported>John M Wolfson
(DYK user icon)
 
(3 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
</pre>
 
</pre>
  
;Icon
+
;Options:
 
*For [[File:DYK questionmark icon.svg|15px]], omit {{para|icon}}  
 
*For [[File:DYK questionmark icon.svg|15px]], omit {{para|icon}}  
*For [[File:Symbol question.svg|15px]], use {{para|icon|Symbol question.svg}}  
+
*For [[File:Symbol question.svg|15px]], use {{para|icon|Symbol question.svg}}
 +
*To order the icons use {{para|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==
 
==See also==
 
* {{tl|DYK user topicon 2}} - uses [[:File:Symbol question.svg]] as its default image
 
* {{tl|DYK user topicon 2}} - uses [[:File:Symbol question.svg]] as its default image
 
* {{tl|DYK user topicon 3}} - allows specifying DYK hook text as the icon description text
 
* {{tl|DYK user topicon 3}} - allows specifying DYK hook text as the icon description text
 +
* {{tl|DYK user icon}} - a normal icon for userpages
 
{{top icon templates}}
 
{{top icon templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:User top icon content award templates]]
 
[[Category:User top icon content award templates]]
[[Category:Wikipedia Did you know templates]]
+
[[Category:DYK user templates]]
[[Category:Wikipedia featured content templates]]
+
}}</includeonly>
[[Category:Wikipedia-related user templates]]
 
</includeonly>
 

Latest revision as of 00:45, 12 May 2020

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 DYK questionmark icon.svg, omit |icon=
  • For Symbol question.svg, 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