User:Umeko/Dexgen template: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary |
Pokemaster97 (talk | contribs) No edit summary |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{mainspace|template}} | ||
</noinclude>{| style="background: #{{{{{type1|Normal}}} color}}; width: 60%; max-width: 60%; margin-left: auto; margin-right: auto; margin-bottom: 5px; -moz-border-radius: 10px; border: 4px solid #{{#ifexpr: {{{typen|1}}} = 4|{{{{{type1|Normal}}} color light}}|{{#if: {{{type2|}}}|{{{{{type2|Ice}}} color}}|{{{{{type1|Normal}}} color light}}}}}};" cellspacing="1" cellpadding="4" | |||
</noinclude>{| style="background: #{{{{{type1| | |||
|- | |- | ||
| height="1px" | | | height="1px" | | ||
|- | |- | ||
| rowspan="7" height="1px" | | | rowspan="7" height="1px" | | ||
| rowspan="3" align="center" width="20%" style="background: #FFF | | rowspan="3" align="center" width="20%" style="background: #FFF; -moz-border-radius: 20px;" | [[Image:{{{sprite|Spr_3r_000.png}}}]] | ||
| align="center" colspan="2" style="background: #{{{{{type1| | | align="center" colspan="2" style="background: #{{{{{type1|Normal}}} color light}}; width: 50%; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px;" | No. {{{dexno|759}}} '''<span class="plainlinks">[http://exp777.cs.land.to/dexgen/?p={{{name|Bulbasaur}}}&l=en {{{name|Bulbasaur}}}]</span>'''<br>{{#if: {{{jname|}}}|<span lang="ja">'''{{{jname|フシギダネ}}}'''</span> |}}{{#if: {{{tmname|}}}| ''{{{tmname|Fushigidane}}}''|}} | ||
| rowspan="7" height="1px" | | | rowspan="7" height="1px" | | ||
|- | |- | ||
| style="background: #FFFFFF; text-align: center;" width="40%" | {{{species| | | style="background: #FFFFFF; text-align: center;" width="40%" | {{{species|Ninja}}} Pokémon | ||
| style="background: #FFFFFF;" width="40%" | '''Height:''' {{{heightftin| | | style="background: #FFFFFF;" width="40%" | '''Height:''' {{{heightftin|9'02"}}}{{#if: {{{heightm|}}}| <small>({{{heightm|2.8}}} m)</small>|}} | ||
|- | |- | ||
| style="background: #FFFFFF; -moz-border-radius-bottomleft: 10px; text-align: center" | {{#switch: {{{types| | | style="background: #FFFFFF; -moz-border-radius-bottomleft: 10px; text-align: center" | {{#switch: {{{types|2}}}|1={{typecolor|{{{type1|Normal}}}}}|2={{typecolor|{{{type1|Normal}}}}}{{typecolor|{{{type2|Ice}}}}}}} | ||
| style="background: #FFFFFF; -moz-border-radius-bottomright: 10px;" | '''Weight:''' {{{weightlb| | | style="background: #FFFFFF; -moz-border-radius-bottomright: 10px;" | '''Weight:''' {{{weightlb|203.1}}} lbs.{{#if: {{{weightkg|}}}| <small>({{{weightkg|92.1}}} kg)</small>}} | ||
|- | |- | ||
| height="1px" | | | height="1px" | | ||
|- | |- | ||
| colspan="3" style="background: #FFFFFF; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px;" | {{{dexentry|It | | colspan="3" style="background: #FFFFFF; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px;" | {{{dexentry|Be careful if you encounter Bulbasaur in the swamp. It will attack with its pincer. It can understand human speech but no one knows why.}}} | ||
|- | |- | ||
| height="1px" | | | height="1px" | | ||
|- | |- | ||
|}<noinclude> | |||
This template is for displaying one's results from the [http://egg-in-oven.hp.infoseek.co.jp/dexgen/?p=&l=en Anything-Goes Pokedex]. I've had it up on my userpage (modified from [[Template:Foreigndex]]) since I arrived and have been asked to make a template of it. So here it is! 8D;;; | |||
The parameters are as follows: | |||
{| style="margin: auto; border: 1px solid #000; border-collapse: collapse;" border="1" cellpadding="2" width="300" | |||
|- | |||
| name | |||
| Name EXACTLY as inputted into the Anything-Goes Pokedex (do not use spaces!) | |||
|- | |||
| jname | |||
| Should you wish to include Japanese text of the name, this would be it | |||
|- | |||
| tmname | |||
| And should you wish to include romaji of the Japanese name, use this | |||
|- | |||
| sprite | |||
| Sprite to use '''with file extention''' (defaults to ?????????? sprite) | |||
|- | |||
| dexno | |||
| Dex number, according to AGP | |||
|- | |||
| types | |||
| Number of types (defaults to 1) | |||
|- | |||
| type1 | |||
| Primary type | |||
|- | |||
| type2 | |||
| Secondary type, if applicable | |||
|- | |||
| species | |||
| Pokémon species according to AGP | |||
|- | |||
| heightftin | |||
| Height in feet | |||
|- | |||
| heightm | |||
| Height in meters, should it be desired | |||
|- | |||
| weightlb | |||
| Weight in pounds | |||
|- | |||
| weightkg | |||
| Weight in kilograms, should it be desired | |||
|- | |||
| dexentry | |||
| Pokédex entry from the AGP | |||
|} | |} | ||
So, should one wish to display [[Steven Stone|Steven's]] results, they could use this: | |||
<pre>{{User:Umeko/Dexgen template | |||
|name=Steven | |||
|jname=ダイゴ | |||
|tmname=Daigo | |||
|sprite=Spr RS Steven.png | |||
|dexno=857 | |||
|types=2 | |||
|type1=Electric | |||
|type2=Ice | |||
|species=Transport | |||
|heightftin=9'09" | |||
|heightm=3.0 | |||
|weightlb=244.0 | |||
|weightkg=110.7 | |||
|dexentry=One day people of Hoenn woke up and had become Steven. It is popular among Team Rocket to compare their Steven's big jaws. | |||
}}</pre> | |||
Which would result in this: | |||
{{User:Umeko/Dexgen template | |||
|name=Steven | |||
|jname=ダイゴ | |||
|tmname=Daigo | |||
|sprite=Spr RS Steven.png | |||
|dexno=857 | |||
|types=2 | |||
|type1=Electric | |||
|type2=Ice | |||
|species=Transport | |||
|heightftin=9'09" | |||
|heightm=3.0 | |||
|weightlb=244.0 | |||
|weightkg=110.7 | |||
|dexentry=One day people of Hoenn woke up and had become Steven. It is popular among Team Rocket to compare their Steven's big jaws. | |||
}}</noinclude> |
Latest revision as of 00:40, 28 November 2015
This template is intended to be moved into one of Bulbapedia's main content spaces. Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this template. |
No. 759 Bulbasaur |
||||
Ninja Pokémon | Height: 9'02" | |||
Normal Ice | Weight: 203.1 lbs. | |||
Be careful if you encounter Bulbasaur in the swamp. It will attack with its pincer. It can understand human speech but no one knows why. | ||||
This template is for displaying one's results from the Anything-Goes Pokedex. I've had it up on my userpage (modified from Template:Foreigndex) since I arrived and have been asked to make a template of it. So here it is! 8D;;;
The parameters are as follows:
name | Name EXACTLY as inputted into the Anything-Goes Pokedex (do not use spaces!) |
jname | Should you wish to include Japanese text of the name, this would be it |
tmname | And should you wish to include romaji of the Japanese name, use this |
sprite | Sprite to use with file extention (defaults to ?????????? sprite) |
dexno | Dex number, according to AGP |
types | Number of types (defaults to 1) |
type1 | Primary type |
type2 | Secondary type, if applicable |
species | Pokémon species according to AGP |
heightftin | Height in feet |
heightm | Height in meters, should it be desired |
weightlb | Weight in pounds |
weightkg | Weight in kilograms, should it be desired |
dexentry | Pokédex entry from the AGP |
So, should one wish to display Steven's results, they could use this:
{{User:Umeko/Dexgen template |name=Steven |jname=ダイゴ |tmname=Daigo |sprite=Spr RS Steven.png |dexno=857 |types=2 |type1=Electric |type2=Ice |species=Transport |heightftin=9'09" |heightm=3.0 |weightlb=244.0 |weightkg=110.7 |dexentry=One day people of Hoenn woke up and had become Steven. It is popular among Team Rocket to compare their Steven's big jaws. }}
Which would result in this:
No. 857 Steven ダイゴ Daigo |
||||
Transport Pokémon | Height: 9'09" (3.0 m) | |||
Electric Ice | Weight: 244.0 lbs. (110.7 kg) | |||
One day people of Hoenn woke up and had become Steven. It is popular among Team Rocket to compare their Steven's big jaws. | ||||