Template:WildStar/uiapi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
-->{{#vardefine:sub|{{{ns|{{ | -->{{#vardefine:sub|{{{ns|{{#var:sub}}}}}|{{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}}<!-- | ||
-->{{#vardefine:tTYPE|{{#switch:{{#sub:{{SUBPAGENAME}}|0|3}}|API=api|#default=}}}}<!-- | -->{{#vardefine:tTYPE|{{#switch:{{#sub:{{SUBPAGENAME}}|0|3}}|API=api|#default=}}}}<!-- |
Revision as of 04:42, 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