Template:Example link code/doc

From New Prairie Wiki
Revision as of 15:51, 27 August 2025 by Randombell (talk | contribs) (Created page with "{{documentation subpage}} {{tsh|elc}} This formats an example wikilink to show how it would be entered in wiki markup. The first parameter is the link destination. E.g. {{tlc|elc|Cookie}} renders as {{elc|Cookie}}, the wiki markup for the wikilink Cookie. If a second parameter is given, a piped link is shown. E.g. {{tlc|elc|Cookie|Biscuit}} renders as {{elc|Cookie|Biscuit}}, the markup for the wikilink Biscuit. A third...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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|​|s}} produces [[Cookie]]s, the wiki markup for Cookies.

See also

Other formatting templates

{{#lsth:Template:Template-linking_templates|Other formatting templates}}