Template:NPC infobox: differenze tra le versioni
Jump to navigation
Jump to search
(Creata pagina con "{| style="margin: 0 0 0.5em 1em; border:1px solid silver; float:right; text-align:left; font-size:90%; background-color:white;" cellpadding="5" class="infobox npc-infobox" ! colspan="2" style="font-size:110%; text-align:center; background-color:#EBB;" | {{{name|{{PAGENAME}}}}} |- | colspan="2" align="center" class="infobox-image" | {{{image|[[Image:{{PAGENAME}}.jpg{{pipe}}150px]]}}} |- valign="top" ! style="background-color:#EBB;" | Affilizione{{#if:{{{affiliation2|...") |
mNessun oggetto della modifica |
||
| Riga 85: | Riga 85: | ||
| Skelk = [[Category:Skelk]] | | Skelk = [[Category:Skelk]] | ||
| Pupazzo di Neve = [[Categoria:Pupazzi di Neve]] | | Pupazzo di Neve = [[Categoria:Pupazzi di Neve]] | ||
| | | Umano = [[Categoria:Umani]] | ||
| Verme = [[Categoria:Vermi]] | | Verme = [[Categoria:Vermi]] | ||
| #default = [[Categoria:{{{type|{{{species}}}}}}]] | | #default = [[Categoria:{{{type|{{{species}}}}}}]] | ||
Versione delle 16:31, 25 lug 2024
| NPC infobox | |
|---|---|
| File:NPC infobox.jpg | |
| Affilizione | Non specificata |
| Tipo | Not specified |
| Livello | Not specified |
| Campagna | Core |
Syntax
{{NPC infobox
| name =
| image =
| affiliation =
| type =
| profession =
| profession2 =
| profession3 =
| profession4 =
| profession5 =
| profession6 =
| profession7 =
| profession8 =
| service =
| service2 =
| level =
| boss =
| passive =
| hidden =
| no flesh =
| campaign =
| campaign2 =
| campaign3 =
| campaign4 =
| campaign5 =
| map1 =
| map1-text =
| map2 =
| map2-text =
| map3 =
| map3-text =
| map4 =
| map4-text =
| map5 =
| map5-text =
}}
Parameters
- name
- Optional. Defaults to article name.
- image
- Optional. Defaults to a .jpg image of the article's name. Default and recommended width is 150 pixels.
- profession
- Optional and case-insensitive. Acceptable profession values: "w", "r", "mo", "n", "me", "e", "a", "rt", "p", "d". Use this ´for the NPCs primary profession.
- affiliation
- Required. The general force or group the creature is affiliated with. Equivalent to the internal "army" grouping in game mechanic effects. Examples: White Mantle, Corsair, Undead, etc. Defaults to "Not specified".
- type
- Required. Base type. Examples: Human, Plant, Zombie, etc. Defaults to "Not specified".
- profession2 ... profession8
- Applies only if the previous profession# is specified. Use for any other profession the NPC uses skills from.
- service
- Optional. NPC service type.
- service2
- Applies on if service is specified. Only if the NPC offers an additional service.
- level
- Required. The level or levels of this NPC. Defaults to "Not specified". Put hard mode levels in parentheses after the normal mode level.
- boss
- Optional. If supplied, a "(boss)" tag is added to the species. Omit if not a boss.
- passive
- Boolean. Optional. Is the NPC Passive? Category only. Can be omited if not true.
- hidden
- Boolean. Optional. Can the NPC lurk and only show up when the player gets close? Category only. Can be omited if not true.
- no flesh
- Boolean. Optional. Does the NPC have No Flesh? Category only. Can be omited if not true.
- campaign
- Optional. The campaign in which this NPC appears. Defaults to "Core".
- campaign2, campaign3, campaign 4
- Applies only if campaign# is specified. For NPCs appearing in multiple campaigns.
- map1, map2, map3, map4, map5
- Optional. A map or other image of this NPC. Recommended width is 150 pixels.
- map1-text, map2-text, map3-text, map4-text, map5-text
- Optional. Caption for the corresponding map# parameter. Defaults to "(Click to enlarge)".
Deprecated parameters
- species
- Optional. If "type" parameter is not specified, this is used in its stead. This parameter is deprecated; please use or switch to "type" instead of this.
Notes
- Take note of the image use policy before uploading any NPC image.
- Only the image, map#, and map#-text parameters require manual wikilinks. All other parameters that should be linked are automatically linked.
Examples
For a Juvenile Bladed Termite, a hostile NPC:
{{NPC infobox
| type = Insect
| profession = w
| level = 2 (22)
| campaign = Prophecies
}}
For Ghostly Hero, an NPC with multiple professions:
{{NPC infobox
| image = [[Image:Ghostly Hero.jpg|150px]]
| affiliation = Undead
| profession = w
| profession2 = r
| level = 20, 24, 28
| campaign = Core
}}
For an enemy boss:
{{NPC infobox
| affiliation = Stone Summit
| type = Dwarf
| profession = n
| level = 28
| boss = y
| campaign = Prophecies
| map1 = [[Image:Villnar Painforge location.jpg|150px]]
| map1-text = Location
}}
For a henchman found in multiple campaigns:
{{NPC infobox
| type = Human
| profession = mo
| service = Henchman
| level = 4..20
| campaign = Prophecies
| campaign2 = Factions
| campaign3 = Nightfall
| map1 = [[Image:Rendered image.jpg|150px]]
| map1-text = Rendered image sourced from somewhere
}}
Typical usage:
{{NPC infobox
| type = NPC base type
| profession = NPC profession shorthand/abbreviation (W, R, Mo etc.)
| level = NPC level, levels, or level range
| campaign = campaign appearance
}}
Typical usage for NPCs with a service to offer:
{{NPC infobox
| affiliation = NPC affiliation
| service = NPC service
| level = NPC level, levels, or level range
| campaign = campaign appearance
| map1 = optional map where NPC can be found
| map1-text = optional map caption
}}
Typical usage for a boss NPC:
{{NPC infobox
| affiliation = NPC affiliation of boss
| type = NPC base creature type of boss
| profession = NPC profession shorthand/abbreviation
| level = NPC level, levels, or level range
| boss = y
| campaign = campaign appearance
| map1 = optional map where boss can be found
| map1-text = optional map caption
}}