Difference between revisions of "Template:NPC Data/Doc"
m (1 revision) |
m (→Parameters: Fixing links, replaced: UESPWiki → ArcenWiki) |
||
Line 9: | Line 9: | ||
|1|required|The name of the NPC to display. | |1|required|The name of the NPC to display. | ||
|ns|optional|Namespace in which the NPC is defined. | |ns|optional|Namespace in which the NPC is defined. | ||
− | |skipFaction|optional|Set to a non-blank value to miss out the faction information in the data row. This parameter may also be <code>#inherit</code>ed from the parent page. See [[ | + | |skipFaction|optional|Set to a non-blank value to miss out the faction information in the data row. This parameter may also be <code>#inherit</code>ed from the parent page. See [[ArcenWiki:MetaTemplate#.23inherit|this page]] for details. |
|leader|optional|Set to a non-blank value to bold the entire row for faction leaders. | |leader|optional|Set to a non-blank value to bold the entire row for faction leaders. | ||
}} | }} |
Latest revision as of 18:48, 31 January 2015
Contents |
Summary
Displays a row of information about an NPC.
It loads the information from the NPC's page, which should be created using either the
or
template.
Parameters
NPC Data | ||
---|---|---|
Parameter | Scope | Description
{{#splitargs:Parameters/Line|3}} |
Examples
{{NPC Data|Aaran Dralas|ns=Tes3Mod:Tamriel Rebuilt}} || You can add notes like this {{NPC Data|Elammu Andrani|ns=Tes3Mod:Tamriel Rebuilt}} ||
Name |
Gender |
Race |
Class |
Faction |
Level |
Health |
Magicka |
Alarm |
Fight |
Notes <cleanspace> {{#define:ns|case=any}} {{#local:namesp|Template:NS FULL:Tes3Mod:Tamriel Rebuilt}} {{#local:namespp|Template:NS PARENT:Tes3Mod:Tamriel Rebuilt}} {{#inherit:skipFaction|case=any}} {{#define:skipFaction||case=any}} {{#local:pagename|{{{namesp}}}Aaran Dralas}} {{#load:|titlename|race|class|gender|level|health|magicka|alarm|fight|faction|factionRank|altname|loc|pageexists}} {{#local:classname|{{#trimlinks:}}}}</cleanspace> |
---|---|---|---|---|---|---|---|---|---|---|
<cleanspace>
|
0|1}} }} | [[{{{namesp}}}|{{{race}}}]]|[[{{{namespp}}}:|{{{race}}}]]}} | [[{{{namesp}}}|{{{class}}}]]|[[{{{namespp}}}:|{{{class}}}]]}} | You can add notes like this
<cleanspace> {{#define:ns|case=any}} {{#local:namesp|Template:NS FULL:Tes3Mod:Tamriel Rebuilt}} {{#local:namespp|Template:NS PARENT:Tes3Mod:Tamriel Rebuilt}} {{#inherit:skipFaction|case=any}} {{#define:skipFaction||case=any}} {{#local:pagename|{{{namesp}}}Elammu Andrani}} {{#load:|titlename|race|class|gender|level|health|magicka|alarm|fight|faction|factionRank|altname|loc|pageexists}} {{#local:classname|{{#trimlinks:}}}}</cleanspace> | ||||||
<cleanspace>
|
0|1}} }} | [[{{{namesp}}}|{{{race}}}]]|[[{{{namespp}}}:|{{{race}}}]]}} | [[{{{namesp}}}|{{{class}}}]]|[[{{{namespp}}}:|{{{class}}}]]}} |
{{NPC Data|Aaran Dralas|ns=Tes3Mod:Tamriel Rebuilt|skipFaction=1}} || You can add notes like this {{NPC Data|Elammu Andrani|ns=Tes3Mod:Tamriel Rebuilt|skipFaction=1}} ||
Name |
Gender |
Race |
Class |
Level |
Health |
Magicka |
Alarm |
Fight |
Notes <cleanspace> {{#define:ns|case=any}} {{#local:namesp|Template:NS FULL:Tes3Mod:Tamriel Rebuilt}} {{#local:namespp|Template:NS PARENT:Tes3Mod:Tamriel Rebuilt}} {{#inherit:skipFaction|case=any}} {{#define:skipFaction|1|case=any}} {{#local:pagename|{{{namesp}}}Aaran Dralas}} {{#load:|titlename|race|class|gender|level|health|magicka|alarm|fight|faction|factionRank|altname|loc|pageexists}} {{#local:classname|{{#trimlinks:}}}}</cleanspace> |
---|---|---|---|---|---|---|---|---|---|
<cleanspace>
|
0|1}} }} | [[{{{namesp}}}|{{{race}}}]]|[[{{{namespp}}}:|{{{race}}}]]}} | [[{{{namesp}}}|{{{class}}}]]|[[{{{namespp}}}:|{{{class}}}]]}} | You can add notes like this
<cleanspace> {{#define:ns|case=any}} {{#local:namesp|Template:NS FULL:Tes3Mod:Tamriel Rebuilt}} {{#local:namespp|Template:NS PARENT:Tes3Mod:Tamriel Rebuilt}} {{#inherit:skipFaction|case=any}} {{#define:skipFaction|1|case=any}} {{#local:pagename|{{{namesp}}}Elammu Andrani}} {{#load:|titlename|race|class|gender|level|health|magicka|alarm|fight|faction|factionRank|altname|loc|pageexists}} {{#local:classname|{{#trimlinks:}}}}</cleanspace> | |||||
<cleanspace>
|
0|1}} }} | [[{{{namesp}}}|{{{race}}}]]|[[{{{namespp}}}:|{{{race}}}]]}} | [[{{{namesp}}}|{{{class}}}]]|[[{{{namespp}}}:|{{{class}}}]]}} |