Predefinição:Elc/doc

Wikisource, a biblioteca livre

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|w:en:Cookie}} renders as [[w:en:Cookie]], the wiki markup for the wikilink w:en:Cookie. If a second parameter is given, a piped link is shown. E.g. {{elc|w:en:Cookie|Biscuit}} renders as [[w:en:Cookie|Biscuit]], the markup for the wikilink Biscuit.

A third parameter, if supplied, is included as a suffix to demonstrate blended links; {{elc|w:en:Cookie||s}} produces [[w:en:Cookie]]s, the wiki markup for w:en: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.