Difference between revisions of "Template:Bot operator's barnstar"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(fix bug part 2)
imported>SMcCandlish
(more fix; doc)
Line 1: Line 1:
 
{| style="border: 1px solid {{{border|gray}}}; background-color: {{{color|#fdffe7}}};"
 
{| style="border: 1px solid {{{border|gray}}}; background-color: {{{color|#fdffe7}}};"
|rowspan="2" style="vertical-align:middle;" | {{{{{|safesubst:}}}#ifeq:{{{2|{{{3}}}}}}|alt|[[File:Bot Barnstar Hires.png|100px]]|[[File:Bot operator's barnstar.png|100px]]}}
+
|rowspan="2" style="vertical-align:middle;" | {{{{{|safesubst:}}}#ifeq:{{{2|}}}|alt|[[File:Bot Barnstar Hires.png|100px]]|{{{{{|safesubst:}}}#ifeq:{{{3|}}}|alt|[[File:Bot Barnstar Hires.png|100px]]|[[File:Bot operator's barnstar.png|100px]]}}}}
 
|rowspan="2" |
 
|rowspan="2" |
 
|style="font-size: x-large; padding: 0; vertical-align: middle; height: 1.1em;" |{{{{{|safesubst:}}}#ifeq:{{{2}}}|alt|Bot Operator's Barnstar|{{{2|Bot Operator's Barnstar}}}}}
 
|style="font-size: x-large; padding: 0; vertical-align: middle; height: 1.1em;" |{{{{{|safesubst:}}}#ifeq:{{{2}}}|alt|Bot Operator's Barnstar|{{{2|Bot Operator's Barnstar}}}}}
Line 8: Line 8:
 
<noinclude>
 
<noinclude>
 
{{Barnstar documentation
 
{{Barnstar documentation
|footer = Alternatively use <code><nowiki>{{subst:</nowiki>Bot operator&#39;s barnstar<nowiki>|message ~~~~|title}}</nowiki></code> to title the barnstar differently.
+
|footer = You can change the title of the barnstar with {{para|2}}: {{tlx|Bot operator's barnstar|2=Tool Operator's Barnstar}}. This also works with the other parameters: {{tlx|Bot operator's barnstar |My message! Yak yak, blah blah.&nbsp;|Tool Operator's Barnstar&nbsp;|alt}} gives: {{Bot operator's barnstar |My message! Yak yak, blah blah. |Tool Operator's Barnstar |alt}} (in this case, either every parameter must be numbered or none may be numbered; you can't mix the styles).
 +
 
 
|alt=yes
 
|alt=yes
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 00:58, 25 July 2018

Bot operator's barnstar.png Bot Operator's Barnstar
{{{1}}}
Template documentation

Usage

To use this template, add {{subst:Bot operator's barnstar|1=Put your message here. ~~~~}} to the talk page of the user to whom you wish to award it.

This barnstar has an alternate version.
To use, add |alt to the end: {{subst:Bot operator's barnstar|put your message here ~~~~|alt}}
Which produces:

Bot Barnstar Hires.png Bot Operator's Barnstar
put your message here ~~~~

You can change the title of the barnstar with |2=: {{Bot operator's barnstar|Tool Operator's Barnstar}}. This also works with the other parameters: {{Bot operator's barnstar |My message! Yak yak, blah blah. |Tool Operator's Barnstar |alt}} gives:

Bot Barnstar Hires.png Tool Operator's Barnstar
My message! Yak yak, blah blah.
(in this case, either every parameter must be numbered or none may be numbered; you can't mix the styles).