Template:Sublinks: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Just testing)
 
(category)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<h6>
{{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|0}}
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 }}}}} | < [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 }}]] }}
  |<h6>< [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}]]
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 2 }}}}} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 2 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 2}}]] }}
  {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|1}}
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 3 }}}}} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 3 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 3}}]] }}
    |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|2}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|1}}]]
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 4 }}}}} | {{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 4 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 4}}]] }}
    {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|2}}
{{#ifexist: {{{1|{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 5 }}}}} |  
      |{{!}} [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|3}}|{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|2}}]]
{{!}} [[{{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 5 }} | {{#titleparts: {{{1|{{FULLPAGENAME}}}}} | 1 | 5}}]] }}
      {{#if:{{#explode:{{{1|{{FULLPAGENAME}}}}}|/|3}}
</h6>
        |{{!}} [[{{#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>
 
{{Documentation|text=
This template tries to mimic subpages feature by adding parent links. Limited to depth of 10 links.


<noinclude>
This template tries to mimic subpages feature by adding parent links. Limited to 5 links.
==Usage==
==Usage==
<pre>
<pre>
{{sublinks|Mods/ExampleMod/Docs/Inserter}}
{{sublinks|Roadmap/History}}
</pre>
</pre>
Produces:
Produces:
{{sublinks|Roadmap/History}}


{{sublinks|Mods/ExampleMod/Docs/Inserter}}
[[Category:Templates]]
</noinclude>
}}</noinclude>

Latest revision as of 20:23, 24 September 2023

< Template:Sublinks

[Create]

Documentation

This template tries to mimic subpages feature by adding parent links. Limited to depth of 10 links.

Usage

{{sublinks|Roadmap/History}}

Produces:

< Roadmap | History
List of all templates