Template:Uses skill list/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} This template is used to generate a list of items or objects that are created with one or more skills. ==Usage== ===One item=== <pre> {{Uses skill list|Herblore}} </pre> {{Uses skill list|Herblore}} ===More than one item=== <pre> {{Uses skill list|Herblore|Crafting}} </pre> {{Uses skill list|Herblore|Crafting}} ==Arguments== {{ArgDocHeader}} {{ArgDocLine |description = An item name. Set as many of these as needed. |optional = Yes |values = Any ite...") |
No edit summary |
||
Line 37: | Line 37: | ||
"params": { |
"params": { |
||
"1": { |
"1": { |
||
"label": " |
"label": "Skill 1", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Herblore", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"2": { |
"2": { |
||
"label": " |
"label": "Skill 2", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Crafting" |
||
}, |
}, |
||
"3": { |
"3": { |
||
"label": " |
"label": "Skill 3", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Smithing" |
||
}, |
}, |
||
"4": { |
"4": { |
||
"label": " |
"label": "Skill 4", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Fletching" |
||
}, |
}, |
||
"5": { |
"5": { |
||
"label": " |
"label": "Skill 5", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Cooking" |
||
}, |
}, |
||
"6": { |
"6": { |
||
"label": "Material 6", |
"label": "Material 6", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Runecrafting" |
||
}, |
}, |
||
"7": { |
"7": { |
||
"label": " |
"label": "Skill 7", |
||
"type": "line", |
"type": "line", |
||
"example": " |
"example": "Firemaking" |
||
} |
} |
||
}, |
}, |
||
"description": "This template is used to generate a list of items or objects that use a specific |
"description": "This template is used to generate a list of items or objects that use a specific skill. The list will be auto-generated via the \"Recipe\" template on the skill's page.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
Latest revision as of 00:37, 10 November 2024
Template:Uses skill list invokes function main in Module:Uses skill list using Lua.
This template is used to generate a list of items or objects that are created with one or more skills.
Usage
One item
{{Uses skill list|Herblore}}
More than one item
{{Uses skill list|Herblore|Crafting}}
Arguments
Argument | Optional? | ||||
---|---|---|---|---|---|
Anonymous | An item name. Set as many of these as needed. | ||||
Values | Any item name | ||||
limit | The maximum amount of results to display. | ||||
Values | Any integer >=1
| ||||
Template data
Show/hide template's data | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. This template is used to generate a list of items or objects that use a specific skill. The list will be auto-generated via the "Recipe" template on the skill's page.
|