Vorlage:RelatedTerm: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>''[[Special:Search&search={{ #if: {{{2|}}} | {{{2|}}} ({{{1}}})|{{{1}}}}}]]''. </includeonly><noinclude>
+
<includeonly>''{{ #if: {{{2|}}} | [http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&search={{urlencode:{{{2}}}}} {{{2}}}] ({{{1}}}) | [http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&search={{urlencode:{{{1}}}}} {{{1}}}]}}''. </includeonly><noinclude>
Usage:
+
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''':
 
: <code><nowiki>{{RelatedTerm|</nowiki>''term'' <nowiki>}}</nowiki></code>
 
: <code><nowiki>{{RelatedTerm|</nowiki>''term'' <nowiki>}}</nowiki></code>
 
: <code><nowiki>{{RelatedTerm|</nowiki>''lang'' |''term'' <nowiki>}}</nowiki></code>
 
: <code><nowiki>{{RelatedTerm|</nowiki>''lang'' |''term'' <nowiki>}}</nowiki></code>
  
;Related terms in English and non-English language versions.
+
;Parameters:
Insert the Template at the bottom of the wiki page (before categories).
+
* '''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: <nowiki>{{RelatedTerm|church}}{{RelatedTerm|en_UK|chapel}}</nowiki>
  
Parameters:
+
What you get:
* '''term'''= term: any term i.e. one or many words with on whitespaces in between.
+
----
* '''lang'''= xx: the language name space for the key page.
+
Related Terms: {{RelatedTerm|church}}{{RelatedTerm|en_UK|chapel}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

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