Template:SpeciesInfobox: Difference between revisions
From Cassette Beasts
No edit summary |
Move sticker next to the title section of the infobox to look more stylish |
||
| (7 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 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 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> | <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> | </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
| Type | |
|---|---|
| Remaster From | None |
| Remaster To | None |
Examples
| Type | |
|---|---|
| Remaster From | None |
| Remaster To |
| Type | |
|---|---|
| Remaster From | |
| Remaster To | None |
| Type | |
|---|---|
| Remaster From | |
| Remaster To | None |
| Type | |
|---|---|
| Remaster From | None |
| Remaster To |








