Template:CreatureInfobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
<!-- if images --> | <!-- if images --> | ||
<div class="creature-imgs"> | <div class="creature-imgs"> | ||
<!-- female creature; wikitext img --> | {{#if: {{{female_img|}}} | ||
|{{#if: {{{male_img|}}} | |||
|<!-- female creature; wikitext img --> | |||
<div class="ci-img fem-creature-img" style="display:block;"> | |||
[[File:{{{female_img}}}|260px|center]] | |||
</div> | |||
<!-- male creature; wikitext img --> | |||
<div class="ci-img male-creature-img" style="display:none;"> | |||
[[File:{{{male_img}}}|260px|center]] | |||
</div> | |||
</div> | <div class="ci-tab-bar"><span class="ci-tab ci-fem-tab ci-tab-active">Female</span><span class="ci-tab ci-male-tab">Male</span></div> | ||
|<!-- just female --> | |||
<div class="ci-img fem-creature-img" style="display:block;"> | |||
[[File:{{{female_img}}}|260px|center]] | |||
</div> | |||
}} | |||
|{{#if: {{{male_img|}}} | |||
|<div class="ci-img male-creature-img" style="display:none;"> | |||
[[File:{{{male_img}}}|260px|center]] | |||
</div> | |||
|no example image | |||
}} | |||
}} | |||
</div> | </div> | ||
< | {{#if: {{{creature_release_date|}}} | <div class="creature-info ci-trait">Release Date: {{{creature_release_date}}}</div>}} | ||
{{#if: {{{creature_sub_breed_link|}}} | <div class="creature-info ci-trait-alt">Official Sub-Breed List: {{{creature_sub_breed_link}}}</div>}} | |||
< | {{#if: {{{creature_gen_breed_link|}}} | <div class="creature-info ci-trait">Official Gen-Breed List: {{{creature_gen_breed_link}}}</div>}} | ||
<div class="creature-info"></div> | |||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"female_img": { | |||
"label": "Female Image", | |||
"type": "wiki-file-name" | |||
}, | |||
"male_img": { | |||
"label": "Male Image", | |||
"type": "wiki-file-name" | |||
}, | |||
"creature_release_date": { | |||
"label": "Release date of creature", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"creature_sub_breed_link": { | |||
"label": "Sub-breed page", | |||
"type": "url" | |||
}, | |||
"creature_gen_breed_link": { | |||
"label": "Gen breed header", | |||
"description": "Link to header in official gen breed document by the sub-breed team", | |||
"type": "url" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 18:23, 18 April 2026
CreatureInfobox
no example image
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Female Image | female_img | no description | File | optional |
| Male Image | male_img | no description | File | optional |
| Release date of creature | creature_release_date | no description | Date | suggested |
| Sub-breed page | creature_sub_breed_link | no description | URL | optional |
| Gen breed header | creature_gen_breed_link | Link to header in official gen breed document by the sub-breed team | URL | optional |