Template:WildStar/uiapi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ {{PAGENAME}}|ns={{BASEPAGENAME}}}} | |||
Use this at the top of all global UI Lua API pages. See [[{{BASEPAGENAME}}/UI API|UI API]]. Any pages with this template will be added to [[:Category:WildStar UI API]]. | Use this at the top of all global UI Lua API pages. See [[{{BASEPAGENAME}}/UI API|UI API]]. Any pages with this template will be added to [[:Category:WildStar UI API]]. | ||
Line 16: | Line 17: | ||
---- | ---- | ||
;Template | ;Template | ||
<onlyinclude><!-- | <onlyinclude><includeonly><!-- | ||
-->{{#vardefine:sub| | -->{{#vardefine:sub|{{{ns|{{NAMESPACE}}}}}}}<!-- | ||
--><div style="float:right; margin-left:1em; margin-bottom:1em;">{{ {{#var:sub}}/devnav }}<!-- | --><div style="float:right; margin-left:1em; margin-bottom:1em;">{{ {{#var:sub}}/devnav }}<!-- | ||
Line 37: | Line 38: | ||
--><div style="margin:0 .5em 0 1em;"><small>→ [[:Category:{{#var:sub}} {{#var:tCAT}}|{{#var:tCAT}}]]</small></div><!-- | --><div style="margin:0 .5em 0 1em;"><small>→ [[:Category:{{#var:sub}} {{#var:tCAT}}|{{#var:tCAT}}]]</small></div><!-- | ||
--></div>{{#ifeq:{{{toc|}}}|0|__NOTOC__|{{#ifeq:{{{tocright|}} }|0||<span class="ws-compact" style="font-size:.93em;{{#var:tTF}}">{{tocright}}</span>}}}}<!-- | --></div>{{#ifeq:{{{toc|}}}|0|__NOTOC__|{{#ifeq:{{{tocright|}} }|0||<span class="ws-compact" style="font-size:.93em;{{#var:tTF}}">{{tocright}}</span>}}}}<!-- | ||
-->{{#ifeq:{{SUBPAGENAME}}|{{#var:tTOP}}||<!-- if is a top list page, nada | -->{{#ifeq:{{SUBPAGENAME}}|{{#var:tTOP}}||<!-- if is a top list page, nada | ||
Line 49: | Line 50: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></onlyinclude> | |||
-->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:sub}} {{#var:tCAT}}]]}}<!-- | |||
--></includeonly></onlyinclude> |
Revision as of 03:43, 9 August 2023
← UI API
Use this at the top of all global UI Lua API pages. See UI API. Any pages with this template will be added to Category:WildStar UI API.
- Usage
- t= [member,method,type] (Optional) - Default is 'member'.
- member - page is an API member, like 'table member' as 'table.member'.
- method - page is an API method, like 'table member' as 'table:member'.
- name= [text] (Optional) - Override the generated identifier name, useful for names with underscores.
- Examples
'API AuctionFrameAuction duration' displays link as 'AuctionFrameAuction:duration'
{{--|uiapi|t=method}}
'API AuctionFrameAuction duration' displays link as 'AuctionFrameAuction.duration'
{{{--|uiapi|t=member}}
- Template