Template:NPC infobox: differenze tra le versioni
Jump to navigation
Jump to search
mNessun oggetto della modifica |
Nessun oggetto della modifica |
||
| Riga 45: | Riga 45: | ||
}} | }} | ||
|- valign="top" | |- valign="top" | ||
{{ #if: {{{map1|}}} | {{NPC infobox map1 | {{{map1}}}}}<br/><small>{{{map1-text|( | {{ #if: {{{map1|}}} | {{NPC infobox map1 | {{{map1}}}}}<br/><small>{{{map1-text|(Fai clic per ingrandire)}}}</small> | ||
{{ #if: {{{map2|}}} | {{NPC infobox map2 | {{{map2}}}}}<br/><small>{{{map2-text|( | {{ #if: {{{map2|}}} | {{NPC infobox map2 | {{{map2}}}}}<br/><small>{{{map2-text|(Fai clic per ingrandire)}}}</small> | ||
{{ #if: {{{map3|}}} | {{NPC infobox map2 | {{{map3}}}}}<br/><small>{{{map3-text|( | {{ #if: {{{map3|}}} | {{NPC infobox map2 | {{{map3}}}}}<br/><small>{{{map3-text|(Fai clic per ingrandire)}}}</small> | ||
{{ #if: {{{map4|}}} | {{NPC infobox map2 | {{{map4}}}}}<br/><small>{{{map4-text|( | {{ #if: {{{map4|}}} | {{NPC infobox map2 | {{{map4}}}}}<br/><small>{{{map4-text|(Fai clic per ingrandire)}}}</small> | ||
{{ #if: {{{map5|}}} | {{NPC infobox map2 | {{{map5}}}}}<br/><small>{{{map5-text|( | {{ #if: {{{map5|}}} | {{NPC infobox map2 | {{{map5}}}}}<br/><small>{{{map5-text|(Fai clic per ingrandire)}}}</small> | ||
}} }} }} }} }} | }} }} }} }} }} | ||
|} | |} | ||
| Riga 60: | Riga 60: | ||
| {{ #switch: {{{type|{{{species}}}}}} | | {{ #switch: {{{type|{{{species}}}}}} | ||
| Appestato = [[Categoria:Appestati]] | | Appestato = [[Categoria:Appestati]] | ||
| Dragatore = [[Categoria:Dragatori]] | |||
| Dragatore = [[Categoria: | |||
| Nano = [[Categoria:Nani]] | | Nano = [[Categoria:Nani]] | ||
| Pesce = [[Categoria:Pesci]] | | Pesce = [[Categoria:Pesci]] | ||
| Dimenticato = [[Categoria:Dimenticati]] | | Dimenticato = [[Categoria:Dimenticati]] | ||
| Grentch = [[Category:Grentches]] | | Grentch = [[Category:Grentches]] | ||
| Arpia = [[Categoria:Arpie]] | | Arpia = [[Categoria:Arpie]] | ||
| Ecate = [[Categoria:Ecati]] | | Ecate = [[Categoria:Ecati]] | ||
| Incubo = [[Categoria:Incubi]] | | Incubo = [[Categoria:Incubi]] | ||
| Gelatinoso = [[Categoria:Gelatinosi]] | | Gelatinoso = [[Categoria:Gelatinosi]] | ||
| Mummia = [[Categoria:Mummie]] | | Mummia = [[Categoria:Mummie]] | ||
| Squamato = [[Categoria:Squamati]] | | Squamato = [[Categoria:Squamati]] | ||
| Skelk = [[Category:Skelk]] | | Skelk = [[Category:Skelk]] | ||
| Pupazzo di Neve = [[Categoria:Pupazzi di Neve]] | | Pupazzo di Neve = [[Categoria:Pupazzi di Neve]] | ||
| Verme = [[Categoria:Vermi]] | | Verme = [[Categoria:Vermi]] | ||
| #default = [[Categoria:{{{type|{{{species}}}}}}]] | | #default = [[Categoria:{{{type|{{{species}}}}}}]] | ||
| Riga 96: | Riga 83: | ||
| [[Categoria:Boss {{{type2|{{{species2}}}}}}]] | | [[Categoria:Boss {{{type2|{{{species2}}}}}}]] | ||
| {{ #switch: {{{type2|{{{species2}}}}}} | | {{ #switch: {{{type2|{{{species2}}}}}} | ||
| | | Appestato = [[Categoria:Appestati]] | ||
| Asura = [[Category:Asura]] | | Asura = [[Category:Asura]] | ||
| Charr = [[Category:Charr]] | | Charr = [[Category:Charr]] | ||
| Riga 124: | Riga 111: | ||
| Umano = [[Categoria:Umani]] | | Umano = [[Categoria:Umani]] | ||
| Vermin = [[Category:Vermin]] | | Vermin = [[Category:Vermin]] | ||
| #default = [[ | | #default = [[Categoria:{{{type2|{{{species2}}}}}}]] | ||
}} | }} | ||
}} | }} | ||
Versione delle 08:27, 26 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
}}