No edit summary |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
This is the "Recipe" template. |
This is the "Recipe" template. |
||
− | {{# |
+ | {{#cargo_attach:_table=Recipes}} |
+ | </noinclude><includeonly>{{#if:{{NAMESPACE}}{{{nocargo|}}}||{{#cargo_store:_table=Recipes |
||
− | | id=String |
||
− | | name=String |
||
− | | image=String |
||
− | | description=String |
||
− | | level=Integer |
||
− | | cost=Integer |
||
− | | category=String |
||
− | | requires1=String |
||
⚫ | |||
− | | requires2=String |
||
− | | requires2name=String |
||
− | | requires3=String |
||
− | | requires3name=String |
||
− | }} |
||
− | </noinclude><includeonly> |
||
− | {{#cargo_store:_table=Feats |
||
| id={{{id|}}} |
| id={{{id|}}} |
||
− | | name={{{name|}}} |
+ | | name={{{name|{{PAGENAME}}}}} |
| image={{{image|}}} |
| image={{{image|}}} |
||
| description={{{desc|}}} |
| description={{{desc|}}} |
||
Line 31: | Line 16: | ||
| requires3={{{requires3|}}} |
| requires3={{{requires3|}}} |
||
| requires3name={{{requires3name|}}} |
| requires3name={{{requires3name|}}} |
||
⚫ | |||
− | }} |
||
+ | }}<!-- end if namespace or nocargo -->}} |
||
{| class="infobox" cellspacing="0" style="clear:right" |
{| class="infobox" cellspacing="0" style="clear:right" |
||
! class="infoboxname" colspan="4" | <span style="vertical-align:text-top;">{{{name|{{PAGENAME}}}}}</span> |
! class="infoboxname" colspan="4" | <span style="vertical-align:text-top;">{{{name|{{PAGENAME}}}}}</span> |
||
Line 65: | Line 51: | ||
|} |
|} |
||
{{#if: {{{teaches1|}}} | ! colspan="4" style="padding: 0;" {{!}} </div> }} |
{{#if: {{{teaches1|}}} | ! colspan="4" style="padding: 0;" {{!}} </div> }} |
||
− | |} |
+ | |}</includeonly><noinclude> |
{{doc}} |
{{doc}} |
||
Revision as of 08:08, 22 January 2021
This is the "Recipe" template. This template adds rows to the table "Recipes", which is declared by the template Recipes/CargoDec. View table.
Blacksmith | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Recipe | |||||||||||||||||||||||||||||||||||
Level | 10 | Cost | 2 | ||||||||||||||||||||||||||||||||
Requires | |||||||||||||||||||||||||||||||||||
Teaches | |||||||||||||||||||||||||||||||||||
|
Usage
{{Recipe infobox | name = | image = | desc = | level = | cost = | source = | requires1 = | requires1name = | requires2 = | requires2name = | requires3 = | requires3name = | teaches1 = | teaches1desc = | teaches2 = | teaches2desc = | teaches3 = | teaches3desc = | teaches4 = | teaches4desc = | teaches5 = | teaches5desc = | teaches6 = | teaches6desc = }}
Parameters
- name
- Name of the Recipe. Defaults to
{{PAGENAME}}
. - image
- Format: xxxxx.png (auto-sizes to 100px in width)
- desc
- Recipe description.
- level
- Level required to access the recipe.
- cost
- Feat points needed to unlock.
- source
- How / where is the recipe obtained? (e.g. location name)
- requires
- Enter "yes" or leave blank.
- requires1 - requires3
- Recipe requirements. Format: xxxxx.png (auto-sizes to 64px in width)
- requires1name - requires3name
- Name of the required recipe. Used for cross-linking.
- teaches
- Enter "yes" or leave blank.
- teaches1 - teaches6
- Recipe teaches crafting. Format: xxxxx.png (auto-sizes to 64px in width)
- teaches1desc - teaches6desc
- Description of crafted item.
The above documentation is transcluded from Template:Recipe infobox/doc. (edit | history)