Difference between revisions of "Template:TemplateDocRqd"
(Modify wording) |
(Add "done" parameter and (conditional) category) |
||
| Line 1: | Line 1: | ||
| + | {{#ifeq: {{{done|no}}} |yes|<s>}} | ||
<div style="color:#040">Hello {{PAGENAME}}. | <div style="color:#040">Hello {{PAGENAME}}. | ||
You were the creator of the <nowiki>{{</nowiki>[[template:{{{1}}}|{{{1}}}]]}} template, and perhaps others also. Since late May 2007, Conservapedia requires that all templates be properly documented. Please see [[help:Creating templates#Documenting templates|Creating templates]] for instructions on this. If the template(s) are not documented, they will be deleted. Thank you for your co-operation in this.{{#ifeq: {{{old|}}} | yes |<br />As this template was created before this policy was adopted, we will be flexible about enforcing this policy, but documentation is still required.|}} | You were the creator of the <nowiki>{{</nowiki>[[template:{{{1}}}|{{{1}}}]]}} template, and perhaps others also. Since late May 2007, Conservapedia requires that all templates be properly documented. Please see [[help:Creating templates#Documenting templates|Creating templates]] for instructions on this. If the template(s) are not documented, they will be deleted. Thank you for your co-operation in this.{{#ifeq: {{{old|}}} | yes |<br />As this template was created before this policy was adopted, we will be flexible about enforcing this policy, but documentation is still required.|}} | ||
| − | Alternatively, if a particular template is no longer required, please {{#ifeq: {{{sysop|}}}|true||ask a [[Special:Listusers%26group%3Dsysop|sysop]] to}} delete it.</div><noinclude> | + | Alternatively, if a particular template is no longer required, please {{#ifeq: {{{sysop|}}}|true||ask a [[Special:Listusers%26group%3Dsysop|sysop]] to}} delete it. |
| − | {{TemplateDoc|pages=user talk pages|purpose=Advise editor that their template needs documenting}} | + | {{#ifeq: {{{done|no}}}|yes|</s><br />Thanks for that.|<includeonly>[[Category:Undocumented templates]]</includeonly>}} |
| + | </div> | ||
| + | <noinclude> | ||
| + | {{TemplateDoc|pages=user talk pages|purpose=Advise editor that their template needs documenting|see below}} | ||
{{parms| | {{parms| | ||
| − | {{parm|1|template name|yes}} | + | {{parm|1|template name|yes}} |
| − | {{parm|old|See below|no}} | + | {{parm|old|See below|no}} |
| − | {{parm|sysop|See below|no}} | + | {{parm|sysop|See below|no}} |
| + | {{parm|done|See below|no}} | ||
}} | }} | ||
| + | This template adds the category [[:Category:Undocumented templates|Undocumented templates]] to the page, unless parameter ''done'' = "yes". | ||
| + | |||
*If parameter '''old''' is not supplied or not equal to "yes", the following text will show: | *If parameter '''old''' is not supplied or not equal to "yes", the following text will show: | ||
<blockquote>{{TemplateDocRqd|name}}</blockquote> | <blockquote>{{TemplateDocRqd|name}}</blockquote> | ||
| Line 15: | Line 22: | ||
<blockquote>{{TemplateDocRqd|name|old=yes}}</blockquote> | <blockquote>{{TemplateDocRqd|name|old=yes}}</blockquote> | ||
* If parameter '''sysop''' is equal to "true", the words "ask a sysop to" are omitted from the last line. | * If parameter '''sysop''' is equal to "true", the words "ask a sysop to" are omitted from the last line. | ||
| + | |||
| + | * If parameter '''done'' is equal to "yes", the message is struck out and followed with a thank-you. Also, in this case the category does not apply. | ||
| + | <blockquote>{{TemplateDocRqd|name|done=yes}}</blockquote> | ||
NB: The user's name is filled in automatically. The examples above show this page's name instead of the user's name. | NB: The user's name is filled in automatically. The examples above show this page's name instead of the user's name. | ||
</noinclude> | </noinclude> | ||
Revision as of 12:41, July 9, 2007
You were the creator of the {{[[template:{{{1}}}|{{{1}}}]]}} template, and perhaps others also. Since late May 2007, Conservapedia requires that all templates be properly documented. Please see Creating templates for instructions on this. If the template(s) are not documented, they will be deleted. Thank you for your co-operation in this.
Alternatively, if a particular template is no longer required, please ask a sysop to delete it.
| Template: TemplateDocRqd | |
|---|---|
| Use on | user talk pages |
| Use for | Advise editor that their template needs documenting |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| 1 | template name | yes | |
| old | See below | no | |
| sysop | See below | no | |
| done | See below | no | |
This template adds the category Undocumented templates to the page, unless parameter done = "yes".
- If parameter old is not supplied or not equal to "yes", the following text will show:
Hello TemplateDocRqd.You were the creator of the {{name}} template, and perhaps others also. Since late May 2007, Conservapedia requires that all templates be properly documented. Please see Creating templates for instructions on this. If the template(s) are not documented, they will be deleted. Thank you for your co-operation in this.
Alternatively, if a particular template is no longer required, please ask a sysop to delete it.
- If parameter old is equal to "yes", the following text will show:
Hello TemplateDocRqd.You were the creator of the {{name}} template, and perhaps others also. Since late May 2007, Conservapedia requires that all templates be properly documented. Please see Creating templates for instructions on this. If the template(s) are not documented, they will be deleted. Thank you for your co-operation in this.
As this template was created before this policy was adopted, we will be flexible about enforcing this policy, but documentation is still required.Alternatively, if a particular template is no longer required, please ask a sysop to delete it.
- If parameter sysop is equal to "true", the words "ask a sysop to" are omitted from the last line.
- If parameter 'done is equal to "yes", the message is struck out and followed with a thank-you. Also, in this case the category does not apply.
Hello TemplateDocRqd.You were the creator of the {{name}} template, and perhaps others also. Since late May 2007, Conservapedia requires that all templates be properly documented. Please see Creating templates for instructions on this. If the template(s) are not documented, they will be deleted. Thank you for your co-operation in this.
Alternatively, if a particular template is no longer required, please ask a sysop to delete it.
Thanks for that.
NB: The user's name is filled in automatically. The examples above show this page's name instead of the user's name.