Template:NPCNote: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Uselangflags|en = true|ru = true}}
{{Uselangflags|en = true|ru = true}}
{{strings notice}}
{{strings notice}}
Shows this note:
<onlyinclude>{{Note|{{#if: {{{goldsrc|}}}
| {{NPCNote/strings|monster}}{{#if:{{{nocat|}}}||<includeonly>{{ACategory|GoldSrc NPC entities}}</includeonly>}}
| {{NPCNote/strings|NPC}}{{#if:{{{nocat|}}}||<includeonly>{{ACategory|NPC entities}}</includeonly>}}
}}}}</onlyinclude>


<onlyinclude>{{Note|{{#switch: {{{1|}}}
If the {{param|goldsrc}} parameter is present, shows this note instead:
 
{{NPCNote|goldsrc=1|nocat=1}}
| #default = {{NPCNote/strings|NPC}}
 
| goldsrc = {{NPCNote/strings|monster}}


}}}}</onlyinclude>
The page will also be added to [[:Category:NPC entities]] or [[:Category:GoldSrc NPC entities]] accordingly, unless the {{param|nocat}} parameter is present.

Latest revision as of 12:29, 5 October 2024

English (en)Русский (ru)
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Shows this note:

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

If the {{{goldsrc}}} parameter is present, shows this note instead:

Note.pngNote:Some keyvalues, spawnflags, or effect flags might not affect a monster, based on the functionality and coding of the monster.

The page will also be added to Category:NPC entities or Category:GoldSrc NPC entities accordingly, unless the {{{nocat}}} parameter is present.