The dictionary definition of wiktionary-inline/sandbox at Wiktionary
This is the template sandbox page for Template:Wiktionary-inline (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,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.
Preview message: Transclusion count updated automatically (see documentation). |
Useful in "External links" section, making a one-line navigation to Wiktionary. Not inline in the usual sense.
* {{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:
* {{Wiktionary-inline|word|Word}}
Produces a link to word on Wiktionary, but titles the link Word:
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:
[[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:
See also:
TemplateData for Wiktionary-inline
Adds an inline link to a given term, defaulting to BASEPAGENAME, on wiktionary
Parameter | Description | Type | Status | |
---|---|---|---|---|
term | 1 | the term to link to
| Line | required |
displayed text | 2 | text to render in the link to the wiktionary entry
| Line | suggested |
extra text | extratext | extra text to display after the link
| String | optional |