Vorlage:RelatedTerm: Unterschied zwischen den Versionen

Aus Geometa Lab OST
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly>''{{ #if: {{{2|}}} | [http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&search={{{2}}}] ({{{1}}}) | [http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&search={{{1}}} {{{1}}}]}}''. </includeonly><noinclude>
<includeonly>''{{ #if: {{{2|}}} | [http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&search={{{2}}} {{{2}}}] ({{{1}}}) | [http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&search={{{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).
 
'''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).
 
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: the language name space for the key page.
* '''lang'''= xx: the language name space for the key page.
For more information about related terms see [[Taginfo/RelatedTerm]].
'''Usage Example''':
----
Related Terms: {{RelatedTerm|church}}{{RelatedTerm|en_UK|chapel}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Version vom 6. September 2011, 06:32 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).

Usage:

{{RelatedTerm|term }}
{{RelatedTerm|lang |term }}
Parameters
  • term= term: any term i.e. one or many words with a whitespace in between.
  • lang= xx: the language name space for the key page.

For more information about related terms see Taginfo/RelatedTerm.

Usage Example:


Related Terms: {{ #if: | {{{2}}} (church) | church}}. {{ #if: chapel | chapel (en_UK) | en_UK}}.