Jump to content

Template:Tc/doc

From Wikibooks

Example of a constant template (one without parameters or template calls).

Wikitext

This Template:Tc/doc (talk, backlinks, edit edit doc) contains:


Example of a constant template (one without parameters or template calls). =='"`UNIQ--h-1--QINU`"'Wikitext== This '''[[Template:{{PAGENAME}}]]''' ([[Template talk:{{PAGENAME}}|talk]], [[Special:Whatlinkshere/Template:{{PAGENAME}}|backlinks]], [http://meta.wikimedia.org{{localurl:Template:{{PAGENAME}}|action=edit}} edit] [http://meta.wikimedia.org{{localurl:Template:{{PAGENAME}}/doc|action=edit}} edit doc]) contains: ---- {{msgnw:{{PAGENAME}}}} ---- =='"`UNIQ--h-2--QINU`"' Examples == {| {{prettytable}} ! Code ! Result |- style="vertical-align:top;" | <pre> {{Tc}} </pre> ||{{Tc|}} |- style="vertical-align:top;" | <pre> {{Tc|}} </pre> ||{{Tc}} |- style="vertical-align:top;" | <pre> {{Tc|a}} </pre> ||{{Tc|a}} |} <includeonly>[[Category:Demo template]]</includeonly> <noinclude> [[Category:templates|{{PAGENAME}}]] </noinclude>


Examples

Code Result
{{Tc}}
in
{{Tc|}}
in
{{Tc|a}}
in