Changes

Jump to navigation Jump to search
copy original from wikipedia and mediawikify content
<noinclude>
This template is used to provide generic documentation for most of the [[:Category:User templates|barnstar]] templates.

Parameters available are:
*{{para|for}} Used to briefly describe what the award is for.
*{{para|alt}} set to ''yes'' if there is an alt parameter which is used to show an alternative image.
*{{para|nomessage}} set to ''yes'' if there is not any option to customise the awards message.
*{{para|autosign}} set to ''yes'' if the template automatically signs the message.
*{{para|header}} Used to add any header notes to docs. Add things such as shortcut links here.
*{{para|footer}} Used to add any footer notes to docs.

</noinclude>{{documentation|content=
<includeonly>{{substituted}}</includeonly>
{{{header|}}}
{{#if:{{{for|}}}|
===Criteria===

{{{for|}}}
}}
===Usage===

To use this template, add <code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{PAGENAME}}|{{FULLPAGENAME}}}}{{#ifeq:{{{nomessage|}}}|yes||<nowiki>|</nowiki>put your message here{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}}}<nowiki>}}</nowiki></code>
to the talk page of the user you wish to award it to.

{{#ifeq:{{{alt|}}}|yes
|This barnstar has an alternate version.<br>To use, add <code><nowiki>|alt</nowiki></code> to the end:
<code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{PAGENAME}}|{{FULLPAGENAME}}}}<nowiki>|</nowiki>put your message here{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}<nowiki>|alt}}</nowiki></code><br>
Which produces:
{{{{FULLPAGENAME}}|message <nowiki>~~~~</nowiki>|alt}}
}}
{{{footer|}}}

<!-- *** transclusion of /doc if it exists *** -->
{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}
}}

|link box=This documentation is transcluded from [[Template:Barnstar documentation]]. <span style="font-size:smaller; font-style: normal line-height:130%">([{{fullurl:Template:Barnstar documentation|action=edit}} edit] &#124; [{{fullurl:Template:Barnstar documentation|action=history}} history])</span>{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop
|<br/>This template is fully protected and any categories and interlanguage links should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} /doc] subpage, which is not protected.
}}
}}<noinclude>
[[Category:Template documentation]]
</noinclude>
Anonymous user

Navigation menu