Template:Protectedapi: 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-always API pages. See also {{t|protectedcombatapi}} and {{t|protectedhwapi}}.''


Usage:
:{{t|protectedapi|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 can only be called from [[secure code|Blizzard code]].'''
| 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:53, 25 September 2013

Should be added to the TOP of protected-always API pages. See also {{protectedcombatapi}} and {{protectedhwapi}}.

Usage:

{{protectedapi|<version#>|<extra info or leave blank>}}

Template