@DeletedUser40302604 (discusión | contribuciones) m (1 revisión importada: Templates From EN ARK) |
|||
Línea 1: | Línea 1: | ||
+ | {|style="width:23em; background: #101010; border: 1px solid #fff; padding: 3px; float: right; margin-left: 1em; margin-right:1em; margin-bottom: 0.5em;" |
||
− | {| class="infoboxtable" |
||
+ | | |
||
+ | {| style="width: 100%; border: 1px solid #fff; background-color: #ffffff; padding: 0.2em;" |
||
|- |
|- |
||
− | ! colspan="2 |
+ | ! colspan="2" | {{header|{{{name|{{BASEPAGENAME}}}}}}} |
+ | |- style="text-align:center" |
||
+ | {{#if: {{{image|}}} | {{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}{{!}}{{#if: {{{size|}}}|{{{size}}}|300x300px}}]] }} |
||
|- |
|- |
||
− | {{#if: {{{ |
+ | {{#if: {{{sound|}}} | {{!}} colspan="2" style="padding: 15px" {{!}} [[File:{{{sound}}}|center]] }} |
|- |
|- |
||
− | ! colspan="2 |
+ | ! colspan="2" | Statistics |
|- |
|- |
||
+ | {{#if: {{{name|}}}| |
||
− | {{#if: {{{race|}}} | {{!}} width=80 {{!}} <div>Race</div> {{!!}} {{{race}}} }} |
||
+ | {{!}} '''Common Name:''' |
||
+ | {{!}} {{{name}}} }} |
||
|- |
|- |
||
+ | {{#if: {{{species|}}}| |
||
− | {{#if: {{{location|}}} | {{!}} <div>Location(s)</div> {{!!}} {{{location}}} }} |
||
+ | {{!}} '''Species:''' |
||
+ | {{!}} {{{species}}} }} |
||
|- |
|- |
||
− | {{#if: {{{ |
+ | {{#if: {{{time|}}}| |
+ | {{!}} '''Time:''' |
||
+ | {{!}} {{{time}}} }} |
||
|- |
|- |
||
− | {{#if: {{{ |
+ | {{#if: {{{diet|}}}| |
+ | {{!}} '''Diet:''' |
||
+ | {{!}} {{#switch: {{{diet}}} | Carnivore=[[:Category:Carnivores|Carnivore]] [[Category:Carnivores]] | Herbivore=[[:Category:Herbivores|Herbivore]] [[Category:Herbivores]] | Omnivore=[[:Category:Omnivores|Omnivore]] [[Category:Omnivores]] | Carrion-Feeder=[[:Category:Carrion-Feeder|Carrion-Feeder]] [[Category:Carrion-Feeder]] | {{{diet}}} }} }} |
||
|- |
|- |
||
+ | {{#if: {{{temperament|}}}| |
||
− | {{#if: {{{related|}}} | {{!}} <div>Related</div> {{!!}} {{{related}}} }} |
||
+ | {{!}} '''Temperament:''' |
||
+ | {{!}} {{{temperament}}} }} |
||
|- |
|- |
||
− | {{#if: {{{ |
+ | {{#if: {{{weight|}}}| |
+ | {{!}} '''[[Weight]]:''' |
||
⚫ | |||
+ | {{!}} {{{weight}}} }} |
||
− | [[Categoría:Plantillas de infobox]]</noinclude> |
||
+ | |- |
||
+ | {{#if: {{{feces_size|}}}| |
||
+ | {{!}} '''[[Feces]] Size:''' |
||
+ | {{!}} {{#switch: {{{feces_size}}} | Small=[[Small Animal Feces|Small]] [[Category:Creatures that drop small feces]] | Medium=[[Medium Animal Feces|Medium]] [[Category:Creatures that drop medium feces]] | Large=[[Large Animal Feces|Large]] [[Category:Creatures that drop large feces]] | Human=[[Human Feces|Human]] [[Category:Creatures that drop human feces]] | {{{feces_size}}} }} }} |
||
+ | |- |
||
+ | {{#if: {{{egg|}}}| |
||
+ | {{!}} '''[[Dinosaur Eggs|Egg]]:''' |
||
+ | {{!}} {{ItemLink|{{{egg}}}}} [[Category:Creatures that lay eggs]] }} |
||
+ | |- |
||
+ | {{#if: {{{release_date|}}}| |
||
+ | {{!}} '''Release Date:''' |
||
+ | {{!}} {{#switch: {{{release_date}}} | Unreleased = [[:Category:Upcoming Creatures|Not Yet Released]] [[Category:Upcoming Creatures]] | {{#dateformat:{{{release_date}}}|mdy}} [[Category:Creatures released in {{#time:Y|{{{release_date}}}}}]] }} {{#if: {{{release_version|}}}|<small>([[{{{release_version}}}|v{{{release_version}}}]])</small> [[Category:Creatures released in v{{#sub:{{{release_version}}}|0|{{#pos:{{{release_version}}}|.}}}}]] }} }} |
||
+ | |- |
||
+ | ! colspan="2" | Domestication |
||
+ | |- |
||
+ | {{#if: {{{tameable|}}}| |
||
+ | {{!}} '''[[:Category:Tameable creatures|Tameable]]:''' |
||
+ | {{!}} {{#switch: {{{tameable}}} | No = <span style="cursor: help; border-bottom: 1px dotted #397d75;" title="Unless cheats are used">No</span> [[Category:Untameable creatures]] | Yes = Yes [[Category:Tameable creatures]] | {{{tameable}}} }} }} |
||
+ | |- |
||
+ | {{#if: {{{kibble|}}}| |
||
+ | {{!}} '''Favorite Kibble:''' |
||
+ | {{!}} {{{kibble}}} }} |
||
+ | |- |
||
+ | {{#if: {{{rideable|}}}| |
||
+ | {{!}} '''[[:Category:Rideable creatures|Rideable]]:''' |
||
+ | {{!}} {{{rideable|}}} {{#switch: {{{rideable}}} | Yes = [[Category:Rideable creatures]]}} }} |
||
+ | |- |
||
+ | {{#if: {{{saddle|}}}| |
||
+ | {{!}} '''Saddle:''' |
||
+ | {{!}} {{{saddle}}} }} |
||
+ | |} |
||
⚫ | |||
+ | {{clear}} |
||
+ | ==Usage== |
||
+ | |||
+ | Categories of diet, feces size, if creature produces eggs, (un-)tamable and rideable are added automatically. |
||
+ | |||
+ | <pre> |
||
+ | {{Infobox |
||
+ | | name = |
||
+ | | image = |
||
+ | | sound = |
||
+ | | species = |
||
+ | | time = |
||
+ | | diet = |
||
+ | | temperament = |
||
+ | | egg = Exact name of egg item (automatically linked) |
||
+ | | weight = |
||
+ | | feces_size = Small, Medium or Large (automatically linked) |
||
+ | | release_date = Date creature was released (YYYY-MM-DD) (Or, "Unreleased" if not yet released) |
||
+ | | release_version = Version of the game creature was released (automatically linked) |
||
+ | | tameable = Yes / No |
||
+ | | kibble = |
||
+ | | rideable = Yes / No |
||
+ | | saddle = |
||
+ | }} |
||
+ | </pre> |
||
+ | [[Category:Infobox templates]]</noinclude> |
||
+ | <includeonly>[[Category: Creatures]]</includeonly> |
Revisión del 07:31 23 mar 2016
|
Usage
Categories of diet, feces size, if creature produces eggs, (un-)tamable and rideable are added automatically.
{{Infobox | name = | image = | sound = | species = | time = | diet = | temperament = | egg = Exact name of egg item (automatically linked) | weight = | feces_size = Small, Medium or Large (automatically linked) | release_date = Date creature was released (YYYY-MM-DD) (Or, "Unreleased" if not yet released) | release_version = Version of the game creature was released (automatically linked) | tameable = Yes / No | kibble = | rideable = Yes / No | saddle = }}