We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Directory/doc

From Don't Starve Wiki
Jump to: navigation, search
Description
This template is used for creating a level directory for pages which aren't subpages at the head of article sections.
Usage
{{Directory|Level 1|...|Level 25|...|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.
NB 
no newlines are permitted else the article links will be broken.
Example
Code Result
{{Directory}}
{{Directory|Level}}
Directory: Level
{{Directory|Level|Level}}
Directory: LevelLevel
{{Directory|Level|Level|l2=Alternate Title}}
Directory: LevelAlternate Title
{{Directory|Level|Level|or1=Or}}
Directory: LevelLevel Or see Or
{{Directory|Level|Level|or1=Or|or2=Or}}
Directory: LevelLevel Or see Or, and Or
{{Directory|Level|Level|or1=Or|or2=Or|orl2=Alternate Title}}
Directory: LevelLevel Or see Or, and Alternate Title

And so on up to 25 parameters and/or 10 or parameters.