Template:Missionreq/doc: Difference between revisions
Created page with "{{Documentation}} :''For information on updating requirements, see Module:Missionreq/data'' Creates a list of required missions as list. Missions required for those liste..." |
mNo edit summary |
||
| Line 4: | Line 4: | ||
Creates a list of required missions as list. Missions required for those listed will also be listed, as a sublist; and so on. | Creates a list of required missions as list. Missions required for those listed will also be listed, as a sublist; and so on. | ||
===Usage=== | |||
<pre> | <pre> | ||
{{Missionreq|<missionname>}} | {{Missionreq|<missionname>}} | ||
| Line 11: | Line 11: | ||
If lists are becoming too long, then the level of indentation can be limited with the second parameter. | If lists are becoming too long, then the level of indentation can be limited with the second parameter. | ||
===With Limit=== | |||
<pre> | <pre> | ||
{{Missionreq|<missionname>|<limit>}} | {{Missionreq|<missionname>|<limit>}} | ||
</pre> | </pre> | ||
For example, <code><nowiki>{{Missionreq|JayCo - A Brief History Part | For example, <code><nowiki>{{Missionreq|JayCo - A Brief History Part 2|1}}</nowiki></code> will only list the quests directly required: | ||
{{Missionreq|JayCo - A Brief History Part | {{Missionreq|JayCo - A Brief History Part 2|1}} | ||
<code><nowiki>{{Missionreq|JayCo - A Brief History Part | <code><nowiki>{{Missionreq|JayCo - A Brief History Part 2|2}}</nowiki></code> will list the requirements directly required, and sublists of the ones directly required for those, but nothing further: | ||
{{Missionreq|JayCo - A Brief History Part | {{Missionreq|JayCo - A Brief History Part 2|2}} | ||
If a | ===No Limit=== | ||
If you do not want to limit the sublists: | |||
<pre> | |||
{{Missionreq|<missionname>}} | |||
</pre> | |||
For example, <code><nowiki>{{Missionreq|JayCo - A Brief History Part 8}}</nowiki></code> will only list the missions directly required: | |||
{{Missionreq|JayCo - A Brief History Part 8}} | |||
If a mission's requirements have been cut off, this will be denoted with ellipses (...). The default cut off is 9 levels. | |||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||