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

(Created page with "<includeonly>{{#ifeq: {{#pos: {{{1}}} | # }} | 0 | {{{1}}} | {{#sub: {{{1}}} | 0 | {{#pos: {{{1}}} | # }} }} }}</includeonly><noinclude>{{Url parse article/Doc}} </noinclude><...")
 
Line 1: Line 1:
<includeonly>{{#ifeq: {{#pos: {{{1}}} | # }}
+
<includeonly>{{#if: {{#pos:{{{1}}}|#}} | {{{1}}} | {{#sub: {{{1}}} | 0 | {{#pos:{{{1}}}|#}} }} }}</includeonly><noinclude>{{Url parse article/Doc}}
| 0
 
| {{{1}}}
 
| {{#sub: {{{1}}} | 0 | {{#pos: {{{1}}} | # }} }}
 
}}</includeonly><noinclude>{{Url parse article/Doc}}
 
 
</noinclude><noinclude>[[Category:templates]]</noinclude>
 
</noinclude><noinclude>[[Category:templates]]</noinclude>

Revision as of 20:33, 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"