Difference between revisions of "Template:Glossary"

From PanoTools.org Wiki
Jump to: navigation, search
m (corrected error)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{#ifeq: {{{1| }}}| |usage:<br><pre>{{Glossary|Description text|1}}</pre> to show Description text in article or <pre>{{Glossary|Description text}}</pre> to '''not''' show Description text in article.<pre>[[Category:Glossary]]</pre> is inserted automatically, no need to write it explicitely|[[Category:Glossary]]}}
 
{{#switch:{{{2}}}
 
{{#switch:{{{2}}}
 
|1={{{1}}}
 
|1={{{1}}}
 
|
 
|
 
}}
 
}}
[[Category:Glossary]]
 

Latest revision as of 15:34, 18 November 2007

usage:
{{Glossary|Description text|1}}
to show Description text in article or
{{Glossary|Description text}}
to not show Description text in article.
[[Category:Glossary]]
is inserted automatically, no need to write it explicitely