Difference between revisions of "Template:Linktext/doc"

From blackwiki
Jump to navigation Jump to search
imported>ساجد امجد ساجد
imported>Kiyoweap
(Add use for Chinese and Japanese 2-byte characters (although extendable to any other language also))
Line 24: Line 24:
  
 
:{{Linktext|This| is|n2= not| a| test}}
 
:{{Linktext|This| is|n2= not| a| test}}
 +
 +
Also can be used to wikt-link individual Chinese characters:
 +
:<pre>{{linktext|雲|居|道|膺}}</pre>
 +
:{{Linktext|雲|居|道|膺}}
  
 
== See also ==
 
== See also ==
Line 40: Line 44:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Interwiki link templates|Linktext]]
+
{{DEFAULTSORT:linktext}}
 +
[[Category:Interwiki link templates]]
 +
[[Category:Chinese multilingual support templates]]
 +
[[Category:Japonic multilingual support templates]]
  
 
[[ar:قالب:رابط نصي]]
 
[[ar:قالب:رابط نصي]]

Revision as of 00:47, 8 July 2012

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 &nbsp; instead.

If you want to have a delimiter, such as ",&nbsp;", appear between links, specify the delimiter with lim.

If desired, you can specify the language code with lang.


Examples:

{{Linktext|This| is| a| test}}
This is a test
{{Linktext|This| is|n2=&nbsp;not| a| test}}
This is not a test

Also can be used to wikt-link individual Chinese characters:

{{linktext|雲|居|道|膺}}

See also

Similar Templates

Related Templates

Usage Information