Difference between revisions of "Template:Recipe/SpriteFood/doc"
From SpiralKnights
m (created) |
m (tag) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{documentation subpage}}</noinclude> | ||
==Usage== | ==Usage== | ||
To easily place recipe information about sprite food on individual material pages. | To easily place recipe information about sprite food on individual material pages. | ||
Line 15: | Line 16: | ||
*[[:Template:Recipe/mineral]] | *[[:Template:Recipe/mineral]] | ||
*[[:Template:Recipe/choice]] | *[[:Template:Recipe/choice]] | ||
− | *[[:Template:Recipe/end/nobind]] ( | + | *[[:Template:Recipe/end/nobind]] (we could use [[:Template:Table/End]], but the specificity of '''Template:Recipe/end/nobind''' lets us put in a note under the recipe for every food page if we wish, while '''Table/End''' does not because it is used in a general capacity around the wiki. They are both simply "'''<nowiki>|}</nowiki>'''" to close coding.) |
Latest revision as of 00:57, 4 October 2015
This is a documentation subpage for Template:Recipe/SpriteFood (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
To easily place recipe information about sprite food on individual material pages.
Code
{{Recipe/SpriteFood|{{PAGENAME}}}}
Notes
If there's ever a disambig issue, simply put the item's true name instead of {{PAGENAME}}.
This template uses numerous simple switches to automatically fill information in based on established sprite food patterns using the material's name. Assuming the game retains the same patterns and ever has blue/green food, simply add to the appropriate switches in this template. If new foods don't, you might want to use the following to display the recipe with any unusual values specific to that material (if they have a recipe):
- Template:Recipe/food/start
- Template:Recipe/mineral
- Template:Recipe/choice
- Template:Recipe/end/nobind (we could use Template:Table/End, but the specificity of Template:Recipe/end/nobind lets us put in a note under the recipe for every food page if we wish, while Table/End does not because it is used in a general capacity around the wiki. They are both simply "|}" to close coding.)