User talk:SnorlaxMonster: Difference between revisions

Undo revision 629076 by TheICTLiker4 (talk)Just leave it be, I don't care
(→‎Separate shiny images for Diancie and Mega Diancie (for use on long-overdue Diancie usertag): Removed my post because posting it broke the talk page policy)
(Undo revision 629076 by TheICTLiker4 (talk)Just leave it be, I don't care)
Line 398: Line 398:
| style="color: #786824;" | This user has a '''Shiny Mega Diancie'''.
| style="color: #786824;" | This user has a '''Shiny Mega Diancie'''.
|}
|}
:You're wrong: this IS possible, as [[:de:Benutzer:Pk-fan|this]] is what Pk-fan did on his user page... I think you could just look at his {{tt|Crystal Pikachu|Yes, PokéWiki has Pikachu awards based on the number of edits, with the highest being Taichu (a fusion between Flareon and Pikachu). Lower ones are: Greenchu, Diamond Pikachu, Crystal Pikachu, Golden Pikachu, Silver Pikachu, Bronze Pikachu, Copper Pikachu, Glass Pikachu, Wooden Pikachu and Clay Pikachu. The lowest one can be received for just 50 edits, but for Taichu, you'll need 75,000 edits...}} award (''Kristallenes Pikachu''). The image is cropped. PokéWiki uses this [[:de:Vorlage:PdW-Bildausschnitt|template]] for ''Pokémon der Woche''. If we used this on Bulbawiki, the template would be named <code>{{<nowiki />image-cutout}}</code> and use this complex code:
<pre>
<div style="margin: 0.25em 0 0.4em 0.4em; float:{{{float|right}}};{{#ifeq:{{{float|right}}}|left|margin-right:0.5em;}}width:{{#expr:{{{boxW|100}}}*{{{factor|1}}} round 0}}px; height:{{#expr:{{{boxH|100}}}*{{{factor|1}}} round 0}}px; overflow:hidden;"><div style="float:left; margin-left:-{{#expr:{{{right|0}}}*{{{factor|1}}} round 0}}px; margin-top:-{{#expr:{{{down|0}}}*{{{factor|1}}} round 0}}px;" title="{{{MO|{{{link}}}}}}">
{{#if:{{{url|}}}|<div style="margin-left:{{#expr:-({{{imageW}}}-{{{imageW}}}*{{{factor|1}}})/2 round 0}}px;margin-top:{{#expr:-({{{imageH}}}-{{{imageH}}}*{{{factor|1}}})/2 round 0}}px"><div style="float:left;transform:scale({{{factor|1}}}); -moz-transform:scale({{{factor|1}}}); -webkit-transform:scale({{{factor|1}}}); -o-transform:scale({{{factor|1}}}); -ms-transform:scale({{{factor|1}}}); -khtml-transform:scale({{{factor|1}}})">[{{SERVER}}/{{{link}}} {{{url}}}]</div></div>
|[[File:{{{file}}}|{{#expr:{{{imageW}}}*{{{factor|1}}} round 0}}px|link={{{link}}}{{!}}{{{MO|{{{link}}}}}}]]}}</div></div>
</pre>
:where:
{{<nowiki />image-cutout
|file  = File name with extension. Used instead of ''url''.
|url    = URL address of the file. Used instead of ''image''.
|imageW = Width of the image in pixels
|imageH = Height of the image in pixels (must be given only when the parameter ''url'' is used)
|link  = Name of the article, to which the picture links
|MO    = Mouseover text
|boxW  = Width of the cutout in pixels
|boxH  = Height of the cutout in pixels
|right  = Where the image cutout starts from the left in pixels
|down  = Where the image cutout starts from above in pixels
|factor = scaling factor of the image (e.g. 75% → 0.75)
|float  = left/right
}}
:I hope I helped. --[[User:TheICTLiker4|<span style="color:#888">'''TheICT'''</span>]][[Special:Contributions/TheICTLiker4|<span style="color:#666">'''Liker4'''</span>]]<sup>[[User talk:TheICTLiker4|<span style="color:#444">'''piszże do mnie'''</span>]]</sup> 19:15, 15 December 2019 (UTC)
::Oh! It's with this [[User:TheICTLiker4/image-cutout|template]] I started... Let's see how it'll be used!
{| class="userboxitem" style="background: #EE99AC; border: 1px solid #786824; " cellspacing="0" cellpadding="0"
! style="background: #D1C17D; " | {{User:TheICTLiker4/image-cutout
|file  = Spr 6x 719.png
|link  = bp:Diancie (Pokémon)
|MO    = Diancie
|boxW  = 60
|boxH  = 90
|right  = 99
|down  = 78
|factor = 1
|float  = none
}}
| style="color: #786824;" | This user has a '''Diancie'''.
|}
::But I think I will need to experiment with the numbers to get the height to 60 pixels. I think the white padding and no B/W styled sprites have a purpose: to prevent other users thinking the images are from an external website, which would lead the Archives to be closed forever and the wikis wouldn't have any files. Also, '''''PLEASE''''' read [[Archives:Messages from the Council#November 9|this message]] for more information. Yeah, Kogoro wants from us '''''NOT''''' to upload files from external websites, such as fan sprites (fan artworks were not permitted since 2011). --[[User:TheICTLiker4|<span style="color:#888">'''TheICT'''</span>]][[Special:Contributions/TheICTLiker4|<span style="color:#666">'''Liker4'''</span>]]<sup>[[User talk:TheICTLiker4|<span style="color:#444">'''piszże do mnie'''</span>]]</sup> 15:45, 17 December 2019 (UTC)


== Pokemon Masters ==
== Pokemon Masters ==