User:Talnora/sandbox/Test1: Difference between revisions
< User:Talnora | sandbox
Jump to navigation
Jump to search
mNo edit summary |
m (Experimenting with small display tweaks.) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| style="float:right; text-align:center; width:33%; max-width:420px; background:black; border:2px solid #{{User:Talnora/sandbox/ | {| style="float:right; text-align:center; width:33%; max-width:420px; background:black; border:2px solid #{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius:10px; color: #{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}|font}};" | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | <!-- Name, Category, Number --> | ||
{| width="100%" style="background: #{{User:Talnora/sandbox/ | {| width="100%" style="background: #{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius: 10px;" | ||
|- | |- | ||
| width="2fr" | <div><strong><big><big>{{{name|???}}}</big></big></strong></div> | | width="2fr" | <div><strong><big><big>{{{name|???}}}</big></big></strong></div> | ||
Line 9: | Line 9: | ||
|} | |} | ||
|- | |- | ||
| colspan="2 | | colspan="2" | <!-- Name, Category, Number Alternate --> | ||
{| width="100%" style=" | {| width="100%" style="box-sizing: border-box;" | ||
|- | |- | ||
| width="66%" style="border-radius:10px; background:#{{User:Talnora/sandbox/ | | width="66%" style="border-radius:10px; background:#{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}};" | <div><strong><big><big>{{{name|???}}}</big></big></strong></div> | ||
<small><em>{{{category|???}}} Pokémon</em></small> | <small><em>{{{category|???}}} Pokémon</em></small> | ||
| style="border-radius: 10px; background:#{{User:Talnora/sandbox/ | | style="border-radius: 10px; background:#{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}};" | <strong><big><big>#{{{number|000}}}</big></big></strong> | ||
|} | |} | ||
|- | |- | ||
| colspan="2" {{#if:{{{image|}}}||style="display:none;"}} | | | colspan="2" {{#if:{{{image|}}}||style="display:none;"}} | <!-- Picture --> | ||
{| width="100%" style="background:#{{User:Talnora/sandbox/ | {| width="100%" style="background:#{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius: 10px; padding: 10px;" | ||
|- | |- | ||
| [[File:{{{image|}}}|300px]] | | [[File:{{{image|}}}|300px]] | ||
|} | |} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | <!-- Type --> | ||
{| width="100%" style="background:#{{User:Talnora/sandbox/ | {| width="100%" style="background:#{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius: 10px;" | ||
|- | |- | ||
| style="text-align: center;" | <strong>Type</strong> | | style="text-align: center;" | <strong>Type</strong> | ||
|- | |- | ||
| style=" | | style="border-radius:10px; background: white; color: black;" | {{User:Talnora/sandbox/Type|{{{type1|Unknown}}}}} {{#if:{{{type2|}}}|{{User:Talnora/sandbox/Type|{{{type2|}}}}}}} | ||
|} | |} | ||
|- | |- | ||
| width="50%" | | | width="50%" | <!-- Height and Width --> | ||
{| width="100%" style="background: #{{User:Talnora/sandbox/ | {| width="100%" style="background: #{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius: 10px;" | ||
|- | |- | ||
| <strong>Height</strong> | | <strong>Height</strong> | ||
|- | |- | ||
| style=" | | style="border-radius: 10px; background: white; color: black;" | {{{height|??}}} m {{#if:{{{heightnote|}}}|<sup>{{#info:{{{heightnote|}}}|note}}</sup>}} | ||
|} | |} | ||
| width="50%" | | | width="50%" | | ||
{| width="100%" style="background: #{{User:Talnora/sandbox/ | {| width="100%" style="background: #{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius: 10px;" | ||
|- | |- | ||
| <strong>Weight</strong> | | <strong>Weight</strong> | ||
|- | |- | ||
| style=" | | style="border-radius: 10px; background: white; color: black;" | {{{weight|??}}} kg {{#if:{{{weightnote|}}}|<sup><span class="explain" title="{{{weightnote|}}}">note</span></sup>}} | ||
|} | |} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | <!-- Source --> | ||
{| width="100%" style="background: #{{User:Talnora/sandbox/ | {| width="100%" style="background: #{{User:Talnora/sandbox/TypeColor|{{{type1|Unknown}}}}}; border-radius: 10px;" | ||
|- | |- | ||
| colspan="2" | <strong>Source</strong> | | colspan="2" | <strong>Source</strong> | ||
|- | |- | ||
| colspan="2" style=" | | colspan="2" style="border-radius:10px; background: white; color: black;" | | ||
{| width="100%" style="text-align:left;" | {| width="100%" style="text-align:left;" | ||
|- | |- | ||
Line 66: | Line 66: | ||
|} | |} | ||
|} | |} | ||
|}<noinclude> | |||
{| class="wikitable" width="45%" | |||
! colspan="2" | Parameters | |||
|- | |||
| name || The name of the pokémon. | |||
|- | |||
| category || The pokémon's category. | |||
|- | |||
| number || The pokémon's number. | |||
|- | |||
| image || <em>(Optional)</em> An image for the pokémon. Use only the filename, do not include <code>[[File:</code>. | |||
|- | |||
| type1 || The pokémon's first type. | |||
|- | |||
| type2 || <em>(Optional)</em> The pokémon's second type, if it has one. | |||
|- | |||
| height || Height in meters. Do not include the <code>m</code>. | |||
|- | |||
| heightnote || <em>(Optional)</em> Includes a note about how the height was measured. | |||
|- | |||
| weight || Weight in kilograms. Do not include the <code>kg</code>. | |||
|- | |||
| weightnote || <em>(Optional)</em> Includes a note about how the weight was measured. | |||
|- | |||
| sourcename || The name of the creature this pokémon is based on. | |||
|- | |||
| sourcegame || The game this pokémon's source creature comes from. | |||
|- | |||
| encyclopedianum || <em>(Optional)</em> The encyclopedia entry for this pokémon's source creature, if one is known. | |||
|- | |||
| sourcenotes || <em>Optional)</em) Some additional notes about the source creature: how it was adapted, a specific location it was found, and so on. | |||
|} | |} | ||
Here is an example of the template in use: | |||
{{User:Talnora/sandbox/Test1 | |||
| name=Pikachu | |||
| category=Electric | |||
| number=001 | |||
| image=test.jpg | |||
| type1=Electric | |||
| type2=Dark | |||
| height=1.4 | |||
| heightnote=Measured from the tip of the ears to the tail. | |||
| weight=2 | |||
| sourcename=Electrat | |||
| sourcegame=Star Ocean 2 | |||
| encyclopedianum=444 | |||
| sourcenotes=This info is all wrong and is just a test.}} | |||
<pre> | |||
{{User:Talnora/sandbox/Test1 | {{User:Talnora/sandbox/Test1 | ||
|name=Pikachu | | name=Pikachu | ||
|category=Electric | | category=Electric | ||
|number=001 | | number=001 | ||
|image=test.jpg | | image=test.jpg | ||
|type1=Electric | | type1=Electric | ||
|type2= | | type2=Dark | ||
| height=1.4 | | height=1.4 | ||
| heightnote=Measured from the tip of the ears to the tail. | |||
| weight=2 | | weight=2 | ||
|sourcename=Electrat | | sourcename=Electrat | ||
|sourcegame=Star Ocean 2 | | sourcegame=Star Ocean 2 | ||
|encyclopedianum=444 | | encyclopedianum=444 | ||
|sourcenotes=This info is all wrong and is just a test.}} | | sourcenotes=This info is all wrong and is just a test.}} | ||
</noinclude> | </pre></noinclude> |
Latest revision as of 20:48, 6 February 2024
| |||||||||
| |||||||||
| |||||||||
|
| ||||||||
|
Parameters | |
---|---|
name | The name of the pokémon. |
category | The pokémon's category. |
number | The pokémon's number. |
image | (Optional) An image for the pokémon. Use only the filename, do not include [[File: .
|
type1 | The pokémon's first type. |
type2 | (Optional) The pokémon's second type, if it has one. |
height | Height in meters. Do not include the m .
|
heightnote | (Optional) Includes a note about how the height was measured. |
weight | Weight in kilograms. Do not include the kg .
|
weightnote | (Optional) Includes a note about how the weight was measured. |
sourcename | The name of the creature this pokémon is based on. |
sourcegame | The game this pokémon's source creature comes from. |
encyclopedianum | (Optional) The encyclopedia entry for this pokémon's source creature, if one is known. |
sourcenotes | Optional)</em) Some additional notes about the source creature: how it was adapted, a specific location it was found, and so on. |
Here is an example of the template in use:
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
|
| ||||||||||||||
|
{{User:Talnora/sandbox/Test1 | name=Pikachu | category=Electric | number=001 | image=test.jpg | type1=Electric | type2=Dark | height=1.4 | heightnote=Measured from the tip of the ears to the tail. | weight=2 | sourcename=Electrat | sourcegame=Star Ocean 2 | encyclopedianum=444 | sourcenotes=This info is all wrong and is just a test.}}