Template:Itlisth: Difference between revisions

From The Pokemon Insurgence Wiki
m (Don't know how to get rid of the ending bracket without breaking the template, so I'll just leave it as is for now. Adding documentation.)
(Making the top right corner curved)
 
Line 2: Line 2:
|-  
|-  
! colspan="2" style="background: #{{locationcolor/light|{{{1|land}}}}}; color:#{{locationcolor/text|{{{1|land}}}}}; {{roundytl|5px}}" | Item
! colspan="2" style="background: #{{locationcolor/light|{{{1|land}}}}}; color:#{{locationcolor/text|{{{1|land}}}}}; {{roundytl|5px}}" | Item
! style="background: #{{locationcolor/light|{{{1|land}}}}}; color:#{{locationcolor/text|{{{1|land}}}}};" | Location</includeonly><noinclude>
! style="background: #{{locationcolor/light|{{{1|land}}}}}; color:#{{locationcolor/text|{{{1|land}}}}}; {{roundytr|5px}}" | Location</includeonly><noinclude>
|}
|}
{{Itlisth/doc}}
{{Itlisth/doc}}
[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Latest revision as of 03:57, 23 May 2021

|}

How To Use

{{Itlisth|Location}}

Variables of Locations

Note: All variables are lower-cased for a reason. If upper-cased, they will not register.

  • land
  • forest
  • fog
  • marsh
  • ash
  • ruins
  • sand
  • lake
  • ocean
  • underwater
  • cave
  • mountain
  • volcano
  • snow
  • space
  • distortion
  • shadow
  • building
  • road

Example

{{Itlisth|road}}
{{Itemlist|Poké Ball|Given to the player by the mart worker outside the Pokémon Center|display={{BLink|Poké Ball}} ×5}}
{{Itlistfoot|road}}

Output

Item Location
Poké Ball.png Poké Ball ×5 Given to the player by the mart worker outside the Pokémon Center