Template:Wiktionary/doc

From Vigyanwiki
< Template:Wiktionary
Revision as of 09:38, 2 November 2022 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template makes a link in a box to a Wiktionary page. Wiktionary entries include definitions, etymology, and pronunciation, as well as synonyms, antonyms, and related terms.

Usage

{{Wiktionary}}

If no parameter is supplied, the current page name in lower case will be the target. Please check whether it is correct.

You can also use:

{{Wiktionary|1st|2nd|...|10th}} (one up to ten parameters, see Template Data below)

Linking to a search page

For internal link to Wiktionary search on a specific word, this code may be used:

[[wikt:Special:Search/search word|text to show]]

Placement

The template may be placed anywhere, such as the External links section, the beginning of the article or in the article's etymology section if one exists.

On disambiguation pages, place this template at the TOP of the page (on the first line of the edit screen). This is in accord with MOS:WTLINK.

See Wikipedia:Wikimedia sister projects for some recommendations about the best choice of template for various situations.

This template may be floated to the left by use of |position=left. The default and usually recommended position is to the right.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Wiktionary

[[Category:TemplateData documentation{{#translation:}}]]

Creates a small box with links to entries in Wiktionary.

Template parameters

ParameterDescriptionTypeStatus
First word1

The first word to link to, case sensitive. If not specified, it links to the pagename in lower case.

Auto value
Stringsuggested
Second word2

Second word to link to.

Stringoptional
Third word3

Third word to link to.

Stringoptional
Fourth word4

Fourth word to link to.

Stringoptional
Fifth word5

Fifth word to link to.

Stringoptional
Sixth word6

Sixth word to link to.

Stringoptional
Seventh word7

Seventh word to link to.

Stringoptional
Eighth word8

Eighth word to link to.

Stringoptional
Ninth word9

Ninth word to link to.

Stringoptional
Tenth word10

Tenth word to link to.

Stringoptional
Positionposition

Float box to left

Default
floated right
Example
position=left
Auto value
right
Stringoptional

See also

Template Alias Explanation
{{Wiktionary}} {{wikt}} Makes a box.
{{Wiktionary pipe}} {{wtp}} Ditto. Allows a piped link.
{{See Wiktionary}} A disambiguation hatnote type. Useful if the article title is a generic name, but the content differs from it. For example, Tryout is an article about a journal, and this template is used to link to "tryout" page in Wiktionary.
{{Wiktionary-inline}} {{wti}} Can be used in the "External links" section, by making a one-line navigator. Not inline in the usual sense.
{{Wiktionary redirect}} {{wtr}} Makes a soft redirect.
{{Wiktionary category 2}} {{wtc}} Similar to {{wikt}}, but links to a category in Wiktionary.
{{Wiktionary category}} Ditto, more verbose type.
{{Linktext}} Turns each of consecutive words into an Wiktionary link, or any other interwiki / interlang link. Example: {{linktext|táłtłʼááh|adijiłii}}  →  táłtłʼááh adijiłii
{{wt}} Links to a language-specific section of a Wiktionary entry. Deprecated (discussion log).
{{wikt-lang}} Applies a language tag to a word, and links to that language's section of the Wiktionary entry on the word, much like the {{m}} and {{l}} templates on Wiktionary. For instance, {{wikt-lang|en|be|was}} yields was, and is equivalent to {{lang|en|[[wikt:be#English|was]]}}.

Moving a non-encyclopedic entry to Wiktionary:

Markup:

Wiktionary-related userboxes:

See also: