Template:Protectedcombatapi: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
''Should be added to the TOP of protected-in-combat API pages. See also {{t|protectedapi}} and {{t|protectedhwapi}}.'' | |||
;Usage: | |||
:{{t|protectedcombatapi|version#|extra info or leave blank}} | |||
[[Category:Interface customization templates|{{PAGENAME}}]] | |||
---- | |||
;Template | |||
<onlyinclude>{{Ambox<!-- | |||
| style = margin-right: 10em--> | |||
| border = blue | |||
| image = [[Image:Icon-addon-48x48.png]] | |||
| type = '''This function is [[:Category:World_of_Warcraft_API/Protected_Functions|protected]], and cannot be called from [[secure code|insecure code]] while in [[API_InCombatLockdown|in combat]].''' | |||
| info ={{#if:{{{1|}}}| | |||
* It has been protected since patch {{{1}}}.}} | |||
{{#if:{{{extra|{{{2|}}}}}}| | |||
* {{{extra|{{{2}}}}}}}} | |||
}}<includeonly>[[Category:World of Warcraft API/Protected Functions]]</includeonly></onlyinclude> |
Latest revision as of 07:38, 12 February 2021
Should be added to the TOP of protected-in-combat API pages. See also {{protectedapi}} and {{protectedhwapi}}.
- Usage
- {{protectedcombatapi|<version#>|<extra info or leave blank>}}
- Template
This function is protected, and cannot be called from insecure code while in in combat.
|