Template:Sublinks: Difference between revisions
Jump to navigation
Jump to search
m (Added "/end" to make it appear as false page for #ifexist) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<h6> | <h6> | ||
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | | {{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | 2 }}}}} | < [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 }}]] }} | ||
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | | {{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | 3 }}}}} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 2 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 2}}]] }} | ||
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | | {{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | 4 }}}}} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 3 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 3}}]] }} | ||
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | | {{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | 5 }}}}} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 4 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 4}}]] }} | ||
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | | {{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}/end}}} | 6 }}}}} | | ||
{{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 5 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 5}}]] }} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 5 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 5}}]] }} | ||
</h6> | </h6> |
Revision as of 12:47, 12 December 2013
This template tries to mimic subpages feature by adding parent links. Limited to 5 links.
Usage
{{sublinks|Mods/ExampleMod/Docs/Inserter}}
Produces: