Template:Sublinks: Difference between revisions
Jump to navigation
Jump to search
(Testing another version) |
m (newer example) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|5}} | {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|5}} | ||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|6}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|5}}]] | |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|6}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|5}}]] | ||
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|6}} | |||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|7}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|6}}]] | |||
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|7}} | |||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|8}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|7}}]] | |||
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|8}} | |||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|9}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|8}}]] | |||
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|9}} | |||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|10}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|9}}]] | |||
|</h6> | |||
}} | |||
|</h6> | |||
}} | |||
|</h6> | |||
}} | |||
|</h6> | |||
}} | |||
|</h6> | |</h6> | ||
}} | }} | ||
Line 22: | Line 38: | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
This template tries to mimic subpages feature by adding parent links. Limited to | This template tries to mimic subpages feature by adding parent links. Limited to depth of 10 links. | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{sublinks| | {{sublinks|Roadmap/History}} | ||
</pre> | </pre> | ||
Produces: | Produces: | ||
{{sublinks| | {{sublinks|Roadmap/History}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:16, 14 June 2019
< Template:Sublinks
This template tries to mimic subpages feature by adding parent links. Limited to depth of 10 links.
Usage
{{sublinks|Roadmap/History}}
Produces: