User:Tiddlywinks/PokemonDivbox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (I think I want this the other way around)
m (This data needs to be centered when gender has two rows)
Line 79: Line 79:
<div class="roundy" style="background-color: #{{{{{type1|???}}} color light}}; display: flex; flex-direction: column;"><!-- captioned cell: exp group OPEN -->
<div class="roundy" style="background-color: #{{{{{type1|???}}} color light}}; display: flex; flex-direction: column;"><!-- captioned cell: exp group OPEN -->
<div class="blacklinks">'''[[Experience|Leveling rate]]'''</div><!-- cell caption -->
<div class="blacklinks">'''[[Experience|Leveling rate]]'''</div><!-- cell caption -->
<div class="roundy" style="background-color: #FFF; padding: 3px; flex: 1;"><!-- data space: exp group OPEN -->
<div class="roundy" style="background-color: #FFF; padding: 3px; flex: 1; display: flex; justify-content: center; align-items: center;"><!-- data space: exp group OPEN -->
<div>{{#switch: {{{lv100exp|Unknown}}}
<div>{{#switch: {{{lv100exp|Unknown}}}
|600,000|600000=Erratic
|600,000|600000=Erratic
Line 93: Line 93:


</div><!-- main container CLOSE --><noinclude>
</div><!-- main container CLOSE --><noinclude>
Derived from [[User:SnorlaxMonster/Pokémon Infobox]]
TBD
* Switch the gender ratio links from categories to sections of [[List of Pokémon by gender ratio]]
** For simplicity, add anchors based on the rate values (#unknown, #0, #12.5, etc)
** Maybe revamp list so it fills space too
* Change the name of the ''forme'' parameter. Or figure out some other way to eliminate its current uses, since I hope to get to something fairly different
* Eventually...other parameters, probably in an expandable section. (For now, this is a basic framework to try to work out the most basic questions.) Other data (including forms) will come later.
<noinclude>





Revision as of 21:26, 25 December 2023




Template documentation
Note: portions of the template sample may not be visible without values provided.

lorem ipsum

Parameters

Some should change/disappear, like forme...

  • type1
  • type2
  • name
  • tmname
  • jname (Maybe this should say kana (jkana?) or something, because instinctively, I could think jname was tmname)
  • jtranslit (I'd much rather this say romanization (jrom?))
  • ndex
  • image
    • image2, image3, image4, image5, image6
  • forms (Replacing forme: form count)
  • form1
    • form2, form3, form4, form5, form6
  • category
  • ability1
  • ability2
  • abilityd (this really needs to be abilityh or maybe even hability or hiddenability)
  • malerate (unknown, 0, 12.5, 25, 50, 75, 87.5, 100)
    • note: changed from gendercode, 0 => 100, 31 => 87.5, 63 => 75, 127 => 50, 191 => 25, 223 => 12.5, 254 => 0, 255 => unknown
  • lv100exp

Also, note to self: I can mostly copy Template:Pokémon Infobox/doc. Don't need to reinvent the wheel. (But for now I think I will keep track of what's in this template.)

Examples

We could omit the romanization if it's the same as the trademarked name. And the trademarked name if it's the same as the English. But having them all there if they exist might also be good just for consistency. (I could see people complaining that we don't have the romanization or whatever even if it's the same.)



Notes

Derived from User:SnorlaxMonster/Pokémon Infobox

TBD

  • Switch the gender ratio links from categories to sections of List of Pokémon by gender ratio
    • For simplicity, add anchors based on the rate values (#unknown, #0, #12.5, etc)
    • Maybe revamp list so it fills space too
  • Will need to note that this or that parameter has changed (or perhaps generically, "one or more parameters have changed, see [...]")
  • Eventually...other parameters, probably in an expandable section. (For now, this is a basic framework to try to work out the most basic questions.) Other data (including forms) will come later.