Jump to content

ទំព័រគំរូ:slink/doc

ពីWiktionary

This is designed for use by {{infl}}, but may find other uses.

A more complex version of wlink, combining script and face, for use by {{infl}}.

Differences:

Doesn't translate "-" to "" (artefact of old), but blank does go to blank, not [[]].

Requires use of w= (named parameter) to avoid problems with parameter containing "="

Expects lang= to be valid (but doesn't break).

Passes face= and lang= to script template (if invoked).

As with wlink, is only for use within other templates where the conditional is required. For entries, use explicit script and links, or templates like {{l}}.

(look at wikitext, and at generated HTML with browser "show source" function)

foo

foo

foo


properly generates blank

Various problems:

foo generates null section reference, but is cleaned up in parsing or HTML tidy.

And see problems with invalid calls at {{Xyzy}}