Template:def+/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} {{uses lua|Module:languages-oow}} {{shortcut|Template:d+}} 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'''. * {{para|1|req=1}} *: language code (<code>de</code>, <code>pl</code>, <code>sl</code> etc.) * {{para|2|req=1}}, {{para|3|opt=1}} etc. *: terms to link The...")
 
No edit summary
Line 12: Line 12:


  # {{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 pl>}}
  #: {{tempn|def+|de|Zustand<g:m>|Verfassung<g:f>||Umstände<g:m p>}}


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

Revision as of 20:57, 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 <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>||Umstände<g:m p>}}
  1. condition, state; circumstances
    🇩🇪 Zustand m, Verfassung f; Umstände m pl