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><...")
 
m (Protected "Template:url parse article": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{#pos: {{{1}}} | # }}
+
<includeonly>{{#if: {{#pos:{{{1}}}|#}} | {{#sub: {{{1}}} | 0 | {{#pos:{{{1}}}|#}} }} | {{{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>

Latest revision as of 14:42, 27 March 2019

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"