3,400 bytes added
, 22:00, 19 November 2020
<includeonly><div id="directory-in-header" style="bottom: 16px; right: 0px; font-size: 12px !important;">''Directory: {{#if:{{{1|}}}|[[:{{{1}}}|{{{l1|{{{1}}}}}}]]|[[Raposa]] → [[{{PAGENAME}}]]
}}{{#if:{{{2|}}}|<nowiki/> → [[:{{{2}}}|{{{l2|{{{2}}}}}}]]|
}}{{#if:{{{3|}}}|<nowiki/> → [[:{{{3}}}|{{{l3|{{{3}}}}}}]]|
}}{{#if:{{{4|}}}|<nowiki/> → [[:{{{4}}}|{{{l4|{{{4}}}}}}]]|
}}{{#if:{{{5|}}}|<nowiki/> → [[:{{{5}}}|{{{l5|{{{5}}}}}}]]|
}}{{#if:{{{6|}}}|<nowiki/> → [[:{{{6}}}|{{{l6|{{{6}}}}}}]]|
}}{{#if:{{{7|}}}|<nowiki/> → [[:{{{7}}}|{{{l7|{{{7}}}}}}]]|
}}{{#if:{{{8|}}}|<nowiki/> → [[:{{{8}}}|{{{l8|{{{8}}}}}}]]|
}}{{#if:{{{9|}}}|<nowiki/> → [[:{{{9}}}|{{{l9|{{{9}}}}}}]]|
}}{{#if:{{{10|}}}|<nowiki/> → [[:{{{10}}}|{{{l10|{{{10}}}}}}]]|
}}{{#if:{{{11|}}}|<nowiki/> → [[:{{{11}}}|{{{l11|{{{11}}}}}}]]|
}}{{#if:{{{12|}}}|<nowiki/> → [[:{{{12}}}|{{{l12|{{{12}}}}}}]]|
}}{{#if:{{{13|}}}|<nowiki/> → [[:{{{13}}}|{{{l13|{{{13}}}}}}]]|
}}{{#if:{{{14|}}}|<nowiki/> → [[:{{{14}}}|{{{l14|{{{14}}}}}}]]|
}}{{#if:{{{15|}}}|<nowiki/> → [[:{{{15}}}|{{{l15|{{{15}}}}}}]]|
}}{{#if:{{{16|}}}|<nowiki/> → [[:{{{16}}}|{{{l16|{{{16}}}}}}]]|
}}{{#if:{{{17|}}}|<nowiki/> → [[:{{{17}}}|{{{l17|{{{17}}}}}}]]|
}}{{#if:{{{18|}}}|<nowiki/> → [[:{{{18}}}|{{{l18|{{{18}}}}}}]]|
}}{{#if:{{{19|}}}|<nowiki/> → [[:{{{19}}}|{{{l19|{{{19}}}}}}]]|
}}{{#if:{{{20|}}}|<nowiki/> → [[:{{{20}}}|{{{l20|{{{20}}}}}}]]|
}}{{#if:{{{21|}}}|<nowiki/> → [[:{{{21}}}|{{{l21|{{{21}}}}}}]]|
}}{{#if:{{{22|}}}|<nowiki/> → [[:{{{22}}}|{{{l22|{{{22}}}}}}]]|
}}{{#if:{{{23|}}}|<nowiki/> → [[:{{{23}}}|{{{l23|{{{23}}}}}}]]|
}}{{#if:{{{24|}}}|<nowiki/> → [[:{{{24}}}|{{{l24|{{{24}}}}}}]]|
}}{{#if:{{{25|}}}|<nowiki/> → [[:{{{25}}}|{{{l25|{{{25}}}}}}]]|
}}{{#if:{{{26|}}}|<nowiki/> — '''<br/>Error: [[Template:Directory|Too many levels specified (maximum is 25)]]'''
}}{{#if:{{{or1|}}}|<nowiki/> Or see [[:{{{or1}}}|{{{orl1|{{{or1}}}}}}]]
}}{{#if:{{{or2|}}}|{{#if:{{{or3|}}}|, |, and}} [[:{{{or2}}}|{{{orl2|{{{or2}}}}}}]]
}}{{#if:{{{or3|}}}|{{#if:{{{or4|}}}|, |, and}} [[:{{{or3}}}|{{{orl3|{{{or3}}}}}}]]
}}{{#if:{{{or4|}}}|{{#if:{{{or5|}}}|, |, and}} [[:{{{or4}}}|{{{orl4|{{{or4}}}}}}]]
}}{{#if:{{{or5|}}}|{{#if:{{{or6|}}}|, |, and}} [[:{{{or5}}}|{{{orl5|{{{or5}}}}}}]]
}}{{#if:{{{or6|}}}|{{#if:{{{or7|}}}|, |, and}} [[:{{{or6}}}|{{{orl6|{{{or6}}}}}}]]
}}{{#if:{{{or7|}}}|{{#if:{{{or8|}}}|, |, and}} [[:{{{or7}}}|{{{orl7|{{{or7}}}}}}]]
}}{{#if:{{{or8|}}}|{{#if:{{{or9|}}}|, |, and}} [[:{{{or8}}}|{{{orl8|{{{or8}}}}}}]]
}}{{#if:{{{or9|}}}|{{#if:{{{or10|}}}|, |, and}} [[:{{{or9}}}|{{{orl9|{{{or9}}}}}}]]
}}''</div></includeonly>
<noinclude>{{tlx|Directory}} is used for creating a level directory for pages which aren't subpages at the head of article sections.
==Usage==
{{tlx|Directory|Level 1|...|''Level 25''|5=or1=Or 1|...|7=or15=''Or 10''|}}
* Up to 25 parameters are permitted: only the first is mandatory.
* If more than 25 entries are supplied, a message will be displayed pointing out the problem.
* Using l# will change the label for a level.
* Up to 10 or parameters are permitted.
* The list is dynamically generated so that the word "and" is always placed between the final two or entries.
* Using orl# will change the label for an or link.
Copied from the Don't Starve Wikia. Credit to [http://dont-starve-game.wikia.com/wiki/User:Anemicne Anemicne].
[[Category:Templates]]</noinclude>