Difference between revisions of "Template:Example"

From wiki.emacinc.com
Jump to: navigation, search
(Created)
 
m (testing)
Line 8: Line 8:
 
  <nowiki>{{example|My First Example}}</nowiki>
 
  <nowiki>{{example|My First Example}}</nowiki>
  
</noinclude><includeonly>==== {{#ifeq:{{{1|}}}|{{{1|-}}}|{{{1}}}|{{warning|You must pass a heading name for this Example}}}} ====
+
</noinclude><includeonly>==== {{#ifeq:{{{1|}}}|{{{1|-}}}|{{{1}}}|GAH{{warning|You must pass a heading name for this Example}} }} ====
 
</includeonly>
 
</includeonly>

Revision as of 20:06, 13 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}}