Hack Forums
Pokemon Web Component - Free to use however you like - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50)
+---- Thread: Pokemon Web Component - Free to use however you like (/showthread.php?tid=4610329)



Pokemon Web Component - Free to use however you like - Tasemu - Dec 30, 2014

Here is another random web component I made. Just include polymer in your webpage and then put this code into your header:

Download / View on github!
https://github.com/Tasemu/pokemon-info

Code
<link rel="import" href="/path/to/pokemon-info.html">

Now just use the new <pokemon-info name=""></pokemon-info> tags you have available to generate any pokemon you want. Credit goes to passy for the original idea I based this off :)

Example Use:

Code
<pokemon-info name="charmander"></pokemon-info>
<pokemon-info name="charmeleon"></pokemon-info>
<pokemon-info name="charizard"></pokemon-info>

Result:

[Image: w5hyGPk.png]



* - Crypto™ - Dec 30, 2014

Nice job :) is this a polymer component?


* - Tasemu - Dec 30, 2014

Yep, you can have a squiz through the source on github. Its not big. :)


edit: oh shit i never linked the github!


* - Trapcode - Dec 30, 2014

Nice work man, Really appreciable :)


* - Tasemu - Dec 30, 2014

Cheers, it makes it all worth it when people reply on the thread. :)

Might make a pokemon card generator next... O.O


* - Ordium - Dec 30, 2014

Out of curiosity, how do you think this could be used? I have no desire to use it, was just wondering why you decided to choose this of all things.


* - Vipеr - Dec 30, 2014

Looks pretty cool although I'm not sure what it could be used for.
Edit: looks like I had the same idea as the user above.


* - Tasemu - Dec 31, 2014

Oh man, I didnt honestly think about what it could be used for. Its just a fun proof on concept thing. Im gonna turn it into a pokemon card generator soon, that could be used for loads of things. ^^


* - Graybyte - Jan 1, 2015

That's pretty awesome dude!
I was thinking about making some pokemon guides on my webpage. If I use these I will link to my page so you can see them live.


* - Tasemu - Jan 1, 2015

Oh please do. Would love to see these used somehow. Edit them however you like to make them fit. ^^