Difference between revisions of "User:Caledor92/Sandbox2"
Jump to navigation
Jump to search
>Caledor92 |
>Caledor92 |
||
| Line 1: | Line 1: | ||
| − | <noinclude>[[Category:Templates]]</noinclude><includeonly> | + | <noinclude>{{doc}}[[Category:Templates]]<!-- |
| − | <!-- | + | |
| + | // Cargo Declare | ||
| + | -->{{#cargo_declare: | ||
| + | _table=Abilities | ||
| + | |Id=Integer | ||
| + | |GenericName=String | ||
| + | |Subcategory=String | ||
| + | |Name=String | ||
| + | |Details=Wikitext (size=3000) | ||
| + | |AbilityIconName=String | ||
| + | |AbilityGroup=Integer | ||
| + | |PartyPowerWeight=Integer | ||
| + | |AbilityLimitedGroupId1=Integer | ||
| + | |AbilityLimitedGroupId2=Integer | ||
| + | |AbilityLimitedGroupId3=Integer | ||
| + | }}</noinclude><includeonly><!-- | ||
| + | |||
| + | // Storing values to Cargo Table | ||
| + | -->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#cargo_store: | ||
| + | _table=Abilities | ||
| + | |Id={{{Id|}}} | ||
| + | |GenericName={{{GenericName|}}} | ||
| + | |Subcategory={{{Subcategory|}}} | ||
| + | |Name={{{Name|}}} | ||
| + | |Details={{{Details|}}} | ||
| + | |AbilityIconName={{#replace:{{{AbilityIconName|}}}| |_}} | ||
| + | |AbilityGroup={{{AbilityGroup|}}} | ||
| + | |PartyPowerWeight={{{PartyPowerWeight|}}} | ||
| + | |AbilityLimitedGroupId1={{{AbilityLimitedGroupId1|}}} | ||
| + | |AbilityLimitedGroupId2={{{AbilityLimitedGroupId2|0}}} | ||
| + | |AbilityLimitedGroupId3={{{AbilityLimitedGroupId3|0}}} | ||
| + | }} | ||
| + | | }}<!-- | ||
| + | |||
// Template Display Content | // Template Display Content | ||
--><div class="panel" style="margin:auto;max-width:800px"> | --><div class="panel" style="margin:auto;max-width:800px"> | ||
Revision as of 18:46, 20 October 2019
Error: #cargo_declare must be called from a template page.