Template:Wl/doc

From Angelina Jordan Wiki
Revision as of 17:36, 26 October 2020 by Dcljr (talk | contribs) (ce)
This is a subpage documenting Template:Wl. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template is used to display the wiki markup that would form an "internal" wikilink (i.e., using double square-brackets: [[]]). This should only be used on talk pages or in template documentation (or help pages, user pages, etc.), not in articles. If no input is given to the template, it uses the word "wikilink" as the "target" of the link, as seen above. This can be suppressed by calling the template with empty input — i.e., {{wl|}} (see examples below).

This template styles the template call as code ([[like this]]). To display the sample wikilink as plain text ( [[like this]] ), use Template:Wlnc.

The name of the template is based on the phrase "wiki link".

Usage

  • {{wl}}
  • {{wl|}}
  • {{wl|target}}
  • {{wl|target|linktext}}

Examples

  • {{wl}}[[wikilink]]
  • {{wl|}}[[]]
  • {{wl|Angelina}}[[Angelina]]
  • {{wl|Billie Holiday|Billie Holiday's}}[[Billie Holiday|Billie Holiday's]]

See also

  • {{wlnc}} — same as this template, but renders the sample wikilink markup as plain text (not code)