Template:Example link code: Difference between revisions

Content deleted Content added
 
Doc typo
Line 3:
{{AFC submission|||ts=20161210143435|u=71.41.210.146|ns=118|type=template}} <!--- Important, do not remove this line before template has been created. --->
<code>[<nowiki/>[{{{1}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}]<nowiki/>]{{{3|}}}<code><!--
--><noinclude>{{documentation|content=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 <code>[<nowiki/>[Cookie]]</code>, the wiki markup for the wikilink [[Cookie]]. If a second parameter is given, a [[WP:Piped link|piped link]] is showsshown. E.g. {{tlc|elc|Cookie|Biscuit}} renders as <code>[<nowiki/>[Cookie{{!}}Biscuit]]</code>, 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 <code>[<nowiki/>[Cookie]]s</code>, the wiki markup for [[Cookie]]s.