Template:Linktext

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Links text, word by word to Wiktionary, or any other interwikis or interlangs.

The default target is Wiktionary. To change it, set the parameter pref to some other value. For example, "c" for commons, or "th" for Thai Wikipedia.

Use the arguments n1, n2, n3, etc. to specify items that should not be linked. Regular spaces will be removed from the beginning and end of these; if you must have spaces, use   instead.

If you want to have a delimiter, such as ", ", appear between links, specify the delimiter with lim.

If desired, you can specify the language code with lang (rationale explained here). This is not required if Template:Linktext is used inside a template that specifies the language, such as Template:Zh.

Notice

Do not use it for one word, so don't write {{linktext|sea urchin}}, but [[wikt:sea urchin|sea urchin]]. The latter is more understandable to other contributors.

Examples

{{Linktext|This| is| a| test}}
This is a test
{{Linktext|This| is|n2= not| a| test}}
This is not a test

Also can be used to wikt-link individual Chinese characters:

{{linktext|雲|居|道|膺}}

Examples of result of specifying "lang" (differences in characters explained here and here):

{{Linktext|雲|緑|lang=ja}}
{{Linktext|雲|緑|lang=zh}}

See also

Wiktionary link templates
Template Alias Explanation
{{Wiktionary}} {{wt}} 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 Wikitionary.
{{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 {{wt}}, 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

Wiktionary related userboxes:

Moving a non-encyclopedic entry to Wiktionary:

Markups:

See also: