Template:Framexmlfunc: Difference between revisions

m
no edit summary
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 1: Line 1:
''Place this at the top of pages describing functions defined in [[FrameXML]].''
Place this at the top of pages describing base functions defined in [[FrameXML]] folders, but not in C based Lua API.


;Usage:
;Usage
{{t|framexmlmember|FrameXML/filename.lua}}
* 1 - name of file, like 'FrameXML/filename.lua'


;Example:
;Example
: <code><nowiki>{{framexmlfunc|FrameXML/ActionButton.lua}}</nowiki></code>
<code><nowiki>{{framexmlfunc|FrameXML/ActionButton.lua}}</nowiki></code>


[[Category:Interface customization templates|{{PAGENAME}}]]
[[Category:Interface customization templates|{{PAGENAME}}]]
----
----
;Template
;Template
<onlyinclude><includeonly>{{framexml|{{{1|}}}|t={{{t|method}}}}}</includeonly>
<onlyinclude><includeonly><!--
{{#if:{{{1|}}}|:{{icon-information}}This function is implemented by [[FrameXML]] in [{{wdnlink|{{{1|}}}}} {{{1|}}}].|}}
 
</onlyinclude>
-->{{framexml|{{{1|}}}|t={{{t|method}}}|removed={{{removed|}}}|replace={{{replace|}}}|toc={{{toc|0}}}}}<!-- this should not be method
-->{{#if:{{{1|}}}|:{{icon-information}}This function is implemented in [[FrameXML|Lua]] here [{{wowtoolsfilelink|{{{1|}}}}} {{{1|}}}].|}}<!--
--></includeonly></onlyinclude>