Permanently protected template

Template:Wiktionary-inline: Difference between revisions

From Vigyanwiki
(Created page with "{{sister-inline|project=wiktionary|list={{{list|}}}|links=wiktionary:<noinclude>Main Page</noinclude><includeonly>{{{1|Special:Search/{{lc:{{PAGENAME}}}}}}}</includeonly>|''...")
m (1 revision imported from alpha:Template:Wiktionary-inline)
 
(2 intermediate revisions by one other user not shown)
(No difference)

Latest revision as of 09:55, 22 December 2022

The dictionary definition of wiktionary-inline at Wiktionary

Template documentation

Useful in "External links" section, making a one-line navigation to Wiktionary. Not inline in the usual sense.

Usage

* {{Wiktionary-inline}} produces a link to the Wiktionary definition of the page title. Notice: The first letter of each word is turned to lower case. Pass a parameter explicitly if it's not what you want.

* {{Wiktionary-inline|word}} Produces a link to word on Wiktionary:

  • The dictionary definition of word at Wiktionary

* {{Wiktionary-inline|word|Word}} Produces a link to word on Wiktionary, but titles the link Word:

  • The dictionary definition of Word at Wiktionary

See also

Similar templates for other Wikimedia projects

Other templates linking to Wiktionary

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

Markup:

Wiktionary-related userboxes:

See also:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Wiktionary-inline

[[Category:Templates using TemplateData{{#translation:}}]]

Adds an inline link to a given term, defaulting to BASEPAGENAME, on wiktionary

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
term1

the term to link to

Example
word
Linerequired
displayed text2

text to render in the link to the wiktionary entry

Example
Word
Linesuggested
extra textextratext

extra text to display after the link

Example
sense #2
Stringoptional