Difference between revisions of "Template:Linktext/doc"

From blackwiki
Jump to navigation Jump to search
imported>Visviva
(moving from Template:Linktext.)
 
imported>Visviva
(rm userspace refs.)
Line 14: Line 14:
 
Examples:
 
Examples:
  
:<pre>{{User:Visviva/Test5|This| is| a| test}}</pre>
+
:<pre>{{Linktext|This| is| a| test}}</pre>
  
:{{User:Visviva/Test5|This| is| a| test}}
+
:{{Linktext|This| is| a| test}}
  
:<pre>{{User:Visviva/Test5|This| is|n2=&amp;nbsp;not| a| test}}</pre>
+
:<pre>{{Linktext|This| is|n2=&amp;nbsp;not| a| test}}</pre>
  
:{{User:Visviva/Test5|This| is|n2=&nbsp;not| a| test}}
+
:{{Linktext|This| is|n2=&nbsp;not| a| test}}
  
 
[[Category:Interwiki link templates|Linktext]]
 
[[Category:Interwiki link templates|Linktext]]

Revision as of 06:05, 29 December 2006

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.

Since these are normally definitional links, they are displayed without underlines by default. Change this by setting underline to "yes".


Examples:

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