Template:Widgetmethod: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
mNo edit summary
 
Line 2: Line 2:


;Usage
;Usage
<nowiki>{{widgetmethod}}</nowiki>
* removed - patch number removed in. See also [[Template:WoW/removedapi]]
* replace - text explaining what to use if removed, replaced or deprecated.
* toc - [0,1] - Force TOC enabled or disabled. Default depends on type.


[[Category:Interface customization templates|{{PAGENAME}}]]   
[[Category:Interface customization templates|{{PAGENAME}}]]   
----
----
;Template
;Template
<onlyinclude>{{widget|t=method}}</onlyinclude>
<onlyinclude><includeonly><!--
 
-->{{widget|t=method|removed={{{removed|}}}|replace={{{replace|}}}|toc={{{toc|}}}}}<!--
 
--></includeonly></onlyinclude>

Latest revision as of 00:51, 13 February 2021

Use this at the top of all widget method pages, such as API Font GetFont. Any pages with this template will be added to Category:Widget methods. See Widget API. See also Template:Widget.

Usage
  • removed - patch number removed in. See also Template:WoW/removedapi
  • replace - text explaining what to use if removed, replaced or deprecated.
  • toc - [0,1] - Force TOC enabled or disabled. Default depends on type.

Template