|
|
| Line 1: |
Line 1: |
| <includeonly>
| | #REDIRECT [[Template:Inventory slot]] |
| <div class="slot crafting-{{#switch: {{{Type|{{{type}}}}}}
| |
| | custom = custom
| |
| | Custom = custom
| |
| | standard = standard
| |
| | Standard = standard
| |
| | custom
| |
| }}"><!--
| |
| --><div class=crafting-recipe>
| |
| {{CraftingCell| {{Stack|{{{1|{{{item|{{{Item|Air}}}}}}}}}|count = {{{count|{{{Count|1}}}}}}|name={{{name|{{{Name|}}}}}}|lore={{{lore|{{{Lore|}}}}}}|link={{{link|}}}}}}}
| |
| </div><!--
| |
| --></div></includeonly><noinclude>
| |
| {{Documentation}}
| |
| {{Hidden begin
| |
| | toggle = left
| |
| | title = Template Data}}
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "Type": {
| |
| "label": "Type",
| |
| "description": "The type of cell for the item. \"Custom\" for GM4 blue background boxes",
| |
| "example": "Custom",
| |
| "type": "line"
| |
| },
| |
| "item": {
| |
| "aliases": [
| |
| "1"
| |
| ],
| |
| "label": "Item",
| |
| "description": "The item to be displayed. Prefix with {{code|gm4:}} for GM4-specific items.",
| |
| "example": "gm4:Boots of Ostara",
| |
| "type": "line",
| |
| "required": true
| |
| },
| |
| "count": {
| |
| "label": "Count",
| |
| "description": "The amount of this item",
| |
| "example": "8",
| |
| "type": "number"
| |
| },
| |
| "name": {
| |
| "label": "Name",
| |
| "description": "If the item is uniquely named",
| |
| "example": "Lucky Charms",
| |
| "type": "line"
| |
| },
| |
| "lore": {
| |
| "label": "Lore",
| |
| "description": "If the item has unique lore. Formatting codes should be prefixed with & and new lines are inputted using /",
| |
| "example": "&o&7They're magically delicious!",
| |
| "type": "line"
| |
| },
| |
| "link": {
| |
| "label": "Link",
| |
| "description": "When the item is clicked, it will redirect the user. Internal links only need the title of the page. External links require the full link.",
| |
| "example": "End Fishing/Enderpuff",
| |
| "type": "line"
| |
| }
| |
| },
| |
| "description": "Single item display",
| |
| "format": "inline"
| |
| }
| |
| </templatedata>
| |
| {{Hidden end}}</noinclude>
| |