Difference between revisions of "Template:Glossary"

From PanoTools.org Wiki
Jump to navigation Jump to search
m (corrected error)
 
(3 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=<section begin=Glossary />{{{1}}}<section end=Glossary />
+
|1={{{1}}}
|<section begin=Glossary>{{{1}}}</section><section end=Glossary />
+
|
 
}}
 
}}
[[Category:Glossary]]
 

Latest revision as of 17: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