Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















Template:Linktext






Afrikaans
العربية

تۆرکجه
Basa Bali

 / Bân-lâm-gú
Башҡортса

Bikol Central
Bosanski
Cymraeg
Dansk
Euskara
فارسی
Føroyskt
Gaelg


Հայերեն
Ilokano
Bahasa Indonesia
Jawa

Ladin
ि
Македонски
مصرى

Bahasa Melayu
Монгол



Norfuk / Pitkern
Norsk bokmål
Norsk nynorsk

Português
Scots
Shqip

Simple English
سنڌي
کوردی
Српски / srpski
Tagalog
 


Türkçe
Türkmençe
Українська
اردو
Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikisource
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


The {{Linktext}} template creates inline links for text within the template's parameters. Each word separately links to a page with a title that matches that word on Wiktionary, by default, or on any other interwiki or interlanguage Wikipedias.

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

The default target that this template links to is Wiktionary. To change the target, set the parameter pref to some other value. For example, "c" for commons, or "th" for Thai Wikipedia. Thus, in order to link to a foreign language Wiktionary, set to "wikt:de" or whatever {{lang}} code.New entry

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.

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}}
Thisisa test
{{Linktext|This|is|n2= not|a| test}}
Thisis nota 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

  • edit
  • 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
    {{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:


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Linktext&oldid=1078130723"

    Categories: 
    Wiktionary link templates
    Wikipedia-related projects
    Chinese multilingual support templates
    Japonic multilingual support templates
    Hidden categories: 
    Wikipedia template-protected templates
    Templates not safe for use in citation templates
    Sidebars with styles needing conversion
     



    This page was last edited on 20 March 2022, at 01:14 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki