Template:Duck/doc

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (white space)
m (Complete re-write)
Line 7: Line 7:
{{See|[http://en.wikipedia.org/wiki/Wikipedia:The_duck_test "The duck test."] for details.}}
{{See|[http://en.wikipedia.org/wiki/Wikipedia:The_duck_test "The duck test."] for details.}}
-
'''NOTE:''' This a ''comment template''... you do '''''not''''' have to sign when using this template; it will automatically do that for you.
 
===Substitution===
===Substitution===
'''This template must be ''[[substituted]]''.'''
'''This template must be ''[[substituted]]''.'''
==Examples==
==Examples==
-
<pre>{{subst:Duck}}</pre>
+
Signature only:
-
<pre>{{subst:Duck|{{{1}}}}}</pre>
+
<nowiki>{{subst:Duck|~~~~}}</nowiki>
-
<nowiki>{{subst:Duck|<Supplemental comment (optional)>}}</nowiki>
+
Or, ''optionally'', insert a supplemental comment, followed by your [[:Help:Signatures|Signature]]:
 +
<nowiki>{{subst:Duck|<Supplemental comment (optional).>|~~~~}}</nowiki>
-
==Variables==
+
==Parameters==
-
===Automatic===
+
Signature only:
-
* ''Your '''[[:Help:Signatures|Signature]]''''' &mdash; will be ''automatically'' applied at the end of your post.
+
* '''''{{{1}}}''''' &mdash; Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''[[:Help:Signatures|sign]]''' your post.
-
===Manual===
+
* ''<s>{{{2}}}</s>'' &mdash; Is completely ignored (and dropped) by the template.
-
* '''''{{{1}}}''''' &mdash; Supplemental comment (Note: This is strictly ''optional''.)
+
 
 +
'''''&ndash;or&ndash;'''''
 +
 
 +
''Optionally'', insert a supplemental comment, followed by ''your '''[[:Help:Signatures|Signature]]''''':
 +
* '''''{{{1}}}''''' &mdash; Insert ''your supplemental comment.'' '''''Then...'''''
 +
* '''''{{{2}}}''''' &mdash; Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''''[[:Help:Signatures|sign]]''''' your post.
==See also==
==See also==

Revision as of 13:10, August 3, 2012


Usage

This is a modified version of http://meta.wikimedia.org/wiki/Template:Duck.

See: "The duck test." for details.

Substitution

This template must be substituted.

Examples

Signature only:

{{subst:Duck|~~~~}}

Or, optionally, insert a supplemental comment, followed by your Signature:

{{subst:Duck|<Supplemental comment (optional).>|~~~~}}

Parameters

Signature only:

  • {{{1}}} — Insert four tildes (~~~~) to sign your post.
  • {{{2}}} — Is completely ignored (and dropped) by the template.

–or–

Optionally, insert a supplemental comment, followed by your Signature:

  • {{{1}}} — Insert your supplemental comment. Then...
  • {{{2}}} — Insert four tildes (~~~~) to sign your post.

See also

Personal tools
language