Template:Elc: Difference between revisions
(Created page with "<includeonly><code>[<nowiki/>[{{{1}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}]<nowiki/>]{{{3|}}}</code></includeonly><!-- --><noinclude> {{documentation}} </noinclude>") |
m (1 revision imported) |
(No difference)
|
Latest revision as of 19:00, 19 June 2023
This formats an example wikilink to show how it would be entered in wiki markup. The first parameter is the link destination. E.g. {{elc|Cookie}}
renders as [[Cookie]]
, the wiki markup for the wikilink Cookie. If a second parameter is given, a piped link is shown. E.g. {{elc|Cookie|Biscuit}}
renders as [[Cookie|Biscuit]]
, the markup for the wikilink Biscuit.
A third parameter, if supplied, is included as a suffix to demonstrate blended links; {{elc|Cookie|Template:Zwsp|s}}
produces [[Cookie]]s
, the wiki markup for Cookies.
The short name {{elc}}
("example link, code") is chosen to be similar to the {{tlc}}
template which produces similar output, but for template links.
See also
Other formatting templates
{{#lsth:Template:Template-linking_templates|Other formatting templates}}
File:Wiki letter w.svg | This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |