Template:Sublinks: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (newer example) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<h6>{{# | {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|0}} | ||
{{# | |<h6>< [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}]] | ||
{{# | {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|1}} | ||
{{# | |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|2}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|1}}]] | ||
{{# | {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|2}} | ||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|3}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|2}}]] | |||
<noinclude> | {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|3}} | ||
This template tries to mimic subpages feature by adding parent links. Limited to | |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|4}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|3}}]] | ||
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|4}} | |||
|{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|5}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|4}}]] | |||
{{#if:{{#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> | |||
}} | |||
|</h6> | |||
}} | |||
|</h6> | |||
}} | |||
|</h6> | |||
}} | |||
}}<noinclude> | |||
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: