Template talk:Alldex

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 21:26, 5 September 2022 by PinkYoshiGaming (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Why those unnecessary B2W2 and USUM sups for unspecified Udex and Adex values?

Those superscripts should be suppressed when no values are fed to u, u2dex, or adex. ​‑‑SilSinn (TIDs768426S123446UM💬 05:33, 4 March 2019 (UTC)

For reference, see my sandboxed version which was meant to be a proposed update to this template (my version does suppress those sups when Udex and Adex are left blank, and I was planning to update this template to match the same behavior as my sandboxed copy so that I could finally exclusively use this template on User:Force Fire/List of Pokémon that appear in multiple regional Pokédex rather than my sandboxed version). ​‑‑SilSinn (TIDs768426S123446UM💬 05:52, 4 March 2019 (UTC)

Proposal to add Isle of Armor Dex (ioadex) parameter

Since The Isle of Armor is already out and we now have IoAdex numbers for Pokémon present there, it is now convenient to add ioadex= parameter to this template since many of the Pokémon in the page where this template is primarily used are either exclusive to IoA or have different Gdex & IoAdex numbers. All that would need to be done to achieve this (after testing it on my sandboxed copy of this template) is to replace

#{{{gdex|---}}}

with

#{{{gdex|{{{ioadex|---}}}{{#if:{{{ioadex|}}}|[[The Isle of Armor|<sup>IoA</sup>]]}}}}}{{#if:{{{gdex|}}}|{{#if:{{{ioadex|}}}|{{#ifexpr:{{{ioadex|0}}}!={{{gdex|0}}}|{{tt|*|#{{{ioadex|}}} in The Isle of Armor}}}}}}}}

such that we get these example results:

{{alldexh|1}}
{{alldex|1|054|j=140|oj=138|h=165|oh=158|s=043|u2dex=028|kdex=059|kr=Central|adex=107|sm=089|ioadex=146|Psyduck|1|Water}}
|}
Ndex Kdex Jdex Hdex Sdex Udex Kdex Adex Gdex LAdex Pdex Kdex Art Pokémon Type
#054 #054 #140* #165* #043 #028B2W2 #059* #107* #146IoA 054 Psyduck Water
{{alldexh|3}}
{{alldex|3|278|h=027|s=119|u2dex=212|kdex=017|kr=Coastal|adex=047|sm=040|gdex=062|ioadex=048|Wingull|2|Water|Flying}}
|}
Ndex Hdex Sdex Udex Kdex Adex Gdex LAdex Pdex Kdex Art Pokémon Type
#278 #027 #119 #212B2W2 #017* #047* #062* 278 Wingull Water Flying

The coding to print the IoA superscript would be easier if it is first incorporated into {{Sup/8}}, such that [[The Isle of Armor|<sup>IoA</sup>]] above gets reduced to {{Sup/8|IoA}}. ‐⁠‑SilSinn (TIDs768426S123446UM💬 07:14, 25 June 2020 (UTC)

I second this. When I was adding the Returning IoA Pokémon numbers to one of Force Fire's pages, I had to use [[The Isle of Armor|<sup>IoA</sup>]] because an IoA template didn't exist yet. {{Sup/8|IoA}} would've made it much easier.--Ratboy Jr. (talk) 21:18, 25 June 2020 (UTC)

Hisui Dex

Hello, I need to request addition of the Hisui Pokédex (LADex) to the template. Thanks, PinkYoshiGaming (talk) 21:26, 5 September 2022 (UTC)