Difference between revisions of "Template:Cleanup Button"

From blackwiki
Jump to navigation Jump to search
imported>TheQ Editor
(create template)
 
imported>WOSlinker
(tidy center tags for better HTML5 compatibility)
 
Line 1: Line 1:
<div style="float: {{{float|left}}}; margin-left: 1em; width: 20%; padding: 0.5em; text-align: center;"><center>[[File:Button Icon Orange.svg|{{{size|200px}}}|center|link=Special:RandomInCategory/All pages needing cleanup]]<br />
+
<div style="float: {{{float|left}}}; margin-left: 1em; width: 20%; padding: 0.5em; text-align: center;">[[File:Button Icon Orange.svg|{{{size|200px}}}|center|link=Special:RandomInCategory/All pages needing cleanup]]<br />
 
<span style="font-size:{{{font|15px}}}"><big>'''Click this button to help clean up an article in need.'''</big></span>
 
<span style="font-size:{{{font|15px}}}"><big>'''Click this button to help clean up an article in need.'''</big></span>
</center>
 
 
</div>
 
</div>
  

Latest revision as of 10:24, 17 September 2018

Button Icon Orange.svg

Click this button to help clean up an article in need.


Template documentation[view] [edit] [history] [purge]

This template has three optional parameters:

  • size. This parameter determines the size of the button. The default value is 200px. To show the button at a different size, call the template but with a different size parameter. For example, {{Cleanup Button|size=50px}} (quarter size) would produce:
Button Icon Orange.svg

Click this button to help clean up an article in need.


  • font. This parameter determines the size of the text. The default value for this parameter is 10px but with big font. To show the text at a different size, call the template but with a different font parameter. For example, {{Cleanup Button|font=10px}} (one third) would produce:
Button Icon Orange.svg

Click this button to help clean up an article in need.


  • float, which specifies the float attribute of the <div> containing the template. For example, {{Cleanup Button|float=right}} would produce:
Button Icon Orange.svg

Click this button to help clean up an article in need.