Template:def+/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
*: terms to link
*: terms to link


The inline argument <code><g:></code> can be used to specify gender/number/perfectivity beside the term. An empty argument <code>||</code> can be used to add a semicolon in the list.
The inline argument <code><alt:></code> can be used to override the displayed term. <code><g:></code> can be used to specify gender/number/perfectivity beside the term. An empty argument <code>||</code> can be used to add a semicolon in the list.


  # {{tempn|eng|condition}}, {{tempn|eng|state}}; {{tempn|eng|circumstances}}
  # {{tempn|eng|condition}}, {{tempn|eng|state}}; {{tempn|eng|circumstances}}
  #: {{tempn|def+|de|Zustand<g:m>|Verfassung<g:f>||Umstände<g:m p>}}
  #: {{tempn|def+|de|Zustand<g:m>|Verfassung<g:f>||Umstand<g:m p><alt:Umstände>}}


# {{eng|condition}}, {{eng|state}}; {{eng|circumstances}}
# {{eng|condition}}, {{eng|state}}; {{eng|circumstances}}
#: {{def+|de|Zustand<g:m>|Verfassung<g:f>||Umstände<g:m p>|nocat=1}}
#: {{def+|de|Zustand<g:m>|Verfassung<g:f>||Umstand<g:m p><alt:Umstände>|nocat=1}}

Revision as of 22:37, 25 December 2024

Edit-copy green.svg Documentation for Template:def+. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template allows you to add term definitions in other languages. Note that this can only generate a list of terms; you cannot use this to write unlinked text. This template will add the category Terms with X translations.

  • |1= (required)
    language code (de, pl, sl etc.)
  • |2= (required), |3= (optional) etc.
    terms to link

The inline argument <alt:> can be used to override the displayed term. <g:> can be used to specify gender/number/perfectivity beside the term. An empty argument || can be used to add a semicolon in the list.

# {{eng|condition}}, {{eng|state}}; {{eng|circumstances}}
#: {{def+|de|Zustand<g:m>|Verfassung<g:f>||Umstand<g:m p><alt:Umstände>}}
  1. condition, state; circumstances
    🇩🇪 Zustand m, Verfassung f; Umstände m pl