Wiktionary:Vörlagenindex

Vun Wiktionary
Zur Navigation springen Zur Suche springen


This is an alphabetical index to Wiktionary templates, things looking like {{template}} when placed into the wiki text. For an introduction to merits and usage of wiki templates in general, see Meta:Help:Template, linked to from Help:Template, and also B:MediaWiki User Guide/Templates.

You can show a template in a page using {{Vörla}} . For example, {{Vörla|acronym}} shows {{acronym}}

Certain uses of templates in Wiktionary are controversial. In particular, translation sections should not use the language templates on the English Wiktionary. Also, templates calling other templates are strongly discouraged[says who?].

All templates can be seen by going to Special:Allpages, selecting Templates from the namespace drop down list, and pressing "Go."

Abbreviations etc.[ännern]

Prescriptive instructions in this section may lack community consensus.

Abbreviations, acronyms, symbols, and initialisms:

For each of {{abbreviation}}, {{acronym}} and {{initialism}} a link is put to the corresponding category (which is a sub-category of Category:Abbreviations, acronyms and initialisms) as well as inserting category hooks into both the sub category and the main category. This is done to satisfy both those people who prefer them all lumped together, as well as those people who understand the distinctions and would like to see separate lists.

This experiment is not 100% condoned by Wiktionary admins; the addition of multiple categories from a single template is viewed as horrific by some. This is in no way meant to set a precedent, but rather to satisfy a (hopefully one-time) peculiar need for multiple categories.

Also, Category:Symbols was originally overlooked in this arena. Because of the flexibility of the templates, they also are able to join the main category (after-the-fact, as some abbreviations are corrected to symbols.)

Templates:

Note: At this time, the use of "lang=" within these three templates is strongly discouraged[says who?]. Heading checks that don't count "=" symbols correctly are confounded by this syntax. Instead, use ===Abbreviation=== for the heading and add the category below[says who?].

Acronyms[ännern]

See #Abbreviations etc.

Category[ännern]

Category templates:

These templates aid in tagging definitions as relating to topics and/or as belonging to some grammatical category. They are mostly used indirectly through shortcut templates such as {{mathematics}} and {{uncountable}}.

  • {{context|____}} Tag a term in a definition and add a category link for it. Put this just after the "#" character and before the definition text. For example, to have (mathematics) appear, one may use {{context|mathematics}} and the term will also be added to Category:Mathematics. Note that many existing topics (including mathematics) have one or more shortcut templates already defined, e.g., {{math}} and {{mathematics}}. It is generally more readable to use these in articles. The template invocation {{cattag|mathematics}} generally only occurs in the definition of the shortcut tag (e.g. {{mathematics}}).
  • {{qualifier|____}} Shows the given qualifiers in a reader-customizable style, e.g., (qualifier). The default style is with parentheses and italics. This template is intended generally only used in the definition of other templates, but may also be used directly in articles at the beginning of a list item if no other template applies.

Columns[ännern]

Long lists of terms (such as derived terms or translations) usually look better when formatted into columns. The templates below provide an easy method of doing this.

Current Wiktionary style is to put such material in collapsible tables so that the user can display it only if they wish to. This makes an entry easier to read and navigate. Alternatively, content may be made permanently visible. It is preferable to use collapsible tables for long lists and to make only short lists permanently visible, or to use collapsible tables for all lists (given that short lists may eventually become much longer).

To use any of these templates, place the "top" template immediately before the content and the "bottom" template immediately after. Place the "mid" (or "mid2") template as close to halfway through the content as possible. If using the templates for more than two columns, place a "mid3" template at one-third and another two-thirds of the way through the content, or the "mid4" at one-quarter, one-half and three-quarters of the way through.

Use the templates from one group only at any one time. Do not combine templates from different groups, as this will give odd results or might not be parsed correctly by the browser.

For "Translations" sections

The following templates display translations in two columns in a collapsible table. They are for use only in the Translations section of an article; in other sections, use the templates below.

The "trans-top" template takes an argument that is used as the header for the table. A gloss summarising the meaning being translated is put here. For example, in the entry for time, the gloss "inevitable passing of events" is given in the first table of translations, and this is generated thus: {{trans-top|inevitable passing of events}}.

Currently, templates for collapsible translation tables are available only in two-column format.

For other lists

Collapsible tables

The following templates display lists in two columns in a collapsible table. They are for use in sections other than the Translations section of an article (not just the Related terms section, despite the name); in the Translations sections, use the templates above.

The "rel-top" template takes an argument that is used as the header for the table. A gloss summarising the content of the table. For example, in the entry for time, the table of derived terms has the header "terms derived from time", and this is generated thus: {{rel-top|terms derived from ''time''}}. Note that this is the preferred format of a gloss for derived and related terms (which would have the header "terms related to time"). Note that the word or phrase which the terms are derived from or related to is italicised.

Very long lists can be formatted in four columns using the following:

where {{rel-mid4}} is to be used three times within the content to separate it into four columns of equal or approximately equal length.

For lists that are always displayed

Alternatively, a list of terms can be formatted so that it is always displayed (that is, not hidden in a collapsible table). This format is best reserved for short lists.

The following templates display content in two, three or four columns. They are not for use in a Translations section of an article; in the Translations section, use {{Översetten-Start}} etc. as described above.

Two columns
Three columns
Four columns

Etymology[ännern]

Etymology templates:

Languages: These templates "wrap" the language abbreviations used in Webster 1913 (see Wiktionary:Abbreviations in Webster#Languages). One function of these templates is to make transcribing etymologies from Webster 1913 simple. Another function is to expand the obscure abbreviation into the full name of the language. A third function of these templates is to automatically categorize words according to their etymologies (see Wiktionary:Categorization).

These templates will automatically both add a word to an etymology category and create an interwiki link to the language article on Wikipedia, as well as expand to the name of the language, and are suitable for use in the "Etymology" section of an article.

All these templates can be found at Wiktionary:Etymology/language templates.

External links[ännern]

External links:

  • {{Wikipedia}} -- Inclusion of this inserts a highly visible link to Wikipedia for the same word/topic. If there are enough headings, then this should go above the ==English== header line to make it appear correctly.
  • {{Wikisource}}
  • {{Wikibooks}}
  • {{pedialite}} -- A simple one-liner entry that gets tucked away in ===External links=== to link to Wikipedia with the page title.

Gender[ännern]

See also: Wikipedia article on grammatical gender
Gender is indicated for word wherever appropriate. Some languages expect gender notation on each word form. Gender forms are rare in English however. The distinction between "neuter" and "common" is unclear (especially for English speakers) so you should check the "Wiktionary:About ___" page for each language, for guidelines on using these templates.

Grammatical tag[ännern]

Grammatical tags indicate finer grammatical distinctions within the main parts of speech.

Help[ännern]

  • {{hc}} -- includes the "help contents" menu.

Inflection[ännern]

See Wiktionary:Inflection templates.

Main page[ännern]

The main Wiktionary page (and a couple other "top-level" pages) use the dynamic nature of templates to update content. This technique is discouraged as some administrators consider this "abuse" of templates, and occasionally a discussion will ensue on Wiktionary:Beer parlour when one of the admins deletes such a page[says who?]. You can use these on your own talk page, or in the sandbox, but this is generally discouraged (for system performance reasons.)

  • {{Newpagelinksmain}} - links to some of the more popular maintenace pages, without two-stepping (or five-stepping) through Special pages.
  • {{New entries}} - contains the list of new entries that appears on the Main Page - put your favourite new entry into this template and it will appear on the Main Page
  • {{Appendices}} - contains the list of 'Appendices' that appears on the Main Page.

Maintenance[ännern]

See the separate pages Wiktionary:Maintenance templates and Wiktionary:Cleanup and deletion elements.

Miscellaneous[ännern]

  • {{audio}} – for a spoken representation of the word

New page[ännern]

New page templates:

The naming convention of templates that start with "new" refers to templates that are used to assist creating new articles in the main Wiktionary namespace. The templates themselves will not always be new, and the concept they use is certainly not very new. After "new_" the two character language code comes next, then another underscore, then the type of template. E.g., Template:new_de_noun.

English:

There is ample room to create many helper templates for other languages, and technical discussion of one possible solution for fitting them into MediaWiki:Nogomatch is underway on that page's talk page.

WT:ELE starts with an example of a fictitious "hrunk", designed to be easy to understand. The "basic" new template uses the same example.

==English==

===Noun===
{{en-noun}}

# {{substub}}

Parts of speech--templates to help with parts of speech:

German:

Notice[ännern]

  • {{notice}} -- for a notice in a box with an info icon

Number[ännern]

Templates that show grammatical number (also W:Grammatical number):

  • {{s}} - singular; output: Vörlaag:s
  • {{p}} - plural; output: p

Policy[ännern]

Templates for categorising Wiktionary policies:

These templates put a banner notice in place where used, and also add the entry to a category.

  • {{Policy-O}} - expands to: [[Category:Policy - Wiktionary Official|Xxx]]
  • {{Policy-SO}} - expands to: [[Category:Policy - Wiktionary Semi-Official|Xxx]]
  • {{Policy-DP}} - expands to: [[Category:Policy - Wiktionary Draft Proposal|Xxx]]
  • {{Policy-TT}} - expands to: [[Category:Policy - Wiktionary Policy Think-Tank|Xxx]]
  • {{Policy-RP}} - expands to: [[Category:Policy - Wiktionary Rejected Policies|Xxx]]
  • {{Policy-PI}} - expands to: [[Category:Policy - Wiktionary Policy Implications|Xxx]]. (This one does not put a banner notice where used.)

Pronunciation[ännern]

See also Category:Pronunciation templates.

  • {{IPA}}
  • {{X-SAMPA}}
  • {{rfap}} - request for audio pronunciation
  • {{rfp}} - request for pronunciation

Quotation[ännern]

Templates for entering quotations (also Category:Citation templates):

Templates for referring to sources in quotations:

Reference[ännern]

Reference templates, templates used to link to external sources used as a reference:

See Category:Reference templates.

Some often used reference templates:

Requests[ännern]

Request templates (also Category:Request templates):

Request templates for dictionary entries in the main namespace. Parameters are optional, unless marked with an asterisk (*). (See Wiktionary:Maintenance templates for additional information.)

Deletion and verification:

  • {{delete|reason}} - Request for immediate deletion of mistakes, vandalism, and other garbage
  • {{rfd|reason}} - Listed request for deletion of potentially encycopedic or non-idiomatic terms
  • {{rfd-redundant}} - Request for deletion of sense; the definition is redundant
  • {{rfv|reason}} - Listed request for verification; entry is disputed at WT:RFV
  • {{rfv-sense}} - Request for verification of sense; the sense is disputed at WT:RFV

Language and translations:

  • {{rftrans}} - Request for translations; this English article needs translation into other languages
  • {{gloss-stub|language name}} - Request for clarification of sense; the translation to English is imprecise
  • {{rfscript|script name*}} - Request for foreign-language script
  • {{subst:nolanguage}} - Request for language header; the entry lacks language identification
  • {{subst:notenglish}} - Request for translation; the article is not in English
  • {{rfc-trans}} - Request for translation table split; the existing table needs to be split by meaning

Information and cleanup:

  • {{rfap|region|region}} - Request for audio pronunciation; an audio file is wanted
  • {{rfc|reason}} - Request for cleanup; the article is not formatted well
  • {{rfc-case|details, if not uc./lc.}} - Request for case split; the article includes both capitalized and lower-case words
  • {{rfdate}} - Request for date; the quotation lacks a date
  • {{rfdef}} - Request for definition; the entry lacks a definition
  • {{rfe|reason}} - Request for etymology; the entry lacks an etymology
  • {{rfp|reason}} - Request for pronunciation; the entry lacks a pronunciation (e.g. IPA)
  • {{rfphoto}} - Request for photo; an image file is wanted
  • {{rfdrawing}} - Request for drawing; a drawing is wanted
  • {{rft|reason|fragment=link text}} - Entry is under discussion in the Tea Room
  • {{rndc}} - Request for new definition; the existing definition violates copyright

Other entries:

Request templates for pages in other namespaces:

  • {{delete|reason}} - Request for immediate deletion of mistakes or vandalism
  • {{rfcc}} - Request for category cleanup
  • {{rfd|reason}} - Request for deprecation of categories and templates or deletion of other pages

Results of requests:

Schrift[ännern]

See also Wiktionary:Script templates and Kategorie:Schrift Vörlagen.

Spraak[ännern]

Plain language templates:

Language templates follow the ISO 639 language code name.

The "straight" language templates are for use inside "Translations" tables, and consequently should not add the calling article to said category. These link to the extended Wikipedia articles, so that finer points of conjugation, etc., can be referenced without too much hassle. (In Wiktionary, we simply say what a language is briefly without going into mechanics. Someone clicking one of these links will always be searching for an obscure exception to the rule, so the Wikipedia article is a likely place to send them.)

There are some templates of varying form for tagging an article (or section of an article) as belonging to a particular language, and categorising it as such. Please note: These generally make alphabetising translations more difficult; the intent is to phase these out.

For a full listing see Wiktionary:Vörlagenindex/Spraken.

Swadesh lists[ännern]

Templates for Appendix:Swadesh lists.

Templates for Swadesh lists
Templates for boxes
  • {{Swadesh lists}}: box with all Swadesh lists of individual languages, language families and branches
Other templates

Table of contents[ännern]

See Category:TOC templates.

Usage tag[ännern]

Vörlaag:rfc

These indicate regional usage:

These indicate restrictions in observed usage:

These indicate what they say they indicate:

User warning[ännern]

See Category:User warning templates.

Welcome[ännern]

Welcome templates (also Category:Welcome templates):

Wikisaurus[ännern]

Templates used in WT:Wikisaurus:

  • {{ws header|Xxx}} - Marks page as a Wikisaurus entry, and list alphabetically under the Xxx entry within the Wikisaurus category. Also put in top of page layout for a Wikisaurus entry.
  • {{ws beginlist}} - Top of list of Wikisaurus line entries
  • {{ws|Xxx|Yyy}} - Single line Wikisaurus entry - Xxx is the entry word, Yyy is a brief definition/usage note.
  • {{ws endlist}} - Top of list of Wikisaurus line entries

See also Wiktionary:Wikisaurus#Templates.

See also[ännern]