Template:Duck/doc

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (Complete re-write)
Current revision (16:56, August 3, 2012) (edit) (undo)
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>
-
Or, ''optionally'', insert a supplemental comment, followed by your [[:Help:Signatures|Signature]]:
+
Results in the following:
-
<nowiki>{{subst:Duck|<Supplemental comment (optional).>|~~~~}}</nowiki>
+
-
==Parameters==
+
[[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)
-
Signature only:
+
====Parameters====
* '''''{{{1}}}''''' &mdash; Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''[[:Help:Signatures|sign]]''' your post.
* '''''{{{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.
* ''<s>{{{2}}}</s>'' &mdash; Is completely ignored (and dropped) by the template.
-
'''''&ndash;or&ndash;'''''
 
-
''Optionally'', insert a supplemental comment, followed by ''your '''[[:Help:Signatures|Signature]]''''':
+
===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...'''''
* '''''{{{1}}}''''' &mdash; Insert ''your supplemental comment.'' '''''Then...'''''
* '''''{{{2}}}''''' &mdash; Insert four tildes ''<nowiki>(~~~~)</nowiki>'' to '''''[[:Help:Signatures|sign]]''''' your post.
* '''''{{{2}}}''''' &mdash; 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:

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