User:Talnora/sandbox/Test1: Difference between revisions
< User:Talnora | sandbox
Jump to navigation
Jump to search
m (Small formatting tweaks and documentation.) |
m (Experimenting with small display tweaks.) |
||
(2 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" | <!-- Name, Category, Number --> | | 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 12: | Line 12: | ||
{| width="100%" style="box-sizing: border-box;" | {| 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;"}} | <!-- Picture --> | | 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]] | ||
Line 24: | Line 24: | ||
|- | |- | ||
| colspan="2" | <!-- Type --> | | 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> | ||
Line 32: | Line 32: | ||
|- | |- | ||
| width="50%" | <!-- Height and Width --> | | 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="border-radius: 10px; background: white; color: black;" | {{{height|??}}} m | | 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="border-radius: 10px; background: white; color: black;" | {{{weight|??}}} kg | | style="border-radius: 10px; background: white; color: black;" | {{{weight|??}}} kg {{#if:{{{weightnote|}}}|<sup><span class="explain" title="{{{weightnote|}}}">note</span></sup>}} | ||
|} | |} | ||
|- | |- | ||
| colspan="2" | <!-- Source --> | | 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> | ||
Line 83: | Line 83: | ||
|- | |- | ||
| height || Height in meters. Do not include the <code>m</code>. | | 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>. | | 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. | | sourcename || The name of the creature this pokémon is based on. | ||
Line 97: | Line 101: | ||
Here is an example of the template in use: | Here is an example of the template in use: | ||
{{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=Dark | | 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.}} | ||
<pre> | <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=Dark | | 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 |
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.}}