Template:NPC infobox: differenze tra le versioni
Jump to navigation
Jump to search
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 65: | Riga 65: | ||
| Gaki = [[Categoria:Gaki]] | | Gaki = [[Categoria:Gaki]] | ||
| Gargolla = [[Categoria:Gargolla]] | | Gargolla = [[Categoria:Gargolla]] | ||
| Fantasma = [[Categoria:Fantasmi]] | | Fantasma = [[Categoria:Fantasmi]] | ||
| Idra = [[Categoria:Idra]] | | Idra = [[Categoria:Idra]] | ||
Riga 84: | Riga 83: | ||
| [[Categoria:Boss {{{type2|{{{species2}}}}}}]] | | [[Categoria:Boss {{{type2|{{{species2}}}}}}]] | ||
| {{ #switch: {{{type2|{{{species2}}}}}} | | {{ #switch: {{{type2|{{{species2}}}}}} | ||
| | | Asura = [[Categoria:Asura]] | ||
| Animale Incantablie = [[Categoria:Animali Incantabili]] | |||
| | | Armatura Incantata = [[Categoria:Armatura Incantate]] | ||
| | | Arma Incantata = [[Categoria:Armi Incantate]] | ||
| | | Gaki = [[Categoria:Gaki]] | ||
| Gargolla = [[Categoria:Gargolla]] | |||
| Fantasma = [[Categoria:Fantasmi]] | |||
| Idra = [[Categoria:Idra]] | |||
| Gaki = [[ | | Kappa = [[Categoria:Kappa]] | ||
| | | Naga = [[Categoria:Naga]] | ||
| | | Ogre = [[Categoria:Ogre]] | ||
| | | Tengu = [[Categoria:Tengu]] | ||
| Kappa = [[ | | Sottobosco = [[Categoria:Sottobosco]] | ||
| Verme = [[Categoria:Vermi]] | |||
| Zombi = [[Categoria:Zombi]] | |||
| Naga = [[ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| #default = [[Categoria:{{plural|{{{type2|{{{species2}}}}}}}}]] | | #default = [[Categoria:{{plural|{{{type2|{{{species2}}}}}}}}]] | ||
}} | }} | ||
Riga 119: | Riga 106: | ||
| [[Category:{{{type3|{{{species3}}}}}} bosses]] | | [[Category:{{{type3|{{{species3}}}}}} bosses]] | ||
| {{ #switch: {{{type3|{{{species3}}}}}} | | {{ #switch: {{{type3|{{{species3}}}}}} | ||
| Asura = [[Categoria:Asura]] | |||
| Asura = [[ | | Animale Incantablie = [[Categoria:Animali Incantabili]] | ||
| | | Armatura Incantata = [[Categoria:Armatura Incantate]] | ||
| | | Arma Incantata = [[Categoria:Armi Incantate]] | ||
| | | Gaki = [[Categoria:Gaki]] | ||
| Gargolla = [[Categoria:Gargolla]] | |||
| Fantasma = [[Categoria:Fantasmi]] | |||
| Idra = [[Categoria:Idra]] | |||
| Gaki = [[ | | Kappa = [[Categoria:Kappa]] | ||
| | | Naga = [[Categoria:Naga]] | ||
| | | Ogre = [[Categoria:Ogre]] | ||
| | | Tengu = [[Categoria:Tengu]] | ||
| Kappa = [[ | | Sottobosco = [[Categoria:Sottobosco]] | ||
| Verme = [[Categoria:Vermi]] | |||
| Zombi = [[Categoria:Zombi]] | |||
| Naga = [[ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| #default = [[Categoria:{{plural|{{{type3|{{{species3}}}}}}}}]] | | #default = [[Categoria:{{plural|{{{type3|{{{species3}}}}}}}}]] | ||
}} | }} | ||
Riga 153: | Riga 127: | ||
{{ #if: {{{affiliation|}}} | {{ #if: {{{affiliation|}}} | ||
| {{ #switch: {{{affiliation}}} | | {{ #switch: {{{affiliation}}} | ||
| | | Fauna pre-Devastazione = [[Categoria:Fauna di Ascalon (pre-Devastazione)]] | ||
| | | Nuovo Anno Canthiano | Dragon Festival | Halloween | Invernodì = <!-- No auto categorization for these npc types --> | ||
| #default = [[ | | #default = [[Categoria:{{{affiliation}}}]] | ||
}} | }} | ||
| [[ | | [[Categoria:PNG che necessitano impostazione affiliazione]] | ||
}} | }} | ||
{{ #if: {{{affiliation2|}}} | {{ #if: {{{affiliation2|}}} | ||
| {{ #switch: {{{affiliation2}}} | | {{ #switch: {{{affiliation2}}} | ||
| | | Fauna pre-Devastazione = [[Categoria:Fauna di Ascalon (pre-Devastazione)]] | ||
| #default = [[ | | #default = [[Categoria:{{{affiliation2}}}]] | ||
}} | }} | ||
}} | }} | ||
{{ #if: {{{affiliation3|}}} | {{ #if: {{{affiliation3|}}} | ||
| [[ | | [[Categoria:{{{affiliation3}}}]] | ||
}} | }} | ||
{{ #if: {{{service|}}} | {{ #if: {{{service|}}} | ||
| {{#switch: {{lc:{{{service}}}}} | | {{#switch: {{lc:{{{service}}}}} | ||
| | | seguace | ||
| polymock | | iscrizione al polymock = <!-- No auto categorization for these npc types --> | ||
| polymock | | avversario di polymock = [[Categoria:Avversari di Polymock]] | ||
| polymock | | giudice di polymock = [[Categoria:Giudici di Polymock]] | ||
| | | artigiano cappelli = {{#ifeq:{{{campaign|+}}}|Base||[[Categoria:Artigiani cappelli ({{{campaign|Base}}})]]}}<!-- Keep guild hall npc out of auto-cat --> | ||
| | | fabbricante degli emblemi = [[Categoria:Fabbricanti degli emblemi ({{{campaign|Base}}})]] | ||
| | | archivista delle gilde = [[Categoria:Archivisti delle Gilde ({{{campaign|Base}}})]] | ||
| | | stilista = [[Categoria:PNG servizi ({{{campaign|Base}}})]] | ||
| | | servizi sede della gilda = [[Categoria:PNG servizi ({{{campaign|Base}}})]] | ||
| [[ | | [[Categoria:{{plural|{{{service}}}}} ({{{campaign|Base}}})]] | ||
{{ #if: {{{campaign2|}}} | {{ #if: {{{campaign2|}}} | ||
| [[ | | [[Categoria:{{plural|{{{service}}}}} ({{{campaign2}}})]] | ||
{{ #if: {{{campaign3|}}} | {{ #if: {{{campaign3|}}} | ||
| [[ | | [[Categoria:{{plural|{{{service}}}}} ({{{campaign3}}})]] | ||
{{ #if: {{{campaign4|}}} | {{ #if: {{{campaign4|}}} | ||
| [[ | | [[Categoria:{{plural|{{{service}}}}} ({{{campaign4}}})]] | ||
{{ #if: {{{campaign5|}}} | {{ #if: {{{campaign5|}}} | ||
| [[ | | [[Categoria:{{plural|{{{service}}}}} ({{{campaign5}}})]] | ||
}} | }} | ||
}} | }} | ||
Riga 195: | Riga 169: | ||
}} | }} | ||
{{ #if: {{{service2|}}} | {{ #if: {{{service2|}}} | ||
| [[ | | [[Categoria:{{plural|{{{service2}}}}} ({{{campaign|Base}}})]] | ||
{{ #if: {{{campaign2|}}} | |||
| [[Categoria:{{plural|{{{service2}}}}} ({{{campaign2}}})]] | |||
{{ #if: {{{campaign3|}}} | |||
| [[Categoria:{{plural|{{{service2}}}}} ({{{campaign3}}})]] | |||
{{ #if: {{{campaign4|}}} | |||
| [[Categoria:{{plural|{{{service2}}}}} ({{{campaign4}}})]] | |||
{{ #if: {{{campaign5|}}} | |||
| [[Categoria:{{plural|{{{service2}}}}} ({{{campaign5}}})]] | |||
}} | }} | ||
}} | }} | ||
Riga 215: | Riga 189: | ||
| true | | true | ||
| y | | y | ||
| yes = [[ | | yes = [[Categoria:Creature passive]] | ||
}} | }} | ||
{{#switch: {{lc:{{{hidden|}}} }} | {{#switch: {{lc:{{{hidden|}}} }} | ||
Riga 223: | Riga 197: | ||
| true | | true | ||
| y | | y | ||
| yes = [[ | | yes = [[Categoria:Creature nascoste]] | ||
}} | }} | ||
{{#switch: {{lc:{{{no flesh|}}} }} | {{#switch: {{lc:{{{no flesh|}}} }} | ||
Riga 231: | Riga 205: | ||
| true | | true | ||
| y | | y | ||
| yes = [[ | | yes = [[Categoria:Creature non fatte di cane]] | ||
}} | }} | ||
}}}}<noinclude> | }}}}<noinclude> | ||
{{clear}} | {{clear}} | ||
== | ==Sintassi== | ||
<pre> | <pre> | ||
{{NPC infobox | {{NPC infobox |
Versione delle 14:37, 26 lug 2024
NPC infobox | |
---|---|
File:NPC infobox.jpg | |
Affiliazione | Non specificata |
Tipo | Not specified |
Livello | Not specified |
Campagna | Core |
Sintassi
{{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 }}