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 |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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 missions 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 mission's requirements have been cut off, this will be denoted with ellipses (...). The default cut off is 9 levels. | |||
===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}} | |||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
Latest revision as of 15:39, 16 June 2020
- For information on updating requirements, see Module:Missionreq/data
Creates a list of required missions as list. Missions required for those listed will also be listed, as a sublist; and so on.
Usage
{{Missionreq|<missionname>}}
If lists are becoming too long, then the level of indentation can be limited with the second parameter.
With Limit
{{Missionreq|<missionname>|<limit>}}
For example, {{Missionreq|JayCo - A Brief History Part 2|1}} will only list the missions directly required:
| Missions: |
|---|
{{Missionreq|JayCo - A Brief History Part 2|2}} will list the requirements directly required, and sublists of the ones directly required for those, but nothing further:
| Missions: |
|---|
If a mission's requirements have been cut off, this will be denoted with ellipses (...). The default cut off is 9 levels.
No Limit
If you do not want to limit the sublists:
{{Missionreq|<missionname>}}
For example, {{Missionreq|JayCo - A Brief History Part 8}} will only list the missions directly required:
| Missions: |
|---|
