Template:Barnstar documentation

{{Documentation

| content =

{{#ifeq:{{{autosubst|}}}|yes|{{Subst only|auto=yes}}|{{Subst only}}}}

{{#if:{{{header|}}}|{{{header|}}}}}{{#if:{{{for|}}}|

Criteria

{{{for|}}}}}

Usage

{{#if:{{{usage|}}}|{{{usage}}}|

To use this Barnstar template, create a new section on the user talkpage of the user you want to give the award to, and add {{subst:{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{BASEPAGENAME}}|{{FULLPAGENAME}}}}{{#ifeq:{{{nomessage|}}}|yes|||1=Put your message here.{{#ifeq:{{{autosign|}}}|yes|| ~~~~}}}}}}

to the talk page of the user to whom you wish to award it.

{{#ifeq:{{{alt|}}}|yes

|This barnstar has an alternate version.
To use, add |2=alt to the end:

{{subst:{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{BASEPAGENAME}}|{{FULLPAGENAME}}}}|1=Put your message here.{{#ifeq:{{{autosign|}}}|yes|| ~~~~}}|2=alt}}

Which produces:

{{ {{FULLPAGENAME}}|Put your message here ~~~~|alt}}

}}

}}

{{{footer|}}}

{{#ifexist:{{FULLPAGENAME}}/doc|{{ {{FULLPAGENAME}}/doc}} }}

|link box=This documentation is transcluded from Template:Barnstar documentation. ([{{fullurl:Template:Barnstar documentation|action=edit}} edit] | [{{fullurl:Template:Barnstar documentation|action=history}} history])
Editors can experiment in this {{#switch: {{SUBJECTSPACE}} | {{ns:module}} = module's | #default = template's}} {{

#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}

| {{{sandbox ([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] | [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])

| sandbox ([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}sandbox }} create] | [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of {{FULLPAGENAME}}}}}}} }} mirror])

}} and {{

#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}

| {{{testcases ([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])

| testcases ([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases }} create])

}} pages.
{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop

|
This template is fully protected and any categories should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected, while interlanguage links should be added to Wikidata. For more information see Wikipedia:Wikidata.

}}

}}{{Sandbox other||{{#if:{{yesno|{{{nocat|{{{nocats|no}}}}}}}}||{{#ifeq:{{{alt|}}}|yes|Category:Wikipedia barnstar templates with alternative versions|{{#if:{{{cat|}}}||Category:Wikipedia barnstar templates}}}}{{#if:{{{cat|}}}|}}}}}}}}}

{{Documentation}}