Difference between revisions of "Template:LinkShorterPages"

From RadiWiki
Jump to: navigation, search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Is the passed text longer than 0 characters? -->{{#ifeq:{{#len:{{{1}}}}}|0
+
{{ShowHeaderIfShorterPageIsExisting|{{{1}}}|Related pages}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|9}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|8}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|7}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|6}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|5}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|4}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|3}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|2}}}}{{LinkIfExisting|{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|1}}}}
|<!-- Nothig to do-->
 
|
 
<!-- Show the text-->{{{1}}}
 
<!-- Call ourself with 3 byte shorter -->{{LinkShorterPages|{{#sub:{{{1}}}|0|-3}}}}
 
}}
 

Latest revision as of 21:19, 13 February 2020