Template:CreatureInfoBox: Difference between revisions
m Protected "Template:CreatureInfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
No edit summary Tag: Reverted |
||
Line 47: | Line 47: | ||
<tr><td colspan="2" class="game-infobox-attribute" style="text-align: center"><strong>[[Creature Infobox Explanation]]</strong></td></tr> | <tr><td colspan="2" class="game-infobox-attribute" style="text-align: center"><strong>[[Creature Infobox Explanation]]</strong></td></tr> | ||
</table> | </table> | ||
</includeonly> | |||
</span> | |||
<span> | |||
<includeonly> | |||
<style> | |||
.game-infobox { | |||
font-family: 'Rubik'; | |||
border-spacing: 0; | |||
border-collapse: separate; | |||
float: right; | |||
margin: 0.5rem 5px 0.5rem 2rem; | |||
max-width: 240px; | |||
min-width: 200px; | |||
} | |||
.game-infobox-title { | |||
background-color: #287308; | |||
color: white; | |||
padding: 0.5rem 2.5rem 0.5rem 2.5rem; | |||
font-size: 16px; | |||
} | |||
.game-infobox-header { | |||
width: 240px; | |||
background-color: #287308; | |||
color: white; | |||
font-size: 14px; | |||
padding: 0.5rem; | |||
} | |||
.game-infobox-attribute { | |||
width: 70px; | |||
font-size: 12px; | |||
padding: 0.5rem; | |||
} | |||
.game-infobox-argument { | |||
font-size: 12px; | |||
padding: 0.5rem; | |||
} | |||
.game-infobox tr th, .game-infobox tr td { | |||
border-right: 1px solid rgba(40,115,8,0.5); | |||
border-bottom: 1px solid rgba(40,115,8,0.5); | |||
} | |||
.game-infobox tr th:first-child, | |||
.game-infobox tr td:first-child { | |||
border-left: 1px solid rgba(40,115,8,0.5); | |||
} | |||
.game-infobox tr th { | |||
border-top: 1px solid rgba(40,115,8,0.5); | |||
} | |||
.game-infobox tr:first-child th:first-child { | |||
border-top-left-radius: 2px; | |||
} | |||
.game-infobox tr:first-child th:last-child { | |||
border-top-right-radius: 2px; | |||
} | |||
.game-infobox tr:last-child td:first-child { | |||
border-bottom-left-radius: 2px; | |||
} | |||
.game-infobox tr:last-child td:last-child { | |||
border-bottom-right-radius: 2px; | |||
} | |||
</style> | |||
</includeonly> | </includeonly> | ||
</span> | </span> |
Revision as of 21:44, 31 July 2025
Embeds a customized infobox for displaying creature attributes along the left side of a wiki page. Can be used in conjunction with the <code>Widget:ModelViewer</code> for displaying creature models.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Creature Title | title | Name of the creature.
| String | suggested |
Model | model | Source for creature model or image. Templates are recommended but static files can be passed as well.
| Template | suggested |
Appearance Biome | appearanceBiome | Biome(s) the creature inhabits.
| String | suggested |
Attack Resilience | attackResilience | Creature's resistance to attacks. | Number | optional |
Fire Resilience | fireResilience | Creature's resistance to fire damage. | Number | optional |
Fall Resilience | fallResilience | Creature's resistance to fall damage. | Number | optional |
Attack Power | attackPower | Creature's attack power. | Number | optional |
Breathing Mode | breathingMode | Does the creature breathe in air or water?
| String | optional |
Mountable | mountable | Is the creature mountable?
| Boolean | optional |
Walk Speed | walkSpeed | How fast does the creature walk?
| Number | optional |
Fly Speed | flySpeed | no description | Unknown | optional |
Swim Speed | swimSpeed | no description | Unknown | optional |
Jump Height | jumpHeight | no description | Unknown | optional |
Acceleration Factor | accelerationFactor | no description | Unknown | optional |
Mass | mass | no description | Unknown | optional |
Bodybox Size | bodyBoxSize | no description | Unknown | optional |
Special | special | no description | Unknown | optional |
Drop | drop | no description | Unknown | optional |
Food | food | no description | Unknown | optional |
Minimum Audible Distance | minAudibleDistance | no description | Unknown | optional |
Herding Behavior | herdingBehavior | no description | Unknown | optional |
Spawner Egg | spawnerEgg | no description | Unknown | optional |