Template:Wiktionary-inline: Difference between revisions
m Changed protection settings for "Template:Wiktionary-inline": High-risk template or module: 2500 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite)) |
EnWikiAdmin (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 11:55, 6 November 2024
The dictionary definition of wiktionary-inline at Wiktionary
This template is used on approximately 2,900 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. |
Useful in "External links" section, making a one-line navigation to Wiktionary. Not inline in the usual sense.
Usage[edit source]
* {{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[edit source]
Similar templates for other Wikimedia projects[edit source]
- Wikipedia:Manual of Style/Layout § External links
- {{Commons}}—shows Commons box
- {{Commons-inline}}—shows Commons gallery inline
- {{Commons category}}—shows Commons category box
- {{Commons category-inline}}—shows Commons category inline
- {{Commons category multi}}—to list up to six categories
- {{Commons and category}}—shows Commons box with both gallery and category
- {{Commons and category inline}}—shows Commons gallery and category inline
- {{Copy to Wikimedia Commons}}
- {{Wikimedia Commons redirect}}—specialized soft redirect template for Commons
- {{Wiki category}}—to link to a gallery hosted on Wikipedia
- mw:Manual:Pywikibot/commonscat.py
- {{Sister project links}}—to link all Wikinews, Wikisource, etc.
- {{Wikibooks}} / {{Wikibooks inline}}
- {{Wikinews}} / {{Wikinews inline}}
- {{Wikiquote}} / {{Wikiquote-inline}}
- {{Wikisource}} / {{Wikisource-inline}}
- {{Wikispecies}} / {{Wikispecies-inline}}
- {{Wikiversity}} / {{Wikiversity inline}}
- {{Wikivoyage}} / {{Wikivoyage inline}}
- {{Wiktionary}} / {{Wiktionary-inline}}
Other templates linking to Wiktionary[edit source]
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:
TemplateData[edit source]
TemplateData for Wiktionary-inline
<templatedata> { "params": { "1": { "label": "term", "description": "the term to link to", "example": "word", "type": "line", "required": true }, "2": { "label": "displayed text", "description": "text to render in the link to the wiktionary entry", "example": "Word", "type": "line", "suggested": true }, "extratext": { "label": "extra text", "description": "extra text to display after the link", "example": "sense #2", "type": "string" } }, "description": "Adds an inline link to a given term, defaulting to BASEPAGENAME, on wiktionary", "format": "inline" } </templatedata>