Difference between revisions of "Template:Basil/doc"
From SpiralKnights
m (Added {{documentation subpage}}) |
m (silly fix) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
− | |||
==Usage== | ==Usage== | ||
To easily and consistently place information about basil's recipe inventory on pages based on depth. The template also adds items to a relevant category. | To easily and consistently place information about basil's recipe inventory on pages based on depth. The template also adds items to a relevant category. |
Revision as of 00:33, 4 October 2015
This is a documentation subpage for Template:Basil (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
To easily and consistently place information about basil's recipe inventory on pages based on depth. The template also adds items to a relevant category.
Code
{{Basil|star=|only=}}
Parameters
Required
- Star
- A number 1, 2, 3, 4, or 5 that matches the star level of the item.
- only
- yes = registers for Category:Recipes only available from Basil
- no = does not register for category
Notes
The code has a lot of switches to take care of grammatical stuffs.
The code forces the category to sort by star level, then alphabetically within star level.
"Only" parameter only pertains to the category registration, and has nothing to do with "only depth" etc.