模板:Elc/doc

来自决策链云智库
< 模板:Elc
Zeroclanzhang讨论 | 贡献2024年1月17日 (三) 16:33的版本 (创建页面,内容为“{{documentation subpage}} 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 p…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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|模板: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}}