Difference between revisions of "Template:Linktext/doc"
Jump to navigation
Jump to search
imported>LittleBenW ("lang" examples kindly provided by User:Kiyoweap) |
imported>LittleBenW |
||
| Line 10: | Line 10: | ||
If you want to have a delimiter, such as ", ", appear between links, specify the delimiter with '''lim'''. | 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'''. | + | If desired, you can specify the language code with '''lang''' (differences explained [[CJK_Unified_Ideographs|here]]). |
<!--Since these are normally definitional links, they are displayed without underlines by default. Change this by setting '''underline''' to "yes".--> | <!--Since these are normally definitional links, they are displayed without underlines by default. Change this by setting '''underline''' to "yes".--> | ||
Revision as of 14:29, 14 September 2012
| This is a documentation subpage for Template:Linktext. It contains usage information, categories and other content that is not part of the original template page. |
Links text, word by word. The link target defaults to Wiktionary.
If you don't want to link to Wiktionary entries, set pref equal to some other value, such as your favorite interlanguage prefix or "c" for Commons.
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 (differences explained here).
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":
See also
Similar Templates
- Template:Wiktionary(edit talk links history)
- Template:Wiktionarycat(edit talk links history) for categories
- Template:Wiktionary-inline(edit talk links history) for inline links
- Template:Linktext(edit talk links history) for a word by word inline linkage
Related Templates
Usage Information