Template:SleepStyleEntry: Difference between revisions
m (the earlier data-sort-value should've worked per Help:Sorting → Sort order, but ¯\_(ツ)_/¯) |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
! "width:100px;" | ★★★ | ! "width:100px;" | ★★★ | ||
! "width:100px;" | ★★★★ | ! "width:100px;" | ★★★★ | ||
</noinclude>{{anchor|{{{pokemon| | </noinclude>{{anchor|{{{pokemon<noinclude>|Bulbasaur</noinclude>}}}}} | ||
|- style="background:#FFF;" | |- style="background:#FFF;" | ||
| style="font-family:monospace;" data-sort-value="{{{ndex| | | style="font-family:monospace,monospace;" data-sort-value="{{{ndex|0000}}}" | #{{{ndex|0000}}} | ||
| data-sort-value="{{{pokemon| | | data-sort-value="{{{pokemon|<noinclude>Bulbasaur</noinclude>}}}" style="min-width:50px" | [[File:{{{pimg|Sleep Profile {{{ndex|0001}}}.png}}}|{{{size|75x75px}}}]] | ||
| style="padding:0.5em" data-sort-value="{{{pokemon| | | style="padding:0.5em" data-sort-value="{{{pokemon|<noinclude>Bulbasaur</noinclude>}}}" | {{p|{{{pokemon|Bulbasaur}}}}} {{#if: {{{form|<noinclude>yes</noinclude>}}}|({{{form|Regular}}})}} | ||
| style="padding:0.5em; background-color:#{{ | | style="padding:0.5em; background-color:#{{{{{type|???}}} color light}}; color:#000" data-sort-value="{{{type|???}}}" | {{tcolor|{{{type|???}}}|000}} | ||
| style="padding:0.5em; background-color:#{{ | | style="padding:0.5em; background-color:#{{{{{stype|Unknown}}} color light}}; color:#000" data-sort-value="{{{stype|Unknown}}}" | {{{stype|Unknown}}} | ||
| style="max-width:500px" | {{{dexdesc | | style="max-width:500px" | {{{dexdesc|''Unknown''}}} | ||
{{#if: {{{style1|<noinclude>yes</noinclude>}}} | {{#if: {{{style1|<noinclude>yes</noinclude>}}} | ||
|{{!}} data-sort-value="{{{style1<noinclude>| | |{{!}} data-sort-value="{{{style1<noinclude>|Unknown Sleep</noinclude>}}}" {{!}} [[File:{{{img1|Sleep Style {{{ndex|0001}}}-1.png}}}|{{{size1|100x100px}}}]]<br/>{{{style1|Unknown Sleep}}} | ||
|{{!}} data-sort-value="~" {{na}} | |{{!}} data-sort-value="~" {{na|2=None}} | ||
}} | }} | ||
{{#if: {{{style2|<noinclude>yes</noinclude>}}} | {{#if: {{{style2|<noinclude>yes</noinclude>}}} | ||
|{{!}} data-sort-value="{{{style2<noinclude>| | |{{!}} data-sort-value="{{{style2<noinclude>|Unknown Sleep</noinclude>}}}" {{!}} [[File:{{{img2|Sleep Style {{{ndex|0001}}}-2.png}}}|{{{size2|100x100px}}}]]<br/>{{{style2|Unknown Sleep}}} | ||
|{{!}} data-sort-value="~" {{na}} | |{{!}} data-sort-value="~" {{na|2=None}} | ||
}} | }} | ||
{{#if: {{{style3|<noinclude>yes</noinclude>}}} | {{#if: {{{style3|<noinclude>yes</noinclude>}}} | ||
|{{!}} data-sort-value="{{{style3<noinclude>| | |{{!}} data-sort-value="{{{style3<noinclude>|Unknown Sleep</noinclude>}}}" {{!}} [[File:{{{img3|Sleep Style {{{ndex|0001}}}-3.png}}}|{{{size3|100x100px}}}]]<br/>{{{style3|Unknown Sleep}}} | ||
|{{!}} data-sort-value="~" {{na}} | |{{!}} data-sort-value="~" {{na|2=None}} | ||
}} | }} | ||
{{#if: {{{style4|<noinclude>yes</noinclude>}}} | {{#if: {{{style4|<noinclude>yes</noinclude>}}} | ||
|{{!}} data-sort-value="{{{style4<noinclude>| | |{{!}} data-sort-value="{{{style4<noinclude>|Unknown Sleep</noinclude>}}}" {{!}} [[File:{{{img4|Sleep Style {{{ndex|0001}}}-4.png}}}|{{{size4|100x100px}}}]]<br/>{{{style4|Unknown Sleep}}} | ||
|{{!}} data-sort-value="~" {{na}} | |{{!}} data-sort-value="~" {{na|2=None}} | ||
}}<noinclude> | }}<noinclude> | ||
|} | |} | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Table templates]] | [[Category:Table templates]] |
Latest revision as of 10:18, 27 June 2024
NDex No. | Pokémon | Pokémon Type | Sleep Type | Sleep Style Dex Entry | Sleep Styles | ||||
---|---|---|---|---|---|---|---|---|---|
★ | ★★ | ★★★ | ★★★★
| ||||||
#0000 | Bulbasaur (Regular) | ??? | Unknown | Unknown | Unknown Sleep |
Unknown Sleep |
Unknown Sleep |
Unknown 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 | ??? | Unknown | Unknown | Underground Sleep |
Aboveground Sleep |
Mid-Dig Sleep |
None |