Jump to: navigation, search

Difference between revisions of "Template:Usage"

Line 6: Line 6:
 
==Usage==
 
==Usage==
  
<pre>{{Usage|&lt;nowiki&gt;{{MailingList|dev}}&lt;/nowiki&gt;|{{MailingList|dev}}}}</pre>
+
<pre>{{Usage|&lt;pre&gt;{{MailingList|dev}}&lt;/pre&gt;|{{MailingList|dev}}}}</pre>
  
 
Renders as:
 
Renders as:
Line 12: Line 12:
 
{| style="background-color: #dadada" width="100%"
 
{| style="background-color: #dadada" width="100%"
 
  |  
 
  |  
{{Usage|<nowiki>{{MailingList|dev}}</nowiki>|{{MailingList|dev}}}}
+
{{Usage|<pre>{{MailingList|dev}}</pre>|{{MailingList|dev}}}}
 
  |}
 
  |}
  
 
</noinclude><includeonly>===Usage===
 
</noinclude><includeonly>===Usage===
  
<table><tr><td>
+
{| border="1" width="100%"
  {{{1}}}
+
! Markup !! Rendering
</td></tr></table>
+
|-
 
+
  | {{{1}}}
Renders as:
+
| {{{2}}}
 
+
|}
{{{2}}}
+
 
</includeonly>
 
</includeonly>

Revision as of 16:46, 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>|{{MailingList|dev}}}}

Renders as:

Markup Rendering
{{MailingList|dev}}

Mailinglist.gif dev@eclipse.org