Difference between revisions of "Help:Writing glossary terms"

From Opasnet
Jump to: navigation, search
(some help written)
 
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
This part is NOT displayed (Only content between <section begin> and <section end> is displayed
 
This part is NOT displayed (Only content between <section begin> and <section end> is displayed
 
</pre>
 
</pre>
 +
 +
== Linking to glossary ==
 +
 +
You can link to a glossary term in 2 ways:
 +
# Direct link to term page: '''<nowiki>[[term]]</nowiki>'''
 +
# Link to term in a glossary page: '''<nowiki>[[glossary#term]]</nowiki>'''
 +
[[category:Help]]

Latest revision as of 12:32, 6 April 2011

This is a brief guide about writing glossary terms

Edit existing term

Glossary terms are normal wikipages that anyone can edit. You can access existing terms easily from Glossary.
Note! List is generated automatically so you cannot edit terms directly from glossary-page, instead you'll have to go to a corresponding term-page by clicking the topic of the term.

Add a new term

There is 2 ways how to add new terms to glossary:

1. Create a new page for your term.
  • Add your page to category (category:Glossary term)
  • Write content of your term inside <section begin=glossary /> and <section end=glossary /> (This content is automatically displayed in Glossary)
2. Mark part of some page as a glossary term
  • Add your page to category (category:Glossary term)
  • Add content of your term inside <section begin=glossary /> and <section end=glossary /> (Note! Content displayed in Glossary can be just a small part of actual page)

Example:

[[Category:Glossary term]]
This text is NOT displayed in Glossary.
<section begin=glossary />
:This is a part of text IS displayed in glossary<section end=glossary />
This part is NOT displayed (Only content between <section begin> and <section end> is displayed

Linking to glossary

You can link to a glossary term in 2 ways:

  1. Direct link to term page: [[term]]
  2. Link to term in a glossary page: [[glossary#term]]