Difference between revisions of "Template:ResolveDot"

From Wikispooks
Jump to navigation Jump to search
(t)
(t)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{#sub:{{{1|}}}|0|2}}|./|{{FULLPAGENAME}}/{{#sub:{{{1|}}}|2|}}|}}|{{{1|}}}}}</font></includeonly><noinclude>
+
<includeonly>{{#ifeq: {{#sub:{{{1|}}}|0|2}}|./|{{FULLPAGENAME}}/{{#sub:{{{1|}}}|2|}}|{{{1|}}}}}</font></includeonly><noinclude>
 
This is a [[:Category:Semantic Utility Templates|Semantic Utility Templates]] to resolve relative pagenames.
 
This is a [[:Category:Semantic Utility Templates|Semantic Utility Templates]] to resolve relative pagenames.
 
It just replaces a leading "./" with <nowiki>{{FULLPAGENAME}}/</nowiki>.<br/>
 
It just replaces a leading "./" with <nowiki>{{FULLPAGENAME}}/</nowiki>.<br/>
 
<nowiki>{{ResolveDot|./SubPageName}}</nowiki>
 
<nowiki>{{ResolveDot|./SubPageName}}</nowiki>
 
[[category:Semantic Utility Templates]]</noinclude>
 
[[category:Semantic Utility Templates]]</noinclude>

Latest revision as of 14:05, 30 March 2017

This is a Semantic Utility Templates to resolve relative pagenames. It just replaces a leading "./" with {{FULLPAGENAME}}/.
{{ResolveDot|./SubPageName}}