Jump to: navigation, search

Difference between revisions of "Template:Usage"

(Usage)
(Usage)
Line 6: Line 6:
 
==Usage==
 
==Usage==
  
{{codeblock|{{Usage|<pre>{{MailingList|dev}}</pre>|2={{MailingList|dev}}}}}}
+
{{codeblock|1={{Usage|<pre>{{MailingList|dev}}</pre>|2={{MailingList|dev}}}}}}
  
 
Renders as:
 
Renders as:

Revision as of 14:55, 13 February 2008

Nasty meta-template for providing template usage information. The intention is to provide a standardized formatting for showing template usage within the body of the template itself. Instructions for the uninitiated will be forthcoming...

Due to inadequacies in the MediaWiki markup, the syntax to actually use this template is a little odd.

Usage

Markup Rendering
<pre>Mailinglist.gif dev@eclipse.org</pre>

Mailinglist.gif dev@eclipse.org

Renders as:

Markup Rendering
{{MailingList|dev}}

Mailinglist.gif dev@eclipse.org


Note: The "2=" bit is optional if the value of the rendered template in question does not include the = character. See this page for a full list of parameter limitations and relevant workarounds.