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:WoW/reslink
(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!
Used to link straight to WoW client resource files. See also [[Template:wowtoolsfilelink]], [[Template:wdnlink]] and [[Template:Tlylink]]. ;Examples * <nowiki>{{WoW/reslink|AddOns/Blizzard_CombatLog/Blizzard_CombatLog.lua|Masks & Strings}}</nowiki> - {{WoW/reslink|AddOns/Blizzard_CombatLog/Blizzard_CombatLog.lua|Masks & Strings}} * <nowiki>{{WoW/reslink|FrameXML/Fonts.xml}}</nowiki> - {{WoW/reslink|FrameXML/Fonts.xml}} * <nowiki>{{WoW/reslink|FrameXML/Fonts.xml}}</nowiki> - {{WoW/reslink|FrameXML/Fonts.xml}} * <nowiki>{{WoW/reslink|FrameXML/Fonts.xml}}</nowiki> - {{WoW/reslink|FrameXML/Fonts.xml}} * <nowiki>{{WoW/reslink|Fonts.xml}}</nowiki> - {{WoW/reslink|Fonts.xml}} * <nowiki>{{WoW/reslink|/Fonts.xml}}</nowiki> - {{WoW/reslink|/Fonts.xml}} [[Category:Interface customization templates|{{PAGENAME}}]] ---- ;Template <onlyinclude><includeonly><!-- ({{#if:{{{build|}}}|{{#ifeq:{{lc:{{{build|}}}}}|beta|beta|build {{{build|}}}}}|live}}{{#if:{{{comment|}}}|<nowiki>;</nowiki> {{{comment|}}}}}) get path - some/part/name.lua -->{{#vardefine:trPATH|{{#replace:{{#replace:{{{1|}}}|\|/}}|//|/}}}}<!-- forward and single only -->{{#vardefine:trROOTED|{{#ifeq:{{#pos:{{#var:trPATH}}|/}}|0|1<!-- remember -->{{#vardefine:trPATH|{{#sub:{{#var:trPATH}}|1}}}}}}}}<!-- clip first char get first folder - some, set path - part/name.lua -->{{#vardefine:trSPATH|{{#if:{{#pos:{{#var:trPATH}}|/}}|{{#explode:{{#var:trPATH}}|/|0|2}}}}}}<!-- get left most folder -->{{#if:{{#var:trSPATH}}|<!-- have path parts besides name -->{{#vardefine:trPATH|{{#explode:{{#var:trPATH}}|/|1|2}}}}<!-- get right most folders -->{{#vardefine:trSPATH|{{#var:trSPATH}}/}}<!-- add separator back here, simplify rest -->|{{#if:{{#var:trROOTED}}||{{#vardefine:trSPATH|FrameXML/}}}}<!-- default to FrameXML if no path parts, unless rooted -->}}<!-- get name, if FrameXML folder, use short path as name unless overridden -->{{#vardefine:trFXML|{{#ifeq:{{lc:{{#var:trSPATH}}}}|framexml/|1|0}}}}<!-- base is FrameXML -->{{#vardefine:trNAME|{{#ifeq:{{{2|}}}||<!-- -->{{#ifeq:{{#var:trFXML}}|1||{{#var:trSPATH}}}}{{#var:trPATH}}<!-- -->|{{{2|}}}}}}}<!-- --><span title="wow.tools">[{{wowtoolsfilelink|{{#var:trSPATH}}{{#var:trPATH}}}} {{#var:trNAME}}]</span><!-- -->{{#ifeq:{{#var:trFXML}}|1<!-- if in FrameXML folder also use TLY -->|<sup class="suplink" title="townlong-yak.com"> <nowiki>[</nowiki>[{{tlylink|{{#var:trPATH}}}} tly]<nowiki>]</nowiki></sup>}}<!-- trSPATH({{#var:trSPATH}}) trPATH({{#var:trPATH}}) trNAME({{#var:trNAME}}) --></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)