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

From blackwiki
Jump to navigation Jump to search
(→‎Usage: document new parameter)
imported>Andrybak
(add category sort keys)
 
(13 intermediate revisions by 12 users not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
 +
Use this template to add an icon on your userpage for the [[Wikipedia:Good articles|good article]] that you helped write.
  
Use this template to add a icon on your userpage for the [[Wikipedia:Good articles|good article]] that you helped write.
 
 
This template is a derivative of {{tl|top icon}}.
 
This template is a derivative of {{tl|top icon}}.
 
  
 
<pre>
 
<pre>
Line 12: Line 11:
 
| article_name = Name of the article
 
| article_name = Name of the article
 
| date        = The date the article was promoted to Good Article (optional)
 
| date        = The date the article was promoted to Good Article (optional)
| icon_nr      = The position number for the icon, in case you have multiple (starts at 0)
+
| action      = An alternative to "helped" in the "This user helped..." description
| extra_offset = Amount of pixels you want to move the icon to move extra to the left
+
| become_alt  = An alternative to "become" in the "become a good article" description
| action      = An alternative to "wrote" in the "This user wrote ..." description
 
 
}}
 
}}
 
 
</pre>
 
</pre>
  
Line 22: Line 19:
 
{{top icon templates}}
 
{{top icon templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia GA templates]]
+
[[Category:User top icon content award templates|Good article]]
</includeonly>
+
[[Category:Good content user templates|Article]]
 +
}}</includeonly>

Latest revision as of 11:34, 27 September 2020

Usage

Use this template to add an icon on your userpage for the good article that you helped write.

This template is a derivative of {{top icon}}.

{{GA user topicon
| article_name = Name of the article
| date         = The date the article was promoted to Good Article (optional)
| action       = An alternative to "helped" in the "This user helped..." description
| become_alt   = An alternative to "become" in the "become a good article" description
}}

See also