Template:Sublinks: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Testing another version)
mNo edit summary
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>
           }}
           }}

Revision as of 13:52, 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