Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
Template:WildStar/id
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Adds a link with an html id= to a wiki page, that is referable via link with an # (anchor). Optionally create complex links and ids for technical pages. See {{t|{{BASEPAGENAME}}/api}} or [[:Category:Link helper templates]] for helper templates for regular links. ;Usage :1= [text] - name for page link, text, and id. Not used in text or id, if parts 2, 3 or 4 are used :2= [text] (Optional) - second part :3= [text] (Optional) - third part :4= [text] (Optional) - fourth part :t= [member,method] (Optional) - delimiter for text and id. Only between parts 2, 3, 4. Default is member ;Example Link accessible via [[#AMP:Detonate]] (click and page will move there) <pre>{{\|id|AMP:Detonate}}</pre> {{ {{BASEPAGENAME}}/id|AMP:Detonate|ns=WildStar}} ;Options :1= Special link part names: :* API - A [[{{BASEPAGENAME}}:UI API|UI API]] api page link. Defaults to t=member (.). Omits |2= in link text if 3 or 4 parts :* API TYPE - A [[{{BASEPAGENAME}}:API types|API types]] page link. Defaults to t=method (:). Omits |2= in link text if 3 or 4 parts :* API EVENT - A [[{{BASEPAGENAME}}:API events|API events]] page link. Defaults to t=member (.). Omits del |2= in link text if 3 or 4 parts :* CVAR - A [[{{BASEPAGENAME}}:CVars|CVars]] page link. Defaults to t=member (.). :* APIT - short-hand for ''API TYPE''. Otherwise works the same and produces same links. :* APIE - short-hand for ''API EVENT''. Otherwise works the same and produces same links. ;Results samples :<nowiki>{{id|Apollo}}</nowiki> - link: Apollo, id: Apollo, text: Apollo :<nowiki>{{id|Apollo Bob}}</nowiki> - link: Apollo Bob, id: Apollo Bob, text: Apollo Bob :<nowiki>{{id|CVAR|assistAttack}}</nowiki> - link: CVAR assistAttack, id: assistAttack, text: assistAttack :<nowiki>{{id|CVAR|ui|setting}}</nowiki> - link: CVAR ui.setting, id: ui.setting, text: ui.setting :<nowiki>{{id|API|Apollo|SetAlpha}}</nowiki> - link: API Apollo SetAlpha, id: Apollo.SetAlpha, text: Apollo.SetAlpha :<nowiki>{{id|API|Apollo|SetAlpha|t=method}}</nowiki> - link: API Apollo SetAlpha, id: Apollo:SetAlpha, text: Apollo:SetAlpha :{{../id|CVAR|video|fullscreen}}(bFullscreen) :{{../id|APIE|UI_HealthChanged}}(newValue,maxCharacterHealth) :{{../id||bagId}}(newValue,maxCharacterHealth) [[Category:WildStar development templates|{{PAGENAME}}]] ---- ;Template <onlyinclude><includeonly><!-- -->{{#vardefine:sub|{{{ns|{{#var:sub}}}}}|{{NAMESPACE}}}}<!-- -->{{#vardefine:t1|{{#switch:{{{1|}}}|APIT=API TYPE|APIE=API EVENT|#default={{{1|}}}}}}}<!-- alternate names -->{{#vardefine:tDEL|{{#switch:{{#var:t1}}|API|API EVENT|CVAR=member|#default=method}}}}<!-- default delimiter -->{{#vardefine:tDEL|{{#switch:{{{t|{{#var:tDEL}}}}}|member=.|method=<nowiki>:</nowiki>}}}}<!-- delimiter override -->{{#vardefine:tLT2|{{#switch:{{#var:t1}}|API|API TYPE={{#var:tDEL}}|API EVENT=|CVAR={{{2}}}{{#var:tDEL}}|#default={{#var:tDEL}}{{{2|}}}}}}}<!-- -->{{#if:{{{4|}}}|<span id="{{{2}}}{{#var:tDEL}}{{{3}}}{{#var:tDEL}}{{{4}}}">[[{{#var:sub}}:{{#var:t1}} {{{2}}} {{{3}}} {{{4}}}|{{#var:tLT2}}{{{3}}}{{#var:tDEL}}{{{4}}}]]</span>|<!-- -->{{#if:{{{3|}}}|<span id="{{{2}}}{{#var:tDEL}}{{{3}}}">[[{{#var:sub}}:{{#var:t1}} {{{2}}} {{{3}}}|{{#var:tLT2}}{{{3}}}]]</span>|<!-- -->{{#if:{{{2|}}}|<span id="{{{2}}}">[[{{#var:sub}}:{{#var:t1}} {{{2}}}|{{{2}}}]]</span>|<!-- -->{{#if:{{{1|}}}|<span id="{{{1}}}">[[{{#var:sub}}:{{{1}}}]]</span>|}}}}}}}}<!-- --></includeonly></onlyinclude>
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)