Template:SleepStyleEntry: Difference between revisions
m (the earlier data-sort-value should've worked per Help:Sorting → Sort order, but ¯\_(ツ)_/¯) |
(adding form parameter) |
||
Line 16: | Line 16: | ||
| style="font-family:monospace;" data-sort-value="{{{ndex|0007}}}" | #{{{ndex|0007}}} | | style="font-family:monospace;" data-sort-value="{{{ndex|0007}}}" | #{{{ndex|0007}}} | ||
| data-sort-value="{{{pokemon|Squirtle}}}" style="min-width:50px" | [[File:{{{pimg|Sleep Profile {{{ndex|0007}}}.png}}}|{{{size|75x75px}}}]] | | data-sort-value="{{{pokemon|Squirtle}}}" style="min-width:50px" | [[File:{{{pimg|Sleep Profile {{{ndex|0007}}}.png}}}|{{{size|75x75px}}}]] | ||
| style="padding:0.5em" data-sort-value="{{{pokemon|Squirtle}}}" | {{p|{{{pokemon|Squirtle}}}}} | | style="padding:0.5em" data-sort-value="{{{pokemon|Squirtle}}}" | {{p|{{{pokemon|Squirtle}}}}} {{#if: {{{form|<noinclude>yes</noinclude>}}}|({{{form|Regular}}})}} | ||
| style="padding:0.5em; background-color:#{{<noinclude/>{{{type|Grass}}} color light}}; color:#000" data-sort-value="{{{type|Grass}}}" | {{{type|Grass}}} | | style="padding:0.5em; background-color:#{{<noinclude/>{{{type|Grass}}} color light}}; color:#000" data-sort-value="{{{type|Grass}}}" | {{{type|Grass}}} | ||
| style="padding:0.5em; background-color:#{{<noinclude/>{{{stype|Slumbering}}} color light}}; color:#000" data-sort-value="{{{stype|Slumbering}}}" | {{{stype|Slumbering}}} | | style="padding:0.5em; background-color:#{{<noinclude/>{{{stype|Slumbering}}} color light}}; color:#000" data-sort-value="{{{stype|Slumbering}}}" | {{{stype|Slumbering}}} |
Revision as of 07:25, 20 February 2024
NDex No. | Pokémon | Pokémon Type | Sleep Type | Sleep Style Dex Entry | Sleep Styles | ||||
---|---|---|---|---|---|---|---|---|---|
★ | ★★ | ★★★ | ★★★★
| ||||||
#0007 | Squirtle (Regular) | Grass | Slumbering | It withdraws its limbs and head into its shell to sleep. It's said to do this to protect itself while sleeping when it's wary of threats. Apparently, it also sometimes rocks contentedly from side to side. | Sheltered Sleep |
Unsheltered Sleep |
Overturned Sleep |
Atop-Belly Sleep |
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
{{SleepStyleEntry}}
is to be used for an entry on the Sleep style page.
Usage
- The table headers need to be coded manually.
- Use one
{{SleepStyleEntry}}
per Pokémon.- Some Pokémon do not fit into this template, and thus need to be coded manually.
- The table needs to be closed with
|}
.
{{SleepStyleEntry |ndex= |pokemon= |type= |stype= |dexdesc= |style1= |style2= |style3= |style4= }}
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
ndex | National Pokédex Number | The Pokémon's National Pokédex number. |
pokemon | String | The Pokémon's name. |
pimg | Filename | Optional. Override for the Pokémon's profile image. Needs file extension.
Defaults to |
size | File size | Optional. Override for the Pokémon's profile image size.
Defaults to |
form | String | Optional. The Pokémon's form descriptor. For example, Holiday .
|
type | Normal • Fire • Fighting • Water • Flying • Grass • Poison • Electric • Ground • Psychic • Rock • Ice • Bug • Dragon • Ghost • Dark • Steel • Fairy
|
The Pokémon's type in Pokémon Sleep.
Note that Pokémon are single-typed in this game. |
stype | Dozing • Snoozing • Slumbering
|
The Pokémon's sleep type. |
dexdesc | String | The Pokémon's Sleep Style Dex entry. |
style1 | String | Optional. The Pokémon's ★ sleep style name. |
style2 | String | Optional. The Pokémon's ★★ sleep style name. |
style3 | String | Optional. The Pokémon's ★★★ sleep style name. |
style4 | String | Optional. The Pokémon's ★★★★ sleep style name. |
img1 | Filename | Optional. Overrides for the Pokémon's sleep style images.
Defaults to |
img2 | ||
img3 | ||
img4 | ||
size1 | File size | Optional. Overrides for the Pokémon's sleep style image sizes.
Defaults to |
size2 | ||
size3 | ||
size4 |
TemplateData
{{SleepStyleEntry}} is to be used for an entry on the Sleep style page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
NDex Number | ndex | The Pokémon's 4-digit National Pokédex number.
| Number | required |
Pokémon name. | pokemon | The Pokémon's species name.
| Line | required |
Profile Image | pimg | Optional. Override for the Pokémon's profile image. Needs file extension.
| File | optional |
Profile Image size | size | Optional. Override for the Pokémon's profile image size.
| Line | optional |
Form | form | Optional. The Pokémon's form descriptor.
| File | suggested |
Pokémon Type | type | The Pokémon's type in Pokémon Sleep. (Note that Pokémon are single-typed in this game.)
| Line | required |
Sleep type | stype | The Pokémon's sleep type
| Line | required |
Dex Entry | dexdesc | The Pokémon's Sleep Style Dex entry.
| String | suggested |
1-star Sleep style | style1 | Optional. The Pokémon's 1-star (★) sleep style name.
| Line | suggested |
1-star Sleep style image | img1 | Optional. Override for the Pokémon's 1-star (★) sleep style image.
| File | optional |
1-star Sleep style image size | size1 | Optional. Override for the Pokémon's 1-star (★) sleep style image size.
| Line | optional |
2-star Sleep style | style2 | Optional. The Pokémon's 2-star (★★) sleep style name.
| Line | suggested |
2-star Sleep style image | img2 | Optional. Override for the Pokémon's 2-star (★★) sleep style image.
| File | optional |
2-star Sleep style image size | size2 | Optional. Override for the Pokémon's 2-star (★★) sleep style image size.
| Line | optional |
3-star Sleep style | style3 | Optional. The Pokémon's 3-star (★★★) sleep style name.
| Line | suggested |
3-star Sleep style image | img3 | Optional. Override for the Pokémon's 3-star (★★★) sleep style image.
| File | optional |
3-star Sleep style image size | size3 | Optional. Override for the Pokémon's 3-star (★★★) sleep style image size.
| Line | optional |
4-star Sleep style | style4 | Optional. The Pokémon's 4-star (★★★★) sleep style name.
| Line | suggested |
4-star Sleep style image | img4 | Optional. Override for the Pokémon's 4-star (★★★★) sleep style image.
| File | optional |
4-star Sleep style image size | size4 | Optional. Override for the Pokémon's 4-star (★★★★) sleep style image size.
| Line | optional |
Examples
The manual table headers are not replicated in the code block.
{{SleepStyleEntry |ndex=0001 |pokemon=Bulbasaur |type=Grass |stype=Dozing |dexdesc=It sits still and basks in sunny spots, possibly taking a nap. Perhaps it's trying to absorb nutrients from the seed on its back in order to grow up big, even while sleeping. |style1=Sunbathing Sleep |style2=Sturdy Sleep |style3=Vines-Out Sleep |style4=Atop-Belly Sleep }} {{SleepStyleEntry |ndex=0004 |pokemon=Charmander |type=Fire |stype=Snoozing |dexdesc=When it curls up to sleep, it's thought to be drawing warmth from the flame on its tail. On quiet nights, it feels like you can almost hear the sound of the flame burning if you listen hard enough. |style1=Crackling Sleep |style2=Tummy-Rub Sleep |style3=Tummy-Up Sleep |style4=Atop-Belly Sleep }} {{SleepStyleEntry |ndex=0007 |pokemon=Squirtle |type=Water |stype=Slumbering |dexdesc=It withdraws its limbs and head into its shell to sleep. It's said to do this to protect itself while sleeping when it's wary of threats. Apparently, it also sometimes rocks contentedly from side to side. |style1=Sheltered Sleep |style2=Unsheltered Sleep |style3=Overturned Sleep |style4=Atop-Belly Sleep }} {{SleepStyleEntry |ndex=0050 |pokemon=Diglett|pimg=Sleep Menu 0050 s.png |style1=Underground Sleep |style2=Aboveground Sleep |style3=Mid-Dig Sleep|img3=None.png }}
NDex No. | Pokémon | Pokémon Type | Sleep Type | Sleep Style Dex Entry | Sleep Styles | ||||
---|---|---|---|---|---|---|---|---|---|
★ | ★★ | ★★★ | ★★★★
| ||||||
#0001 | Bulbasaur | Grass | Dozing | It sits still and basks in sunny spots, possibly taking a nap. Perhaps it's trying to absorb nutrients from the seed on its back in order to grow up big, even while sleeping. | Sunbathing Sleep |
Sturdy Sleep |
Vines-Out Sleep |
Atop-Belly Sleep
| |
#0004 | Charmander | Fire | Snoozing | When it curls up to sleep, it's thought to be drawing warmth from the flame on its tail. On quiet nights, it feels like you can almost hear the sound of the flame burning if you listen hard enough. | Crackling Sleep |
Tummy-Rub Sleep |
Tummy-Up Sleep |
Atop-Belly Sleep
| |
#0007 | Squirtle | Water | Slumbering | It withdraws its limbs and head into its shell to sleep. It's said to do this to protect itself while sleeping when it's wary of threats. Apparently, it also sometimes rocks contentedly from side to side. | Sheltered Sleep |
Unsheltered Sleep |
Overturned Sleep |
Atop-Belly Sleep
| |
#0050 | Diglett | Grass | Slumbering | {{{dexdesc}}} | Underground Sleep |
Aboveground Sleep |
Mid-Dig Sleep |
N/A |