User talk:SnorlaxMonster: Difference between revisions

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:{{{image}}}|{{#expr:{{{imageW}}}*{{{factor|1}}} round 0}}px|link={{{link}}}{{!}}{{{MO|{{{link}}}}}}]]}}</div></div>
</pre>
:where:
{{<nowiki />image-cutout
|image  = 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)
205

edits