Difference between revisions of "Template:Barnstar maker"

From blackwiki
Jump to navigation Jump to search
imported>Awkwafaba
imported>Andrybak
(improve padding)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|rowspan="2" valign="middle" | [[File:{{{1}}}|100px]]
 
|rowspan="2" valign="middle" | [[File:{{{1}}}|100px]]
 
|rowspan="2" |
 
|rowspan="2" |
|style="font-size: x-large; padding: 0; vertical-align: middle; height: 1.1em;" |'''{{{2}}}'''
+
|style="font-size: x-large; padding: 0 0.5em 0; vertical-align: middle; height: 1.1em;" |'''{{{2}}}'''
 
|-
 
|-
|style="vertical-align: middle; border-top: 1px solid gray;" | {{<noinclude><!-- --></noinclude>{1}}}
+
|style="vertical-align: middle; border-top: 1px solid gray;" | {{<noinclude />{1}}}
|}<includeonly><no<noinclude><!-- --></noinclude>include>
+
|}<includeonly><no<noinclude />include>
 
{{Barnstar documentation
 
{{Barnstar documentation
 
|for = The ''{{{2}}}'' is an award for [[Wikipedia:WikiProject {{{3}}}|WikiProject {{{3}}}]], and may be bestowed to anyone who has made significant contributions to Wikipedia's coverage of topics related to {{{3}}} of all types and to any subject relating to {{{3}}}, or to the project itself.  This award may be given by anyone, to anyone, in a [[Wikipedia:Barnstars|barnstar]]-like fashion.
 
|for = The ''{{{2}}}'' is an award for [[Wikipedia:WikiProject {{{3}}}|WikiProject {{{3}}}]], and may be bestowed to anyone who has made significant contributions to Wikipedia's coverage of topics related to {{{3}}} of all types and to any subject relating to {{{3}}}, or to the project itself.  This award may be given by anyone, to anyone, in a [[Wikipedia:Barnstars|barnstar]]-like fashion.
 
|footer =  
 
|footer =  
}}[[Category:Wikipedia barnstar templates|{{{3}}}]]
+
}}{{DEFAULTSORT:{{{3}}}}}
</includeonly>
+
[[Category:Templates created by Barnstar maker|{{{3}}}]]
 +
</no<noinclude />include>
 +
</includeonly><noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>
<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 17:15, 30 October 2020

[[File:{{{1}}}|100px]] {{{2}}}
{{{1}}}
Template documentation[view] [edit] [history] [purge]

This template is for creating simple barnstar templates, including documentation. It was based on User:Kingpin13/How to create a barnstar/Template template.

Before using this template, create a barnstar image using these guidelines. Typically these images are based on Original Barnstar Hires.png.

Usage

This template should always be sustituted. Use {{subst:Barnstar maker|your image here|Title of your barnstar|Topic}} to create a new barnstar.

You will want to create it at a new page in template namespace. For example, if you want to create a "Pickle Barnstar" then you want to go to Template:Pickle Barnstar and use the code for this template at that page.

The first parameter is the name of the image file. This will appear in the left side of the box. Do not include the File: prefix. Also omit any brackets. The size will be set automatically to a standard 100px.

The second parameter is the name of the barnstar, which will appear in the top part of the box. It does not have to match the name of the template page.

The third and final parameter is the topic. This is used for the template documentation, and will not appear in the template itself. Depending on the capitalization used in the name of the related WikiProject, this may need cleanup after you use the template.

Further reading