Template:Protectedcombatapi: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
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
| 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>

Revision as of 19:54, 25 September 2013

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