Шаблон:NPC infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 93: | Строка 93: | ||
| [[{{#var:default image}}|Upload an image of this NPC.]]<!-- Red link to file upload page --> | | [[{{#var:default image}}|Upload an image of this NPC.]]<!-- Red link to file upload page --> | ||
}} | }} | ||
− | }} }}{{#switch:{{lc:{{{random|no}}}}}|y|yes=<center><small>(Внешний вид этого персонажа может меняться случайным образом.)</small></center>}} | + | }}</p>}}{{#switch:{{lc:{{{random|no}}}}}|y|yes=<center><small>(Внешний вид этого персонажа может меняться случайным образом.)</small></center>}} |
− | |||
{{#switch: {{lc:{{{race|}}}}} | {{#switch: {{lc:{{{race|}}}}} | ||
| object = <!-- do not show if object --> {{#set:Has race=Object}} | | object = <!-- do not show if object --> {{#set:Has race=Object}} |
Текущая версия на 08:49, 2 октября 2022
Содержание
Usage[править]
{{NPC infobox | name = | image = | random = | location = | coordinates = | race = | organization = | level = | rank = | profession = | service = | goal = | gallery1...gallery5 = | gallery1-text...gallery5-text = | requires = | status = | status notes = }}
Parameters[править]
- name
- Optional. Only include if the name of the NPC differs from the article name. Defaults the name of the article:
{{PAGENAME}}
. - icon
- Optional. Only include if the NPC has a unique icon. If no value is set the icon defaults to showing an icon chosen by the service parameter. If that too is unspecified, the icon is hidden.
- image
- Optional. Defaults to the page name:
{{PAGENAME}}.jpg
. Set tono
to disable the image. Note that the NPC screenshot should not include any text. The Shared Model Project might be used for any already uploaded model. - random
- Optional. Set to
yes
if the NPC's appearance changes randomly and in cases where the NPC might use models varied with each race. Commonly used for many generic NPCs and merchants. Defaults to no. - location
- Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations.
- coordinates / path / bounds
- Optional. The X and Y coordinates to the NPCs location. Displays and interactive map with a marker of the NPC's location. EG
[12345,31321]
. See {{Infobox map}} for more details. - localtiles
- Optional. If set, uses local wiki tiles instead of the API raster tiles. See Category:Map raster tiles.
- race
- Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, either list them all, comma-separated, or use "Various" instead of a huge list. For objects that are coded as NPCs in order to perform certain functions, use "object".
- organization
- Optional. The organization/affiliation the NPC belongs to.
- level
- Optional. The level or levels of the NPC.
- rank
- Optional. Should be one of the following: veteran, elite, champion, legendary or epic. Defaults to normal.
- profession
- Optional. The profession of the NPC. Use a comma-separated list if more than one profession is possible.
- service
- The service or services provided by the NPC. Use a comma-separated list of services. Options:
- armorsmith
- reinforce armor
- bandit crest collector
- collections instructor
- dungeon information
- dungeon merchant
- fishmonger
- fishing supplies
- gift
- guild commendation trader
- guild promoter
- guild armorer
- guild weaponsmith
- weaponsmith
- karma
- ley line crystal merchant
- cultural armorsmith
- cultural weaponsmith
- master armorsmith
- master artificer
- master chef
- master huntsman
- master jeweler
- master leatherworker
- master scribe
- master tailor
- master weaponsmith
- merchant
- race organizer
- repairs
- renown heart
- repeatable heart
- skill challenge
- hero challenge
- trading post
- transport facilitator
- living world
- living story
- living story scout
- living story waypoint
- living story collector
- living world merchant
- geode merchant
- belcher's bluff
- activity
- mystic forge attendant
- guild claiming
- guild
- proprietor
- mastery insight (path of firs)
- mastery insight (end of dragons)
- dragon arena
- goal
- Optional. Specific hero challenge events or Renown Heart tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
- gallery1 ... gallery5
- Optional. Images related to the NPC. The first image defaults to
{{PAGENAME}} location.jpg
. - gallery1-text ... gallery5-text
- Optional. Image descriptions.
- categorize
- Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
- status
- Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", and "unimplemented".
- status notes
- Optional. Allows provision of additional reason for the given status.
- status date
- Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
- requires
- Optional. The expansion or living world season required to access the content. Displays a notice of the required release. See {{infobox requires}} for options.
Example[править]
{{NPC infobox | image = Caithe 02 concept art.jpg | location = Maguuma Jungle; The Grove; Divinity's Reach | race = Sylvari | organization = Destiny's Edge | level = 80 | rank = Legendary | profession = Thief | service = Guild Armorer | gallery1 = User Lucian Shadowborn map.jpg | gallery1-text = Location in Magumma Jungle | gallery2 = User Lucian Shadowborn map.jpg | gallery2-text = Location in The Grove | gallery3 = User Lucian Shadowborn map.jpg | gallery3-text = Location in Divinity's Reach }}
Caithe
- Раса
- Sylvari
- Профессия
- Thief
- Уровень
- 80
- Ранг
- Elite
Legendary - Локация
- Maguuma Jungle; The Grove; Divinity's Reach
- Организация
- Destiny's Edge
- Услуги
- Guild Armorer
Изображения |
Location in Magumma Jungle Location in The Grove Location in Divinity's Reach |