Template:Duck/doc

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (white space)
Current revision (14:56, August 3, 2012) (edit) (undo)
m (re-write (again))
 
(One intermediate revision not shown.)
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 (including parameters)==
-
<pre>{{subst:Duck}}</pre>
+
===Signature only===
-
<pre>{{subst:Duck|{{{1}}}}}</pre>
+
Typing this:
-
<nowiki>{{subst:Duck|<Supplemental comment (optional)>}}</nowiki>
+
<nowiki>{{subst:Duck|~~~~}}</nowiki>
 +
Results in the following:
 +
 
 +
[[Image:Cyberduck icon.png|22px|''The "duck" test.'']]&nbsp;'''It ''looks'' like a [http://en.wikipedia.org/wiki/Wikipedia:The_duck_test duck] to me.''' &mdash;'''''[[User:Example|Example]]''''', 15:41, July 27, 2012 (EDT)
 +
====Parameters====
 +
* '''''{{{1}}}''''' &mdash; Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''[[:Help:Signatures|sign]]''' your post.
 +
* ''<s>{{{2}}}</s>'' &mdash; Is completely ignored (and dropped) by the template.
 +
 
 +
 
 +
===Supplemental comment and signature===
 +
You can also ''(optionally)'' insert a supplemental comment, and '''''then''''' your [[:Help:Signatures|Signature]].
 +
 
 +
Typing this:
 +
<nowiki>{{subst:Duck|Your supplemental comment goes here.|~~~~}}</nowiki>
 +
Results in the following:
 +
 
 +
[[Image:Cyberduck icon.png|22px|''The "duck" test.'']]&nbsp;'''It ''looks'' like a [http://en.wikipedia.org/wiki/Wikipedia:The_duck_test duck] to me.''' Your supplemental comment goes here. &mdash;'''''[[User:Example|Example]]''''', 15:41, July 27, 2012 (EDT)
 +
====Parameters====
 +
* '''''{{{1}}}''''' &mdash; Insert ''your supplemental comment.'' '''''Then...'''''
 +
* '''''{{{2}}}''''' &mdash; Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''''[[:Help:Signatures|sign]]''''' your post.
-
==Variables==
 
-
===Automatic===
 
-
* ''Your '''[[:Help:Signatures|Signature]]''''' &mdash; will be ''automatically'' applied at the end of your post.
 
-
===Manual===
 
-
* '''''{{{1}}}''''' &mdash; Supplemental comment (Note: This is strictly ''optional''.)
 
==See also==
==See also==

Current revision


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 (including parameters)

Signature only

Typing this:

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

Results in the following:

The "duck" test. It looks like a duck to me.Example, 15:41, July 27, 2012 (EDT)

Parameters

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


Supplemental comment and signature

You can also (optionally) insert a supplemental comment, and then your Signature.

Typing this:

{{subst:Duck|Your supplemental comment goes here.|~~~~}}

Results in the following:

The "duck" test. It looks like a duck to me. Your supplemental comment goes here. —Example, 15:41, July 27, 2012 (EDT)

Parameters

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


See also

Personal tools
language