Difference between revisions of "Template:SpeciesInfobox"

From Cassette Beasts
(Revert sticker additions, I'm kinda unsure about it)
(Move sticker next to the title section of the infobox to look more stylish)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
 
<div class="infobox-head">
 
<div class="infobox-head">
<div class="infobox-title">{{#invoke:Database|get_species|{{{id}}}|name}} #{{#invoke:Database|get_species|{{{id}}}|index}}</div>
+
<div style="float: right; width: 55px; height: 55px; display: flex; align-items: center; justify-content: center;">[[File:Sticker {{#invoke:Database|get_species|{{{id}}}|name}}.png|55x55px]]</div>
<div class="infobox-subtitle">"{{#invoke:Database|get_species|{{{id}}}|trimmed_description}}"</div>
+
<div class="infobox-title" style="padding-left: 55px; padding-right: 55px;">{{#invoke:Database|get_species|{{{id}}}|name}} #{{#invoke:Database|get_species|{{{id}}}|index}}</div>
 +
<div class="infobox-subtitle" style="padding-left: 55px; padding-right: 55px;">"{{#invoke:Database|get_species|{{{id}}}|trimmed_description}}"</div>
 
</div>
 
</div>
 
<div class="infobox-body">
 
<div class="infobox-body">
Line 9: Line 10:
 
<tr><th>Remaster&nbsp;From</th><td>{{#invoke:Database|get_species|{{{id}}}|evolves_from|foreach=SpeciesLink|subscript=unevolved_form|if_empty=None|format=[[%s]]|delim=,}}</td></tr>
 
<tr><th>Remaster&nbsp;From</th><td>{{#invoke:Database|get_species|{{{id}}}|evolves_from|foreach=SpeciesLink|subscript=unevolved_form|if_empty=None|format=[[%s]]|delim=,}}</td></tr>
 
<tr><th>Remaster&nbsp;To</th><td>{{#invoke:Database|get_species|{{{id}}}|evolves_to|foreach=SpeciesLink|subscript=evolved_form|if_empty=None|format=[[%s]]|delim=,}}</td></tr>
 
<tr><th>Remaster&nbsp;To</th><td>{{#invoke:Database|get_species|{{{id}}}|evolves_to|foreach=SpeciesLink|subscript=evolved_form|if_empty=None|format=[[%s]]|delim=,}}</td></tr>
</table></div></div></div>
+
</table></div></div></div><noinclude>
 +
{{-}}
 +
== Examples ==
 +
{{SpeciesInfobox|id=Salamagus}}
 +
{{SpeciesInfobox|id=Galagor}}
 +
{{SpeciesInfobox|id=Spirouette}}
 +
{{SpeciesInfobox|id=Coaldron}}
 +
{{SpeciesInfobox|id=Hedgeherne}}
 +
{{SpeciesInfobox|id=Flapwoods}}
 +
{{SpeciesInfobox|id=Squirey}}
 +
</noinclude>

Latest revision as of 17:03, 13 May 2023

Unknown #???
"unknown species"
Unknown.png
Type
Remaster FromNone
Remaster ToNone


Examples

Sticker Salamagus.png
Salamagus #059
"triangle-headed lizard"
Salamagus.png
Type
Remaster FromNone
Remaster ToAdeptile.pngAdeptile, Pyromeleon.pngPyromeleon
Sticker Galagor.png
Galagor #079
"floating space bug with a cape"
Galagor.png
Type
Remaster FromStardigrade.pngStardigrade
Remaster ToNone
Sticker Spirouette.png
Spirouette #087
"dancing sea creature with a shell head"
Spirouette.png
Type
Remaster FromNone
Remaster ToRegensea.pngRegensea
Sticker Coaldron.png
Coaldron #077
"tall ceramic figure with a cauldron body"
Coaldron.png
Type
Remaster FromTerracooka.pngTerracooka
Remaster ToNone
Sticker Hedgeherne.png
Hedgeherne #075
"leaf-covered creature holding a flaming horn"
Hedgeherne.png
Type
Remaster FromHuntorch.pngHuntorch
Remaster ToNone
Sticker Flapwoods.png
Flapwoods #056
"hovering alien with round eyes and floating arms"
Flapwoods.png
Type
Remaster FromBraxsuit.pngBraxsuit
Remaster ToNone
Sticker Squirey.png
Squirey #034
"pangolin with a spear"
Squirey.png
Type
Remaster FromNone
Remaster ToPalangolin.pngPalangolin, Manispear.pngManispear