User talk:Hanmac: Difference between revisions

m
Line 22: Line 22:
:Ah, I see the problem with this table: it uses many calculations to display the type effectiveness. I'll try to build something that'll work with less power. '''[[User:TTEchidna|<span style="color:#DAA520">''TTE''</span>]][[User talk:TTEchidna|<span style="color:#C0C0C0">chidna</span>]]''' 02:07, 14 June 2009 (UTC)
:Ah, I see the problem with this table: it uses many calculations to display the type effectiveness. I'll try to build something that'll work with less power. '''[[User:TTEchidna|<span style="color:#DAA520">''TTE''</span>]][[User talk:TTEchidna|<span style="color:#C0C0C0">chidna</span>]]''' 02:07, 14 June 2009 (UTC)
::There seems to be no way to do it well when you base it off of the type alone. It's always gonna need the 100 200 and so on points. But I think I can make an altered version of our own which you can use. '''[[User:TTEchidna|<span style="color:#DAA520">''TTE''</span>]][[User talk:TTEchidna|<span style="color:#C0C0C0">chidna</span>]]''' 03:34, 14 June 2009 (UTC)
::There seems to be no way to do it well when you base it off of the type alone. It's always gonna need the 100 200 and so on points. But I think I can make an altered version of our own which you can use. '''[[User:TTEchidna|<span style="color:#DAA520">''TTE''</span>]][[User talk:TTEchidna|<span style="color:#C0C0C0">chidna</span>]]''' 03:34, 14 June 2009 (UTC)
===I think I have the solution!===
=== gender ratio ===
BP template for Rhydon:
{| border=1
{{DP Type effectiveness|
|-
type1=ground|
{{User:Hanmac/Sandbox|gendercode=0}}
type2=rock|
|-
Normal=    50 |
{{User:Hanmac/Sandbox|gendercode=31}}
Flying=    50 |
|-
Fighting= 200 |
{{User:Hanmac/Sandbox|gendercode=63}}
Ground=  200 |
|-
Rock=      50 |
{{User:Hanmac/Sandbox|gendercode=127}}
Bug=      100 |
|-
Poison=    25 |
{{User:Hanmac/Sandbox|gendercode=191}}
Ghost=    100 |
|-
Steel=    200 |
{{User:Hanmac/Sandbox|gendercode=223}}
 
|-
Fire=     50 |
{{User:Hanmac/Sandbox|gendercode=254}}
Water=    400 |
|-
Grass=    400 |
{{User:Hanmac/Sandbox|gendercode=255}}
Electric=  0 |
|}
Psychic=  100 |
Ice=      200 |
Dragon=   100 |
Dark=    100 }}
 
PW template for Rhydon (potential):
{{User:TTEchidna/TypeBased|
type1=ground|
type2=rock|
Normal=    50 |
Flying=   50 |
Fighting= 200 |
Ground=  200 |
Rock=     50 |
Bug=      100 |
Poison=    25 |
Ghost=   100 |
Steel=    200 |
 
Fire=      50 |
Water=    400 |
Grass=    400 |
Electric=  0 |
Psychic=  100 |
Ice=      200 |
Dragon=  100 |
Dark=     100 }}
 
Currently the PW template has that same space at the bottom for notes on abilities and crap, which you'd have to adapt, but other than that, you're good. Just copy over the code. '''[[User:TTEchidna|<span style="color:#DAA520">''TTE''</span>]][[User talk:TTEchidna|<span style="color:#C0C0C0">chidna</span>]]''' 04:13, 14 June 2009 (UTC)
:The big problem is that your template is a resource black hole: it does so many calculations on its own that it doesn't work if there's too many like it on the page. '''[[User:TTEchidna|<span style="color:#DAA520">''TTE''</span>]][[User talk:TTEchidna|<span style="color:#C0C0C0">chidna</span>]]''' 19:38, 14 June 2009 (UTC)


== Re: Template ==
== Re: Template ==


I replied [http://bulbapedia.bulbagarden.net/w/index.php?title=User_talk:The_dark_lord_trombonator&curid=73253&diff=783647&oldid=783646 here]. Just informing you of that. &mdash; <small>[[User talk:The dark lord trombonator|<font color="#0000C8">THE TROM</font></small>]] &mdash; 09:34, 11 June 2009 (UTC)
I replied [http://bulbapedia.bulbagarden.net/w/index.php?title=User_talk:The_dark_lord_trombonator&curid=73253&diff=783647&oldid=783646 here]. Just informing you of that. &mdash; <small>[[User talk:The dark lord trombonator|<font color="#0000C8">THE TROM</font></small>]] &mdash; 09:34, 11 June 2009 (UTC)
616

edits