Template:LinkToString

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m (typo)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
Input: A wiki-link as it comes out of #ask queries (<nowiki>[[:foo|bar]]</nowiki>)<br/>
 
Input: A wiki-link as it comes out of #ask queries (<nowiki>[[:foo|bar]]</nowiki>)<br/>
 
Output: foo<br/>
 
Output: foo<br/>
 +
Usage: <nowiki>{{LinkToString | {{{value}}} }}</nowiki><br/>
 
''Thanks to Patrick Nagel.''</noinclude>
 
''Thanks to Patrick Nagel.''</noinclude>
 
<includeonly>{{#explode:{{#sub:{{{1}}}|3}}|{{!}}|0}}</includeonly>
 
<includeonly>{{#explode:{{#sub:{{{1}}}|3}}|{{!}}|0}}</includeonly>

Latest revision as of 14:11, 20 May 2011

Input: A wiki-link as it comes out of #ask queries ([[:foo|bar]])
Output: foo
Usage: {{LinkToString | {{{value}}} }}
Thanks to Patrick Nagel.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools