Template:SleepStyleEntry: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
(added type link)
Line 17: Line 17:
| data-sort-value="{{{pokemon|<noinclude>Bulbasaur</noinclude>}}}" style="min-width:50px" | [[File:{{{pimg|Sleep Profile {{{ndex|0001}}}.png}}}|{{{size|75x75px}}}]]
| 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|<noinclude>Bulbasaur</noinclude>}}}" | {{p|{{{pokemon|Bulbasaur}}}}} {{#if: {{{form|<noinclude>yes</noinclude>}}}|({{{form|Regular}}})}}
| 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:#{{{{{type|Unknown}}} color light}}; color:#000" data-sort-value="{{{type|Unknown}}}" | {{{type|Unknown}}}
| style="padding:0.5em; background-color:#{{{{{type|Unknown}}} color light}}; color:#000" data-sort-value="{{{type|Unknown}}}" | {{t|{{{type|Unknown}}}}}
| style="padding:0.5em; background-color:#{{{{{stype|Unknown}}} color light}}; color:#000" data-sort-value="{{{stype|Unknown}}}" | {{{stype|Unknown}}}
| style="padding:0.5em; background-color:#{{{{{stype|Unknown}}} color light}}; color:#000" data-sort-value="{{{stype|Unknown}}}" | {{{stype|Unknown}}}
| style="max-width:500px" | {{{dexdesc|''Unknown''}}}
| style="max-width:500px" | {{{dexdesc|''Unknown''}}}

Revision as of 10:16, 27 June 2024

NDex No. Pokémon Pokémon Type Sleep Type Sleep Style Dex Entry Sleep Styles
★★ ★★★ ★★★★

#0000 Sleep Profile 0001.png Bulbasaur (Regular) Unknown Unknown Unknown Sleep Style 0001-1.png
Unknown Sleep
Sleep Style 0001-2.png
Unknown Sleep
Sleep Style 0001-3.png
Unknown Sleep
Sleep Style 0001-4.png
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 Sleep Profile <ndex>.png. (Find more »)

size File size Optional. Override for the Pokémon's profile image size.

Defaults to 75x75px.

form String Optional. The Pokémon's form descriptor. For example, Holiday.
type NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhostDarkSteelFairy The Pokémon's type in Pokémon Sleep.

Note that Pokémon are single-typed in this game.

stype DozingSnoozingSlumbering 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 Sleep Style <ndex>-<#>.png. (Find more »)

img2
img3
img4
size1 File size Optional. Overrides for the Pokémon's sleep style image sizes.

Defaults to 100x100px.

size2
size3
size4

TemplateData

{{SleepStyleEntry}} is to be used for an entry on the Sleep style page.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
NDex Numberndex

The Pokémon's 4-digit National Pokédex number.

Example
0001
Numberrequired
Pokémon name.pokemon

The Pokémon's species name.

Example
Bulbasaur
Linerequired
Profile Imagepimg

Optional. Override for the Pokémon's profile image. Needs file extension.

Default
Sleep Profile <ndex>.png
Example
Sleep Profile 0001.png
Fileoptional
Profile Image sizesize

Optional. Override for the Pokémon's profile image size.

Default
75x75px
Lineoptional
Formform

Optional. The Pokémon's form descriptor.

Example
Holiday
Filesuggested
Pokémon Typetype

The Pokémon's type in Pokémon Sleep. (Note that Pokémon are single-typed in this game.)

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel Fairy
Default
Unknown
Example
Normal
Linerequired
Sleep typestype

The Pokémon's sleep type

Suggested values
Dozing Snoozing Slumbering
Default
Unknown
Example
Dozing
Linerequired
Dex Entrydexdesc

The Pokémon's Sleep Style Dex entry.

Default
Unknown
Stringsuggested
1-star Sleep stylestyle1

Optional. The Pokémon's 1-star (★) sleep style name.

Default
None
Example
Sunbathing Sleep
Linesuggested
1-star Sleep style imageimg1

Optional. Override for the Pokémon's 1-star (★) sleep style image.

Default
Sleep Style <ndex>-<#>.png
Fileoptional
1-star Sleep style image sizesize1

Optional. Override for the Pokémon's 1-star (★) sleep style image size.

Default
100x100px
Lineoptional
2-star Sleep stylestyle2

Optional. The Pokémon's 2-star (★★) sleep style name.

Default
None
Example
Sturdy Sleep
Linesuggested
2-star Sleep style imageimg2

Optional. Override for the Pokémon's 2-star (★★) sleep style image.

Default
Sleep Style <ndex>-<#>.png
Fileoptional
2-star Sleep style image sizesize2

Optional. Override for the Pokémon's 2-star (★★) sleep style image size.

Default
100x100px
Lineoptional
3-star Sleep stylestyle3

Optional. The Pokémon's 3-star (★★★) sleep style name.

Default
None
Example
Vines-Out Sleep
Linesuggested
3-star Sleep style imageimg3

Optional. Override for the Pokémon's 3-star (★★★) sleep style image.

Default
Sleep Style <ndex>-<#>.png
Fileoptional
3-star Sleep style image sizesize3

Optional. Override for the Pokémon's 3-star (★★★) sleep style image size.

Default
100x100px
Lineoptional
4-star Sleep stylestyle4

Optional. The Pokémon's 4-star (★★★★) sleep style name.

Suggested values
Atop-Belly Sleep
Default
None
Example
Atop-Belly Sleep
Auto value
Atop-Belly Sleep
Linesuggested
4-star Sleep style imageimg4

Optional. Override for the Pokémon's 4-star (★★★★) sleep style image.

Default
Sleep Style <ndex>-<#>.png
Fileoptional
4-star Sleep style image sizesize4

Optional. Override for the Pokémon's 4-star (★★★★) sleep style image size.

Default
100x100px
Lineoptional

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 Sleep Profile 0001.png 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. Sleep Style 0001-1.png
Sunbathing Sleep
Sleep Style 0001-2.png
Sturdy Sleep
Sleep Style 0001-3.png
Vines-Out Sleep
Sleep Style 0001-4.png
Atop-Belly Sleep

#0004 Sleep Profile 0004.png 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. Sleep Style 0004-1.png
Crackling Sleep
Sleep Style 0004-2.png
Tummy-Rub Sleep
Sleep Style 0004-3.png
Tummy-Up Sleep
Sleep Style 0004-4.png
Atop-Belly Sleep

#0007 Sleep Profile 0007.png 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. Sleep Style 0007-1.png
Sheltered Sleep
Sleep Style 0007-2.png
Unsheltered Sleep
Sleep Style 0007-3.png
Overturned Sleep
Sleep Style 0007-4.png
Atop-Belly Sleep

#0050 Sleep Menu 0050 s.png Diglett Unknown Unknown Unknown Sleep Style 0050-1.png
Underground Sleep
Sleep Style 0050-2.png
Aboveground Sleep
None.png
Mid-Dig Sleep
None