Template:Linktext/doc

The {{Linktext}} template creates inline links to Wiktionary by default for each word separately to a page that matches that word, within the supplied text. Other wikis can be specified and thus interlanguage Wikipedias or interwiki links can be created.

Interlanguage links in general are links from a page in one Wikipedia in one language to a page in another Wikipedia in another language.

Usage

pref

The default target that this template links to is Wiktionary. To change the target, set the parameter |pref= to another sister wiki’s code (see list of sister wikis and their codes and list of Wikipedias and codes). For example, |pref=c for Commons, or |pref=th for Thai Wikipedia. To link to a foreign language Wiktionary, set to wikt:de or whatever {{lang}} code.

n1, n2, n3, etc.

Use the arguments |n1, |n2, |n3, up to |n20, to specify words 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=.

You should specify the language code with |lang= (rationale explained here). This is not required if it is used inside a template that specifies the language, such as Template:Zh.

Note: Do not add this template everywhere. For some reason, this template is frequently used in articles containing CJK terms, but this is not recommended. Use this template only when a link to Wiktionary is really needed.

Examples

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

The following links to the German Wiktionary:

{{Linktext|Das | Ewig-Weibliche| zieht| uns |hinan|pref=wikt:de}}
Das Ewig-Weibliche zieht uns hinan

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

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, Squander is an article about a game, and this template is used to link to "squander" 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
{{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:


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.