ढाँचा:Linktext/doc
This is a documentation subpage for ढाँचा:Linktext. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
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. |
Usage
[स्रोत सम्पादन]Links text, word by word to Wiktionary, or any other interwikis or interlangs.
The default target is Wiktionary. To change it, set the parameter pref to some other value. For example, "c" for commons, or "th" for Thai Wikipedia.
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}}
{{Linktext|This| is|n2= not| a| test}}
Also can be used to wikt-link individual Chinese characters:
Examples of result of specifying "lang" (differences in characters explained here and here):
See also
[स्रोत सम्पादन]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. | |
{{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:
- {{Copy to Wiktionary}}: Attach this if you find an article which should be moved 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: