Vorlage:RelatedTerm: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
 
Zeile 12: Zeile 12:
 
* '''lang'''= xx (optional): the language name space, e.g. en, en_UK, en_US, de, de_CH.
 
* '''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 [[RelatedTerms]].
  
 
'''Usage Example''':
 
'''Usage Example''':

Aktuelle Version vom 27. September 2011, 21:01 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 RelatedTerms.

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}}.