Template:Lichengloss/doc

From HandWiki
< Template:Lichengloss
Revision as of 21:06, 8 March 2023 by MainEditor (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template makes it very simple to add links, in article prose, talk pages, etc., to entries in the Glossary of lichen terms, a stand-alone glossary list article. It takes one or two parameters, depending on needs, as detailed below.

Syntax

If the text or phrase being linked matches a glossary entry (or an anchor present for a term—the glossary attempts to provide anchors for all alternate names, and grammatical variations), regardless of upper or lower case, you can simply use:

  • {{lichengloss|terms or phrase in article that is included in the glossary}}

If, however, the exact term or phrase is not present in the glossary directly or in an anchor, then you can "pipe" the link:

This template will also handle suffixes like plurals, etc., added onto entries:

  • {{lichengloss|text in article that is a term in glossary}}ized


In the glossary of lichen terms itself, or for duplicate links in same article, use instead:

  • {{gli|term in glossary|text in article}}

Examples

The {{lichengloss|photobiont}} of the species is a Trebouxia alga.

Result:Script error: No such module "in5".The photobiont of the species is a Trebouxia alga.

Here, the term to be defined is covered at Glossary of lichen terms#photobiont, so photobiont is the first and only parameter needed.

The {{lichengloss|photobiont|photosynthetic partner}} of the species is a Trebouxia alga.

Result:Script error: No such module "in5".The photosynthetic partner of the species is a Trebouxia alga.

Here the first parameter is the exact name of the term to be linked to in Glossary of lichen terms (or any alias of it as defined in the glossary with an {{anchor}}), and the second parameter is the text string to be wikilinked inside the article.