Difference between revisions of "Template:SpeciesInfobox"
From Cassette Beasts
(Move sticker next to the title section of the infobox to look more stylish) |
|||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
− | <div class="infobox- | + | <div class="infobox-head"> |
− | <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- | + | <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-image"><center>[[File:{{#invoke:Database|get_species|{{{id}}}|name}}.png|300px]]</center></div> | ||
+ | <div class="infobox-data"><table><tr><th>Type</th><td>{{TypeButton|{{#invoke:Database|get_species|{{{id}}}|elemental_type}}}}</td></tr> | ||
+ | <tr><th>Remaster 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 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><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
Examples
Type | |
---|---|
Remaster From | None |
Remaster To | Adeptile, Pyromeleon |
Type | |
---|---|
Remaster From | Stardigrade |
Remaster To | None |
Type | |
---|---|
Remaster From | Terracooka |
Remaster To | None |
Type | |
---|---|
Remaster From | None |
Remaster To | Palangolin, Manispear |