Jump to: navigation, search

Difference between revisions of "Template:Usage"

Line 18: Line 18:
 
  |-
 
  |-
 
  | {{codeblock|1={{{1}}}}}
 
  | {{codeblock|1={{{1}}}}}
  | {{{2}}}
+
  |  
 +
{{{2}}}
 
  |}
 
  |}
 
</includeonly>
 
</includeonly>

Revision as of 18:15, 12 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

{{Usage|<pre>{{MailingList|dev}}</pre>|2={{MailingList|dev}}}}

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.