Difference between revisions of "Template:Elc/doc"
Jump to navigation
Jump to search
imported>GeoffreyT2000 (Creating documentation subpage for Template:Elc.) |
imported>Ahecht ({{#lsth:Template:Template-linking_templates|Other formatting templates}}) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| − | This formats an example [[Help:Link|wikilink]] | + | This formats an example [[Help:Link|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 [[WP:Piped link|piped link]] is shown. E.g. {{tlc|elc|Cookie|Biscuit}} renders as {{elc|Cookie|Biscuit}}, the markup for the wikilink [[Cookie|Biscuit]]. |
| − | A third parameter, if supplied, is included as a suffix to demonstrate [[Help:Wiki markup#Blend link|blended links]]; {{tlc|elc|Cookie||s}} produces | + | A third parameter, if supplied, is included as a suffix to demonstrate [[Help:Wiki markup#Blend link|blended links]]; {{tlc|elc|Cookie||s}} produces {{elc|Cookie||s}}, the wiki markup for [[Cookie]]s. |
| − | The short name {{tlc|elc}} ("example link, code") is chosen to be similar to the {{tlc}} template which produces similar output, but for template links. | + | The short name {{tlc|elc}} ("example link, code") is chosen to be similar to the {{tlx|tlc}} template which produces similar output, but for template links. |
| + | |||
| + | == See also == | ||
| + | ===Other formatting templates=== | ||
| + | {{#lsth:Template:Template-linking_templates|Other formatting templates}} | ||
Latest revision as of 17:24, 24 April 2020
| This is a documentation subpage for Template:Elc. It contains usage information, categories and other content that is not part of the original template page. |
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.
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}}