From WikiChip
Difference between revisions of "Template:url parse article"

Line 1: Line 1:
<includeonly>{{#if: {{#pos:{{{1}}}|#}} | {{{1}}} | {{#sub: {{{1}}} | 0 | {{#pos:{{{1}}}|#}} }} }}</includeonly><noinclude>{{Url parse article/Doc}}
+
<includeonly>{{#if: {{#pos:{{{1}}}|#}} | {{#sub: {{{1}}} | 0 | {{#pos:{{{1}}}|#}} }} | {{{1}}} }}</includeonly><noinclude>{{Url parse article/Doc}}
 
</noinclude><noinclude>[[Category:templates]]</noinclude>
 
</noinclude><noinclude>[[Category:templates]]</noinclude>

Revision as of 21:35, 23 July 2014

Template documentation


Returns the article part of a link.

Usage

{{Url parse article| Link }}

Example

"{{Url parse article|ABC}}" vs "{{Url parse article|ABC#Anchor}}"
"ABC" vs "ABC"