Vorlage:RelatedTerm: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) |
Stefan (Diskussion | Beiträge) K |
||
Zeile 10: | Zeile 10: | ||
;Parameters: | ;Parameters: | ||
* '''term'''= term: any term i.e. one or many words with a whitespace in between. | * '''term'''= term: any term i.e. one or many words with a whitespace in between. | ||
− | * '''lang'''= xx (optional): the language name space, e.g. | + | * '''lang'''= xx (optional): the language name space, e.g. en, en_UK, en_US, de, de_CH. |
For more information about related terms see [[Taginfo/RelatedTerm]]. | For more information about related terms see [[Taginfo/RelatedTerm]]. |
Version vom 21. September 2011, 02:10 Uhr
Related terms in English and non-English language versions.
Insert the Template at the bottom of the wiki page (e.g. before categories as shown in the example below). In one wiki page there can be one or several related terms including the term about the main topic of the page.
Usage:
-
{{RelatedTerm|term }}
-
{{RelatedTerm|lang |term }}
- Parameters
- term= term: any term i.e. one or many words with a whitespace in between.
- lang= xx (optional): the language name space, e.g. en, en_UK, en_US, de, de_CH.
For more information about related terms see Taginfo/RelatedTerm.
Usage Example:
What you type:
---- Related Terms: {{RelatedTerm|church}}{{RelatedTerm|en_UK|chapel}}
What you get:
Related Terms: {{ #if: | {{{2}}} (church) | church}}. {{ #if: chapel | chapel (en_UK) | en_UK}}.