Template:Spindata/Sleep/doc: Difference between revisions

→‎Usage: fixed some notes, including more optional parameters
(Documentation for Template:Spindata/Sleep + examples from 4012067)
 
(→‎Usage: fixed some notes, including more optional parameters)
 
Line 50: Line 50:
| pokemon
| pokemon
| ''String''
| ''String''
| The Pokémon's name.
| '''Optional.''' The Pokémon's name. Only needed for Pokémon that can evolve.
|-
|-
| ndex
| ndex
Line 92: Line 92:
| skillname
| skillname
| ''String''
| ''String''
| The main {{sleep|skill}} name.
| The name of the Pokémon's main {{sleep|skill}}.
|-
|-
| skilldesc
| skilldesc
|''String''
|''String''
| The skill description.
| Description of the main skill's effect at skill level 1.
|-
|-
| carrylimit
| carrylimit
| ''Number''
| ''Number''
| The base carry limit.
| The Pokémon's base carry limit.
|-
|-
| evolution
| evolution
| ''Wikitext''
| ''Wikitext''
| The evolution requirement.
| '''Optional.''' The requirement(s) this Pokémon must meet to evolve. Does not include Candy.
For evolutions requiring items, the sprite needs to be added manually.
For evolutions requiring items, the sprite needs to be added manually.
|-
|-
| candyNum
| candyNum
| ''Number''
| ''Number''
| Number of candies required for evolution.
| '''Optional.''' Number of Pokémon Candies required for evolution.
|-
|-
| dexentry
| dexentry
Line 115: Line 115:
| The [[Sleep Style Dex]] description.
| The [[Sleep Style Dex]] description.
|-
|-
| sleepstyle1  
| sleepstyle1
|rowspan=4| ''String''
| ''String''
|rowspan=4| The Sleep Style name.
| Name of the Pokémon's 1★ sleep style.
Only include the parameters as per the number of Sleep styles.
|-
|-
| sleepstyle2
| sleepstyle2
| ''String''
| Name of the Pokémon's 2★ sleep style.
|-
|-
| sleepstyle3
| sleepstyle3
| ''String''
| '''Optional.''' Name of the Pokémon's 3★ sleep style.
|-
|-
| sleepstyle4
| sleepstyle4
| ''String''
| '''Optional.''' Name of the Pokémon's 4★ sleep style.
|-
|-
| img1  
| img1  
Line 240: Line 245:
"specialty": {
"specialty": {
"label": "Specialty",
"label": "Specialty",
"description": "Area of Expertise",
"description": "Area of expertise",
"type": "line",
"type": "line",
"suggestedvalues": [
"suggestedvalues": [
Line 263: Line 268:
"ingredient2": {
"ingredient2": {
"label": "Ingredient 2",
"label": "Ingredient 2",
"description": "Secondary Ingredient collected.",
"description": "Secondary ingredient collected.",
"type": "line",
"type": "line",
"required": true
"required": true
Line 274: Line 279:
},
},
"skillname": {
"skillname": {
"label": "Skill",
"label": "Main Skill",
"description": "Skill Name",
"description": "Main Skill name",
"type": "line",
"type": "line",
"required": true
"required": true
Line 281: Line 286:
"carrylimit": {
"carrylimit": {
"label": "Carry Limit",
"label": "Carry Limit",
"description": "Base Carry Limit",
"description": "Base carry limit",
"type": "number",
"type": "number",
"required": true
"required": true
},
},
"skilldesc": {
"skilldesc": {
"label": "Skill Desc",
"label": "Main Skill Desc",
"description": "Skill Description",
"description": "Main Skill description at skill level 1",
"type": "line",
"type": "line",
"required": true
"required": true
Line 323: Line 328:
"evolution": {
"evolution": {
"label": "Evolution",
"label": "Evolution",
"description": "Evolution requirements",
"description": "Evolution requirements, excluding Pokémon Candy",
"type": "content",
"type": "content",
"required": true
"suggested": true
},
},
"pokemon": {
"pokemon": {
"label": "Pokémon",
"label": "Pokémon",
"description": "Pokémon Name",
"description": "Pokémon name",
"type": "line",
"type": "line",
"required": true
"suggested": true
},
},
"candyNum": {
"candyNum": {
"label": "Candies",
"label": "Candies",
"description": "Number of candies required for evolution",
"description": "Number of Pokémon Candies required for evolution",
"type": "number",
"type": "number",
"required": true
"suggested": true
},
},
"dexentry": {
"dexentry": {