Template:Sublinks: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				 Trying to make recursive. Removed #ifexist  | 
				||
| Line 1: | Line 1: | ||
{{#switch: {{{case|start}}}  | |||
| start =  {{sublinks|case={{#titleparts:end/{{{1|{{FULLPAGENAME}}}}}| -1 }}}} [[{{{1|{{FULLPAGENAME}}}}} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | | -1 }}]] </h6>  | |||
| #default = {{sublinks|case={{#titleparts:{{{case}}}| -1 }}}} [[{{#titleparts: {{{case}}} |  | 2}} | {{#titleparts: {{{case}}} |  | -1}}]] {{!}}  | |||
| end = <h6><  | |||
}}  | |||
<noinclude>  | <noinclude>  | ||
This template tries to mimic subpages feature by adding parent links. Limited to 5 links.  | This template tries to mimic subpages feature by adding parent links. Limited to 5 links.  | ||
Revision as of 01:30, 13 December 2013
Template loop detected: Template:Sublinks [[ | End]] |
This template tries to mimic subpages feature by adding parent links. Limited to 5 links.
Usage
{{sublinks|Mods/ExampleMod/Docs/Inserter}}
Produces:
Template loop detected: Template:Sublinks Inserter