Difference between revisions of "Template:PokédexNavTable"

From Pokemon World Online Wiki
Jump to: navigation, search
m (Protected "Template:PokédexNavTable" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
m (Using float attribute instead of align.)
Line 1: Line 1:
<includeonly><table style="border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; width: 60%; border-radius: 15px 15px 15px 15px; background: #{{{{{Type|???}}}_color_light}};" align="center" cellpadding="2" cellspacing="3">
+
<includeonly><table style="float: center; border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; width: 60%; border-radius: 15px 15px 15px 15px; background: #{{{{{Type|???}}}_color_light}};" cellpadding="2" cellspacing="3">
 
<tr><td>
 
<tr><td>
 
<table style="background: #{{{{{Type|???}}}_color_light}}; width: 100%; border-radius: 15px 15px 15px 15px;" cellpadding="2" cellspacing="3">
 
<table style="background: #{{{{{Type|???}}}_color_light}}; width: 100%; border-radius: 15px 15px 15px 15px;" cellpadding="2" cellspacing="3">

Revision as of 21:29, 8 August 2012

Template Example

Bulbasaur's sprite #001 Bulbasaur#003 Venusaur Venusaur's sprite

Example Syntax: {{PokédexNavTable|Prev=Bulbasaur|PreDex=001|Post=Venusaur|PostDex=003|Type=Grass}}

Parameters in Use

The following are the parameters in use within this template:

  • Prev - The previous Pokémon in the Pokédex. (Make this cyclic)
  • PreDex - The previous number in the Pokédex. (Include 3 digits)
  • Post - The next Pokémon in the Pokédex. (Make this cyclic)
  • PostDex - The next number in the Pokédex. (Include 3 digits)
  • Type - The primary type of the Pokémon.