Difference between revisions of "Template:Comics Star"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(document third alternative)
imported>Andrybak
m (fix)
 
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;" | {{#switch:{{{2}}}
+
|rowspan="2" style="vertical-align:middle;" | {{{{{|safesubst:}}}#switch:{{{2}}}
 
|alt=[[File:ComicsBarnstar.png|100px]]
 
|alt=[[File:ComicsBarnstar.png|100px]]
 
|boom=[[File:Comic Barnstar Hires.png|100px]]
 
|boom=[[File:Comic Barnstar Hires.png|100px]]
Line 12: Line 12:
 
{{Barnstar documentation
 
{{Barnstar documentation
 
|alt=yes
 
|alt=yes
|footer=Pass <code>boom</code> as second parameter to use the third alternative:  
+
|footer=Pass <code>boom</code> as second parameter to use the third alternative: <code><nowiki>{{subst:Comics Star|Your message here. ~~~~|boom}}</nowiki></code>
{| style="border: 1px solid gray; background-color: #fdffe7;"
+
{{ {{BASEPAGENAME}}|Your message here. ~~<nowiki>~~</nowiki>|boom}}
|rowspan="2" style="vertical-align:middle;" | {{#switch:boom
 
|alt=[[File:ComicsBarnstar.png|100px]]
 
|boom=[[File:Comic Barnstar Hires.png|100px]]
 
|#default=[[File:Comicbarnstar.png|100px]]
 
}}
 
|rowspan="2" |
 
|style="font-size: x-large; padding: 0; vertical-align: middle; height: 1.1em;" | '''The Comics Star'''
 
|-
 
|style="vertical-align: middle; border-top: 1px solid gray;" | put your message here —⁠[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 16:53, 1 May 2020 (UTC)
 
|}
 
{{ {{BASEPAGENAME}}|boom|1=Your message here ~~<nowiki>~~</nowiki>}}
 
 
|cat=Arts and culture barnstar templates
 
|cat=Arts and culture barnstar templates
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:55, 1 May 2020

Comicbarnstar.png The Comics Star
{{{1}}}
Template documentation

Usage

To use this template, add {{subst:Comics Star|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:Comics Star|put your message here ~~~~|alt}}
Which produces:

ComicsBarnstar.png The Comics Star
put your message here ~~~~

Pass boom as second parameter to use the third alternative: {{subst:Comics Star|Your message here. ~~~~|boom}}

Comic Barnstar Hires.png The Comics Star
Your message here. ~~~~