Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Template:Usage"

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

Latest revision as of 16:28, 23 March 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.


Back to the top