Difference between revisions of "Template:LinkShorterPages"

From RadiWiki
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Is the passed text longer than 0 characters? -->{{#ifeq:{{#len:{{{1}}}}}|0|<!-- Nothing to do-->|
+
{{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}}}}
<!-- Show the text-->{{{1}}}
 
<!-- Call ourself with 3 byte shorter -->{{LinkEvenShorterPages|{{{1}}}}}
 
}}
 
 
 
{{StripLastWord|{{{1}}}}}
 

Latest revision as of 21:19, 13 February 2020