Difference between revisions of "Template:Example"

From wiki.emacinc.com
Jump to: navigation, search
m (testing)
m (Tweaked)
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
  <nowiki>{{example|My First Example}}</nowiki>
 
  <nowiki>{{example|My First Example}}</nowiki>
  
</noinclude><includeonly>==== {{#ifeq: t{{{1|}}}|{{{1|-}}}|{{{1}}}|GAH{{warning|You must pass a heading name for this Example}} }} ====
+
</noinclude><includeonly>
 +
==== {{#ifeq:{{{1|}}}|{{{1|-}}}|{{{1}}}|THIS IS SUPPOSED TO BE AN EXAMPLE HEADING {{warning|You must pass a heading name for this Example}} }} ====
 
</includeonly>
 
</includeonly>

Latest revision as of 16:12, 18 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}}