Template:Sublinks: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Undo revision 106872 by Rk84 (talk))
(Testing another version)
Line 1: Line 1:
<h6>{{#ifexist: {{#titleparts: {{{1|{{FULLPAGENAME}}}}}/end | 1 }} | < [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 }}]] }}
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|0}}
{{#ifexist: {{#titleparts: {{{1|{{FULLPAGENAME}}}}}/end | 2 }} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 2 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 2}}]] }}
  |<h6>< [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}]]
{{#ifexist: {{#titleparts: {{{1|{{FULLPAGENAME}}}}}/end | 3 }} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 3 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 3}}]] }}
  {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|1}}
{{#ifexist: {{#titleparts: {{{1|{{FULLPAGENAME}}}}}/end | 4 }} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 4 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 4}}]] }}
    |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|2}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|1}}]]
{{#ifexist: {{#titleparts: {{{1|{{FULLPAGENAME}}}}}/end | 5 }} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 5 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 5}}]] }}</h6>
    {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|2}}
 
      |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|3}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|2}}]]
<noinclude>
      {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|3}}
        |{{!}} [[{{#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}}]]
            |</h6>
          }}
          |</h6>
        }}
        |</h6>
      }}
      |</h6>
    }}
    |</h6>
  }}
}}<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.
==Usage==
==Usage==

Revision as of 11:49, 13 December 2013

< Template:Sublinks

This template tries to mimic subpages feature by adding parent links. Limited to 5 links.

Usage

{{sublinks|Mods/ExampleMod/Docs/Inserter}}

Produces:

< Mods | ExampleMod | Docs | Inserter