Template:Duck/doc
From MeritBadgeDotOrg
(Difference between revisions)
m (Complete re-write) |
m (re-write (again)) |
||
Line 10: | Line 10: | ||
'''This template must be ''[[substituted]]''.''' | '''This template must be ''[[substituted]]''.''' | ||
- | ==Examples== | + | ==Examples (including parameters)== |
- | Signature only: | + | ===Signature only=== |
+ | Typing this: | ||
<nowiki>{{subst:Duck|~~~~}}</nowiki> | <nowiki>{{subst:Duck|~~~~}}</nowiki> | ||
- | + | Results in the following: | |
- | + | ||
- | ==Parameters== | + | [[Image:Cyberduck icon.png|22px|''The "duck" test.'']] '''It ''looks'' like a [http://en.wikipedia.org/wiki/Wikipedia:The_duck_test duck] to me.''' —'''''[[User:Example|Example]]''''', 15:41, July 27, 2012 (EDT) |
- | + | ====Parameters==== | |
* '''''{{{1}}}''''' — Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''[[:Help:Signatures|sign]]''' your post. | * '''''{{{1}}}''''' — Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''[[:Help:Signatures|sign]]''' your post. | ||
* ''<s>{{{2}}}</s>'' — Is completely ignored (and dropped) by the template. | * ''<s>{{{2}}}</s>'' — 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.'']] '''It ''looks'' like a [http://en.wikipedia.org/wiki/Wikipedia:The_duck_test duck] to me.''' Your supplemental comment goes here. —'''''[[User:Example|Example]]''''', 15:41, July 27, 2012 (EDT) | ||
+ | ====Parameters==== | ||
* '''''{{{1}}}''''' — Insert ''your supplemental comment.'' '''''Then...''''' | * '''''{{{1}}}''''' — Insert ''your supplemental comment.'' '''''Then...''''' | ||
* '''''{{{2}}}''''' — Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''''[[:Help:Signatures|sign]]''''' your post. | * '''''{{{2}}}''''' — Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''''[[:Help:Signatures|sign]]''''' your post. | ||
+ | |||
==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:
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:
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.