Шаблон:NPC Summary

Материал из Tiarum
Перейти к: навигация, поиск
Empty img character.png
NPC Summary
Раса Пол
Уровень Класс
Дополнительная информация
Здоровье Магия
[просмотр] [править] [история] [обновить]
Документация Документация

Summary

This template creates an infobox for use on all NPC pages. It includes the appropriate bread crumb trails and categories. It can be used on Morrowind, Tribunal, Bloodmoon, Oblivion, and Shivering Isles pages.

Parameters

Template:NPC Summary
Parameter Scope Description
DISPLAY SETTINGS
titlename optional NPC's name as displayed at the top of the infobox. Generally NOT needed; will default to use PAGENAME. Only needed when pagename contains extra information (i.e., disambiguation).
altname see note NPC's name as used in category tags. Generally NOT needed: will default to use PAGENAME. Only needed when the NPC's name starts with "The" or "A" to fix the alphabetization of categories.
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.
width optional Width to use for the table (in percent, do not include the percentage sign). Default value is 33. This parameter only needs to be set in cases when the default value needs to be altered, for example when putting the infobox inside a table for better layout.
GENERAL INFO
pron optional Pronunciation of NPC's name.
mod see note Name of mod that adds PC (if not in baseline version of game).
image required The name of an image file for this NPC, just the file name. If this parameter is missing, a <a href="/wiki/Template:NeedsImage" title="Template:NeedsImage">NeedsImage</a> banner will automatically be added to the quest article. In cases where an image is truly never needed, set image to "none".
imgdesc see note Description of image (only needed if image is provided).
essential optional Is the NPC essential? Always, until a certain quest is complete, or sometimes. Should not be used if the NPC is never essential.
respawn optional Does NPC respawn? Yes or blank.
follower optional Is NPC a follower? Provide link to relevant quests.
LOCATION INFO
city required NPC's "Home City" (formatted as a link to appropriate page)
store see note Name of the "Store" store where this NPC is a merchant (if a merchant).
house see note Name of the "House" where this NPC lives (if not a merchant)
loc required "Location" where NPC can be found (if NPC does not live in a city or in a house/store)

N.B. generally a NPC will have city+store, city+house, or just loc set. All four of city, store, house and loc are not intended to be used together, but they are provided as redundant options so that an appropriate place-related box can be created for any NPC.

STATS INFO
race see note Race. If racecat is _not_ provided Race should be a plain word, i.e., not a link. If racecat is provided, race can be a plain word or a link to the appropriate race page
racecat optional Race to be used for page's category: not as a link, singular. Generally NOT needed: will default to use race. Only needed when NPC is a non-standard race that does not have a category.
gender required Male or Female
level required NPC's level
class required NPC's class
health required NPC's health
magicka required NPC's magicka
faction optional Factions to which NPC belongs
SERVICES INFO
spell optional Icons summarizing spells sold by NPC
repair optional For NPCs who provide repair services, provide repair=yes
train optional Training provided by NPC, fully formatted.
merc optional Mercantile skill of NPC (only needed for merchants)
gold optional Merchants' gold (only needed for merchants)
sells optional List of items sold by merchant
buys optional List of types of items bought by merchant, corresponding to CS categories.
rent optional Price to rent a bed (only needed for publicans)
other optional Other services provided by NPC (optional) (Most other services are covered by one of the above parameters. This should only be used for unique special cases.)
MORROWIND SPECIFIC
id required NPC's editor ID in Morrowind. This parameter may be omitted on Morrowind pages if the ID is the same as the titlename or PAGENAME, but in lower-case. For Oblivion pages, refid and baseid should be used instead of id.
spellmaker optional For NPCs who provide spell-making services, provide spellmaker=yes
enchanter optional For NPCs who provide enchanting services, provide enchanter=yes
transport optional Transportation provided by NPC (optional, should be one of "Silt Strider", "Boat", "Gondola", or "Guild Guide")
dest required* Destinations to which NPC provides transportation (required if transport parameter is set, should be a formatted/wikified list of up to four destinations)
alarm optional NPC's alarm level for Morrowind NPCs (optional if fight also omitted)
fight optional NPC's fight level for Morrowind NPCs (optional if alarm also omitted)
OBLIVION SPECIFIC
refid required NPC's reference FormID in Oblivion.
baseid required NPC's base FormID in Oblivion.
avail optional Times/days when available for services.
recharge optional For NPCs who provide recharging services, provide recharge=yes
horse optional Horses sold by NPC
resp optional NPC's responsibility for Oblivion NPCs (optional if aggress also omitted)
aggress optional NPC's aggression for Oblivion NPCs (optional if resp also omitted)

Examples

{{NPC Summary
|refid=0002D06A
|baseid=0002CD1E
|city=[[Oblivion:Anvil|Anvil]]
|loc=[[Oblivion:Anvil Mages Guild|Anvil Mages Guild]]
|race=Altmer
|gender=Female
|class=Spellsword
|level=20
|avail=7am-9pm every day
|train=[[Image:Trainicon_blue.png|Illusion (Advanced)]][[Image:Illusionicon_base.png|Illusion (Advanced)]] [[Oblivion:Illusion|Illusion]], Advanced
|health=147
|magicka=252
|resp=50
|aggress=5
|essential=Always
|faction={{Faction|Mages Guild|Wizard}}; {{Faction|Anvil Citizen}}
|image=OB-npc-Carahil.jpg
|imgdesc=Carahil behind her desk in the [[Oblivion:Anvil|Anvil]] Mages Guild
}}
Личные инструменты
Пространства имён
Варианты
Действия
Навигация
Разделы TES
Разделы Fallout
Модмейкерам
Инструменты