• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Linktext

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 22,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
  • Categorization of people
    • By year
    • By ethnicity, gender, religion and sexuality
  • 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
  • Article creation
  • Editing
  • Deletion process
  • v
  • t
  • e

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 , such as Template:Zh.

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:New entry

{{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}} 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:

  • {{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
  • 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
  • User CSS for monospaced coding font
  • 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
    • 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
  • 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
  • Directory
  • 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
  • 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
Legal
  • Legal
  • Trademarks
Arts
  • Anime and manga
  • Comics
  • Blazons
  • Film
  • Lyrics and poetry
  • Novels
  • Philosophy
  • Television
  • Video games
  • Visual arts
  • Writing about fiction
Music
  • Music
  • Music samples
  • Record charts
  • Stringed instruments
Regional
  • Specific naming conventions
  • Canada
  • China (and Chinese)
  • France (and French)
  • Egypt
  • Hawaii
  • India
  • Indonesia
  • Ireland
  • Japan
  • Korea
  • Malaysia
  • Macedonia
  • Pakistan
  • Philippines
  • Poland
  • Singapore
  • Trinidad and Tobago
Religion
  • Islam
  • Latter Day Saints
Science
  • Mathematics
  • Medicine
  • Chemistry
    • Compound classes
    • Chemicals
    • References and external links
    • Safety
    • Structure drawing
  • Taxonomy
Sports
  • Cue sports
  • Snooker
Related
  • Article size
  • Article titles
  • Categories, lists, and navigation templates
  • Categorization
  • Citing sources
  • Contents
  • Hatnotes
  • Military history
  • Notability
  • Signatures
  • Overview
  • Subpages
  • Talk page guidelines
  • Template namespace
  • Tips
  • Understandability
  • User pages
  • Wikimedia sister projects
  • WikiProjects
Search
  • Category
The above documentation is transcluded from Template:Linktext/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Linktext&oldid=36853"
Last edited on 22 October 2025, at 15:23
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

    • Moore
    Safer nicotine wiki
    • Creative Commons Attribution-ShareAlike
    • Powered by MediaWiki
    • Monitored by WikiApiary
    • ipv6 ready
    • Powered by Semantic MediaWiki
    • This page was last modified on 22 October 2025, at 15:23. Warning: Page may not contain recent updates.
    • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
    • Privacy policy
    • About Safer nicotine wiki
    • Disclaimers
    • Terms of Use
    • Desktop
    • Data access
    • Developers
    • Statistics
    • Cookie statement