Template:Wikipedia glossary/doc
This is a documentation subpage for Template:Wikipedia glossary. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]Place {{Wikipedia glossary}}
on the pages of items linked from the glossary. This template is not for use in mainspace (articles).
Pages with this template are categorised into Category:Wikipedia glossary items, if they are in the "Wikipedia:" or "Help:" namespace. No category is used otherwise, since the placement of the template on a page in another namespace is probably an error. If a term in the glossary is defined in a "User:" namespace page, it can be categorised by adding the parameter |category=yes
.
This template is unrelated to encyclopedic glossary articles; for those, .
Providing a section link
[edit]
e.g.
{{Wikipedia glossary|filed under}}
gives (see far right):
{{Wikipedia glossary|BEANS}}
This will link to the section by that name in the Wikipedia:Glossary page. The value provided must exactly match a heading or anchor name in the glossary page. E.g. a heading of ==Foo==
or anchor of #Foo
would be |Foo
in the template. If the name itself contain a =
character (as in #Foo=bar
), use |1=Foo=bar
in the template.
Category suppression
[edit]Addition of the page to Category:Wikipedia glossary items can be suppressed (e.g. in template documentation, or on draft pages) with |nocat=yes
or |category=no
.