• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Linktext

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS.
For linking from one Wikimedia project to another (e.g. Wikipedia to Wiktionary), see Help:Interwikimedia links. For a list of interlanguage codes, see List of ISO 639-1 codes and meta:List of Wikipedias.
Linking and
page manipulation
Linking and diffs
  • URLs
  • Links
  • Orphans
  • Interlanguage links
  • Interwiki linking
  • Shortcuts
  • External links
    • External link icons
    • Plainlinks
  • Link color
  • Colon trick
  • Pipe trick
  • Self links
  • What links here
  • Linksearch
  • Manual of Style on linking
  • Navigation templates
  • Hatnotes
  • Template index for links
  • Diffs
    • Simplest diff guide
    • Simple diff and link guide
    • Complete diff and link guide
Categorization
  • Category
  • Categorization guideline
  • Classification
  • Container category
  • FAQ for categorization
  • FAQ for categories
  • Categories, lists, and navigation templates
  • Categorizing articles about people
    • By year
  • Redirect categories
  • User categories
  • Overcategorization
    • User categories
  • Template index for categories
Moving and redirecting
  • How to move a page for beginners
  • Redirects
  • Moving a page
  • Requested moves
  • How to fix cut-and-paste moves
  • Moving files to Commons
  • Userfication
  • Non-admin and admin-only moves
  • Template index for moving
  • Template index for redirects
Merging
  • Merging
  • Proposed article mergers
  • Requests for history merge
  • Merge and delete?
  • Merge what?
  • Delete or merge?
  • Template index for merging
  • WikiProject Merge
Splitting
  • Splitting
  • Template index for splitting
Importing and copying
  • How to import articles
  • Requests for page importation
  • Import
  • Export
  • Copying within Wikipedia
Protecting
  • Protection
  • Protection policy
  • High-risk templates
  • Requests for page protection
  • Rough guide to semi-protection
Additional
  • How to create a page
  • Your first article
  • Editing
  • Deletion process
  • v
  • t
  • e

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

  • {{Interlanguage link}}
  • {{Sister project}}
  • {{Sister-inline}}
  • Help:Contents/Links
  • Help:Interwikimedia links
  • Help:Interlanguage links
  • Wikipedia:List of templates linking to other free content projects
  • Wikipedia:Wikimedia sister projects
  • Category:Interwiki link templates
  • meta:List of Wikipedias
  • m:Interwiki map
  • Wikipedia:Translation
  • Wikipedia:Babel – Userpage language proficiency banners
Wiktionary link templates
  • view
  • talk
  • 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:

  • {{Transwikied to Wiktionary}}, {{Transwiki to Wiktionary Finished}}: Pasted at the top of the talk page by admins.

Markup:

  • [[wikt:ᐁᕕᖃ]] → wikt:ᐁᕕᖃ
  • [[wikt:粘菌|'myxomycete' in Japanese]] → 'myxomycete' in Japanese (You can use a pipe as usual.)
  • [[wikt:curcubeu|]] → curcubeu (You can hide "wikt:" by a pipe trick.)

Wiktionary-related userboxes:

  • {{User Wiktionary}}: "This user has a page on Wiktionary" box.
  • {{User admin Wiktionary}}: "This user is an administrator on Wiktionary" box.

See also:

  • Wikipedia:Wikipedia is not a dictionary
  • v
  • t
  • e
Wikipedia technical help
Get personal technical help at the Teahouse, help desk, village pump (technical), talk pages, or IRC.
General
technical help
  • Browser notes
    • Bypass cache
    • Keyboard shortcuts
  • Editing
    • CharInsert
    • Edit conflict
    • Edit toolbar
    • Reverting
  • How to create a page
  • IRC
    • Tutorial
  • Mobile access
  • Multilingual support
  • Page history
  • Page information
  • Page name
    • Help
  • Printing
  • Software notices
    • Editnotice
  • Special Characters
    • Entering
  • User access levels
  • VisualEditor
    • Help
Special
page
-related
  • Special page help
  • AllPages
  • Edit filter
  • Emailing users
  • Logging in
    • Reset passwords
  • Logs
  • Moving a page
    • History merging
    • Non-admin and admin-only page moves
  • Notifications/Echo
    • FAQ
  • Page Curation
  • Page import
  • Pending changes
  • Random pages
  • Recent changes
  • Related changes
  • Searching
    • Linksearch
  • Tags
  • User contributions
  • Watchlist
  • What links here
Wikitext
  • Wikitext
    • Cheatsheet
  • Columns
  • Line-break handling
  • Lists
  • Magic words
    • For beginners
    • Conditional expressions
    • Switch parser function
    • Time function
  • Redirects
  • Sections and TOCs
  • Tables
    • Introduction
    • Basics
    • Advanced table formatting
    • Collapsing
    • Conditional tables
    • Sortable tables
  • Using colours
Links and diffs
  • Links
    • Interlanguage
    • Interwiki
    • Permanent
  • Diffs
    • Simplest diff guide
    • Simple diff and link guide
    • Complete diff and link guide
  • Colon trick
  • Link color
  • Pipe trick
  • URLs
Media files: images,
videos and sounds
  • Media help
  • Files
    • Creation and usage
    • Moving files to Commons
  • Images
    • Introduction to images
    • Picture tutorial
    • Preparing images for upload
    • Uploading images
    • Options to hide an image
    • Extended image syntax
    • SVG help
  • Gallery tag
  • Graphics tutorials
    • Basic bitmap image editing
    • How to improve image quality
    • Graphics Lab resources
  • Sound file markup
  • Visual file markup
Other graphics
  • Family trees
  • Graphs and charts
    • How to create
    • Barcharts
    • To scale charts
  • Math formulas
    • Math symbols
  • Musical scores
    • Musical symbols
  • Timeline
    • EasyTimeline syntax
  • WikiHiero syntax
Templates and
Lua modules
  • Templates
  • Advanced template coding
  • Template documentation
  • Template index
  • Template limits
  • Template sandbox and test cases
  • Citation templates
  • Lua help
  • Lua project
    • Resources
    • To do
  • Substitution
  • Purge
    • Job queue
  • Transclusion
    • Labeled section
    • Costs and benefits
  • Guide to Scribbling
Data structure
  • Namespaces
  • Main/Article
  • Category
  • Draft
  • File
    • File description page
  • Help
  • Portal
  • Project/Wikipedia
  • Talk
    • Archiving
      • Simple
  • Template
  • User
    • User page design
  • MediaWiki
    • Bug reports and feature requests
    • TimedMediaHandler extension
  • Module
  • Special
HTML and CSS
  • Cascading Style Sheets
  • HTML in wikitext
  • Catalogue of CSS classes
  • Common.js and common.css
  • Classes in microformats
  • Markup validation
  • Span tags
  • Useful styles
Customisation
and tools
  • Preferences
  • Gadgets
  • Skins
  • Citation tools
  • Cleaning up vandalism tools
  • Customizing watchlists
    • Hide pages
  • IRC Scripts
  • User scripts
    • Guide
    • List
    • Techniques
  • User style
  • Tools
    • Alternative browsing
    • Browser tools
    • Editing tools
    • Navigation shortcuts
    • Optimum tool set
  • Wikimedia Cloud Services
  • Beta Features at MediaWiki
Automated editing
  • AfC helper script
  • AntiVandal
  • AutoWikiBrowser
  • Bots
    • Creating
    • history
  • HotCat
  • Huggle
  • Navigation popups
  • RedWarn
  • Twinkle
  • Ultraviolet
  • WPCleaner
  • Inactive
    • igloo
    • STiki
  • See also: Category:Wikipedia how-to
  • Category:Wikipedia information pages
    Further navigation at: Help pages
    • Administrators
  • Accessibility
  • Accounts
  • Bots
  • Referencing
    • Citation metadata
  • Templates
  • User scripts
  • v
  • t
  • e
Manual of Style
  • Overview
  • Contents
  • Tips
Content
  • Accessibility
  • Biography
  • Disambiguation pages
    • Organizing by subject area
  • Gender identity
  • Hidden text
  • Infoboxes
  • Linking
  • Self-references
  • Words to watch
Formatting
  • Abbreviations
  • Capitalization
  • Dates and numbers
  • Pronunciation
  • Spelling
  • Superscripts and subscripts
  • Text formatting
  • Titles of works
Images
  • Captions
  • Image placement
  • Icons
  • Images
Layout
  • Layout
  • Lead section
  • Tables
  • Trivia sections
Lists
  • Lists
  • Lists of works
  • Road junctions
  • Stand-alone lists
By topic area
Arts
  • Anime and manga
  • Comics
  • Film
  • Lyrics and poetry
  • Novels
  • Television
  • Video games
  • Visual arts
  • Writing about fiction
  • See also: WikiProject style advice
Music
  • Music
  • Music samples
  • Record charts
  • Stringed instruments
  • See also: WikiProject style advice
History
  • Blazons
  • Military history
  • See also: WikiProject style advice
Legal and cultural
  • Legal
  • Trademarks
  • See also: WikiProject style advice
Regional
  • Specific naming conventions
  • Canada
  • China (and Chinese)
  • France (and French)
  • Hawaii
  • India
  • Indonesia
  • Ireland
  • Japan
  • Korea
  • Malaysia
  • Pakistan
  • Philippines
  • Poland
  • Singapore
  • See also: WikiProject style advice
Religion and education
  • Islam
  • Latter Day Saints
  • See also: WikiProject style advice
Science and technology
  • Mathematics
  • Medicine
  • Chemistry
    • Compound classes
    • Chemicals
    • References and external links
    • Safety
    • Structure drawing
  • Computer science
  • Taxonomy
  • See also: WikiProject style advice
Sports
  • Cue sports
    • Snooker
  • See also: WikiProject style advice
Related guidelines
  • Article size
  • Article titles
  • Categories, lists, and navigation templates
  • Categorization
  • Hatnotes
  • Subpages
  • Understandability
Search
  • Category
The above documentation is transcluded from Template:Linktext/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Linktext&oldid=1078130723"
Last edited on 20 March 2022, at 01:14

Languages

    • Afrikaans
    • العربية
    • অসমীয়া
    • تۆرکجه
    • Basa Bali
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Башҡортса
    • भोजपुरी
    • Bikol Central
    • Bosanski
    • Cymraeg
    • Dansk
    • Euskara
    • فارسی
    • Føroyskt
    • Gaelg
    • ગુજરાતી
    • 한국어
    • Հայերեն
    • Ilokano
    • Bahasa Indonesia
    • Jawa
    • ಕನ್ನಡ
    • Ladin
    • मैथिली
    • Македонски
    • მარგალური
    • مصرى
    • ဘာသာမန်
    • Bahasa Melayu
    • Монгол
    • မြန်မာဘာသာ
    • नेपाली
    • 日本語
    • Norsk bokmål
    • Norsk nynorsk
    • ပအိုဝ်ႏဘာႏသာႏ
    • Português
    • Scots
    • Shqip
    • සිංහල
    • Simple English
    • سنڌي
    • کوردی
    • Српски / srpski
    • Tagalog
    • தமிழ்
    • တႆး
    • తెలుగు
    • ไทย
    • Türkçe
    • Türkmençe
    • Українська
    • اردو
    • Tiếng Việt
    • 粵語
    • 中文
    • Kumoring
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 20 March 2022, at 01:14 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop