Difference between revisions of "Template:Example"

From wiki.emacinc.com
Jump to: navigation, search
m (First version.)
m (Tweaked)
Line 8: Line 8:
 
  <nowiki>{{example|My First Example}}</nowiki>
 
  <nowiki>{{example|My First Example}}</nowiki>
  
</noinclude><includeonly>==== {{#ifeq:{{{1|}}}|{{{1|-}}}|{{{1}}}|THIS IS SUPPOSED TO BE AN EXAMPLE HEADING {{warning|You must pass a heading name for this Example}} }} ====
+
</noinclude><includeonly><br />==== {{#ifeq:{{{1|}}}|{{{1|-}}}|{{{1}}}|THIS IS SUPPOSED TO BE AN EXAMPLE HEADING {{warning|You must pass a heading name for this Example}} }} ====
 
</includeonly>
 
</includeonly>

Revision as of 16:19, 17 November 2014

Example Heading Template

Use this template to create headings for each example you list in your documentation. This is needed to keep things consistent.

Use like this:

{{example|My First Example}}