Difference between revisions of "Template:Creature Summary"

The Beyond Skyrim Wiki — Hosted by UESP
Jump to: navigation, search
m (clean out MetaTemplate - part-complete)
(update)
Line 1: Line 1:
<includeonly><!--
+
{{#if:{{{notrail|}}}||{{Trail|Fauna|{{{type|}}}}}}}<!--
--><!-- Note: This template makes use of instructions like {{#if:1|{{{attack}}}}} instead of just {{{attack}}} to trigger correct bullet handling with parameters like "drops=* Minor Loot" (without requiring a leading line break in the template call). --><!--
 
--><!-- Trail --><!--
 
-->{{#if:{{{notrail|}}}||{{Trail|Fauna|{{{type|}}}}}}}<<!--
 
--><!-- Categories --><!--
 
 
-->[[Category:{{NAMESPACE}}-Creatures-All]]<!--
 
-->[[Category:{{NAMESPACE}}-Creatures-All]]<!--
 
-->{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|N/A||[[Category:{{NAMESPACE}}-Creatures-{{{type}}}]]}}}}<!--
 
-->{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|N/A||[[Category:{{NAMESPACE}}-Creatures-{{{type}}}]]}}}}<!--
Line 9: Line 5:
 
-->__NOTOC__
 
-->__NOTOC__
 
{| class="wikitable infobox" style="width:25%; float:right;"
 
{| class="wikitable infobox" style="width:25%; float:right;"
 +
|+{{{titlename|{{PAGENAME}}}}} {{#if:{{{refid|}}}|<br><small>(RefID:&#32;{{{refid}}})</small>}}
 
|-
 
|-
!colspan=4 style="color:{{{fgcolor}}}; background-color:{{{bgcolor}}}"|{{{titlename|{{PAGENAME}}}}} {{#if:{{{refid|}}}|<br><small>(RefID:&#32;{{{refid}}})</small>}}
+
|{{#if:{{{image|}}}|
 +
{{!}}colspan=2{{!}}[[File:{{{image}}}|center|frameless]] }}
 
|-
 
|-
{{#if:{{{projects|}}}|
+
{{#if:{{{type|}}}|
!Found in
+
!Type
{{!}} colspan=3 {{!}} {{{projects}}} }}
+
{{!}} {{{type}}} }}
|-
 
{{#if:{{{location|}}}|
 
!Location
 
{{!}} colspan=3 {{!}} {{{location}}} }}
 
 
|-
 
|-
 
{{#if:{{{species|}}}|
 
{{#if:{{{species|}}}|
 
!Species
 
!Species
{{!}} {{#ifeq:{{{species|}}}|N/A|N/A|{{#if:{{#pos:{{{species|}}}|:}}|{{{species}}}|{{Autolink|{{{species}}}}}}}}}
+
{{!}} {{{species}}} }}
 +
|-
 +
{{#if:{{{soul|}}}|
 
!{{UESP|Skyrim:Souls|Soul}}
 
!{{UESP|Skyrim:Souls|Soul}}
{{!}} {{{soul|}}}
+
{{!}} {{{soul|}}} }}
<!----------------- HALF DONE ---------------------->
 
 
|-
 
|-
 +
{{#if:{{{level|}}}|
 
!Level
 
!Level
|{{{level|}}}
+
{{!}}{{{level|}}} }}
!Type
 
|{{#if:{{{type|}}}|{{SkipLink|{{NS_FULL:{{{typenamesp|}}}}}{{{type}}}|{{{type}}}}}}}
 
|-
 
!{{#if:{{{refid|}}}|{{SkipLink|{{NS_PARENT}}:NPCs#Console IDs|RefID}}}}
 
|{{#if:{{{refid|}}}|{{IDs2|{{{refid|}}}|hover={{{refidhover|}}}|sep=<br>}}}}
 
!{{#if:{{{baseid|}}}|{{SkipLink|{{NS_PARENT}}:NPCs#Console IDs|BaseID}}}}
 
|{{#if:{{{baseid|}}}|{{IDs2|{{{baseid|}}}|hover={{{baseidhover|}}}|sep=<br>}}}}
 
|-
 
!Tribe
 
|colspan=3|{{{tribe|}}}
 
|-
 
!colspan=4 {{{headerStyle}}}|Attacks
 
|-
 
|colspan=4|{{#if:1|{{{attack}}}}}
 
|-
 
!colspan=4 {{{headerStyle}}}|Abilities
 
|-
 
|colspan=4|{{#if:1|{{{abilities}}}}}
 
|-
 
!colspan=4 {{{headerStyle}}}|Drops
 
|-
 
|colspan=4|{{#if:1|{{{drops}}}}}
 
|-
 
!colspan=4 {{{headerStyle}}}|Services
 
|-
 
!Other
 
|colspan=3|{{#if:{{{repair|}}}|[[Image:Repairicon_small.png|Repairs]] [[{{NS_PARENT}}:Blacksmith|Repairs]]}}
 
|-
 
!colspan=4 {{{headerStyle}}}|Merchant
 
|-
 
!{{SkipLink|{{NS_PARENT}}:Commerce#Merchants' Gold|Gold}}
 
|{{{gold|}}}
 
!{{#if:{{{buys|{{{sells|}}}}}}|{{SkipLink|{{NS_PARENT}}:Mercantile|Mercantile}}}}
 
|{{#if:{{{buys|{{{sells|}}}}}}|{{merc|0}}}}
 
|-
 
!Sells
 
|colspan=3|{{{sells|}}}
 
|-
 
!Buys
 
|colspan=3|{{{buys}}}
 
|-
 
!colspan=4 {{{headerStyle}}}|Other Information
 
|-
 
!{{SkipLink|{{NS_PARENT}}:Health|Health}}
 
|{{{health}}} {{#ifeq:{{{health|}}}|0|('''Dead''')|}}
 
!{{SkipLink|{{NS_PARENT}}:Magicka|Magicka}}
 
|{{{magicka}}}
 
|-
 
!{{#if:{{{stamina|}}}|{{SkipLink|{{NS_PARENT}}:Stamina|Stamina}}}}
 
|colspan=3| {{{stamina|}}}
 
|-
 
!Alarm
 
|{{{alarm|{{#if:{{{fight|}}}|{{huh}}}}}}}
 
!Fight
 
|{{{fight|{{#if:{{{alarm|}}}|{{huh}}}}}}}
 
|-
 
!{{#if:{{{resp|}}}|{{SkipLink|{{NS_PARENT}}:Responsibility|Respons.}}}}
 
|{{{resp|{{#if:{{{agress|}}}|{{huh}}}}}}}
 
!{{#if:{{{aggress|}}}|{{SkipLink|{{NS_PARENT}}:Aggression|Aggress.}}}}
 
|{{{aggress|{{#if:{{{resp|}}}|{{huh}}}}}}}
 
|-
 
!Primary Skills
 
|colspan=3|{{{skills|}}}
 
 
|-
 
|-
!Perks
+
{{#if:{{{health|}}}|
|colspan=3|{{{perks|}}}
+
!Health
 +
{{!}}{{{health|}}} }}
 
|-
 
|-
!{{#if:{{{essential|}}}|{{SkipLink|{{NS_FULL}}Essential Creatures|Essential}}}}
+
{{#if:{{{magicka|}}}|
|colspan=3|{{{essential|}}}
+
!Magicka
 +
{{!}}{{{magicka|}}} }}
 
|-
 
|-
!{{#if:{{{protected|}}}|{{SkipLink|{{NS_FULL}}Protected Creatures|Protected}}}}
+
{{#if:{{{stamina|}}}|
|colspan=3|{{{protected|}}}
+
!Stamina
{{#if:{{{follower|}}}|
+
{{!}}{{{stamina|}}} }}
{{!}}-
 
!{{SkipLink|{{NS_FULL}}Followers|Follower}}
 
{{!}}colspan=3{{!}}{{{follower}}}
 
}}
 
 
|-
 
|-
!{{SkipLink|{{NS_FULL}}Factions|Faction(s)}}
+
{{#if:{{{abilities|}}}|
|colspan=3|{{{faction|}}}
+
!Abilities
|}</cleantable>{{#if:{{{image|}}}|[[Image:{{{image}}}|thumb|left|{{{imgdesc|}}}]]}}{{#if:{{{altname|}}}|{{DEFAULTSORT:{{{altname}}}}}}}</includeonly><noinclude>
+
{{!}}{{{abilities|}}} }}
 +
|}<noinclude>
 
{{/Doc}}</noinclude>
 
{{/Doc}}</noinclude>

Revision as of 18:00, 18 May 2019

< Template:Fauna
Creature Summary

Summary

This template creates an infobox for use on all Creature pages. It includes the appropriate bread crumb trails and categories.

Parameters

Creature Summary
Parameter Scope Description
titlename optional Creature's name as displayed at the top of the infobox. Will default to use PAGENAME.
refid optional Creature's reference FormID. Multiple IDs should be separated with a comma.
baseid optional Creature's base FormID. Multiple IDs should be separated with a comma.
type optional Creature's type (e.g. Daedra, Undead, etc.)
species optional Species of the creature.
soul optional Creature's soul (Petty, Common, Grand, etc.)
level optional Creature's level
health optional Creature's health.
magicka optional Creature's magicka.
stamina optional Creature's stamina.
perks optional Creature's perks.
skills optional Creature's primary skills.
abilities optional Creature's passive abilities - resistances, weaknesses, etc.
image optional The name of an image file for this Creature, just the file name.
notrail optional If set to "yes", the breadcrumb trail normally created by the template is suppressed (for cases where multiple templates are used on one page or when used for a generic NPC).
nocat optional If set to "yes", the categories normally added by the template are suppressed.

Example

{{Creature Summary
|image=Zombie.jpg
|caption=A zombie
|type=Undead
|species=Zombie
|soul=Leveled
|level=lvl-1
|health=50×(lvl-1)
|magicka=N/A
|abilities=
*[[Oblivion:Resist Frost|Resist Frost]] 30%
*[[Oblivion:Resist Magic|Resist Magic]] 30%
*[[Oblivion:Resist Poison|Resist Poison]] 100%
*[[Oblivion:Weakness to Fire|Weakness to Fire]] 60%
|refid=00091AAA
|baseid=00091AA9
}}


Creature Summary
Zombie.jpg
A zombie
Type Undead
Species Zombie
Soul Leveled
Level lvl-1
Health 50×(lvl-1)
Magicka N/A
Abilities
BaseID: 00091AA9
RefID: 00091AAA