Difference between revisions of "Template:APIitemIcon"
From EncyclopAtys
Line 1: | Line 1: | ||
<includeonly><div <!-- style="float:left" -->>http://atys.ryzom.com/api/item_icon.php?sheetid={{{sheetid}}}{{#if:{{{c|}}}|&c={{{c}}}}}{{#if:{{{q|}}}|&q={{{q}}}}}{{#if:{{{s|}}}|&s={{{s}}}}}{{#if:{{{sap|}}}|&sap={{{sap}}}}}{{#if:{{{destroyed|}}}|&destroyed={{{destroyed}}}}}{{#if:{{{label|}}}|&label={{{label}}}}}{{#if:{{{locked|}}}|&locked={{{locked}}}}}&.png</div></includeonly> | <includeonly><div <!-- style="float:left" -->>http://atys.ryzom.com/api/item_icon.php?sheetid={{{sheetid}}}{{#if:{{{c|}}}|&c={{{c}}}}}{{#if:{{{q|}}}|&q={{{q}}}}}{{#if:{{{s|}}}|&s={{{s}}}}}{{#if:{{{sap|}}}|&sap={{{sap}}}}}{{#if:{{{destroyed|}}}|&destroyed={{{destroyed}}}}}{{#if:{{{label|}}}|&label={{{label}}}}}{{#if:{{{locked|}}}|&locked={{{locked}}}}}&.png</div></includeonly> | ||
− | |||
<noinclude> | <noinclude> | ||
{{Trad | {{Trad | ||
Line 43: | Line 42: | ||
|label=1 | |label=1 | ||
|locked=0 | |locked=0 | ||
− | + | }}</syntaxhighlight> || {{APIitemIcon | |
|sheetid=m0021dxapd01.sitem | |sheetid=m0021dxapd01.sitem | ||
|c=0 | |c=0 | ||
Line 51: | Line 50: | ||
|label=1 | |label=1 | ||
|locked=0 | |locked=0 | ||
− | + | }} | |
|- | |- | ||
| <syntaxhighlight lang="xml">{{APIitemIcon | | <syntaxhighlight lang="xml">{{APIitemIcon | ||
Line 61: | Line 60: | ||
|destroyed=0 | |destroyed=0 | ||
|locked=1 | |locked=1 | ||
− | + | }} </syntaxhighlight> || {{APIitemIcon | |
|sheetid=ictm2sa.sitem | |sheetid=ictm2sa.sitem | ||
|c=0 | |c=0 | ||
Line 69: | Line 68: | ||
|destroyed=0 | |destroyed=0 | ||
|locked=1 | |locked=1 | ||
− | + | }} | |
|} | |} | ||
Revision as of 07:05, 23 June 2021
Examples
{{APIitemIcon
|sheetid=iczahp_3.sitem
|c=5
|q=3
|s=2
|sap=-1
|destroyed=1
|label=1
|locked=0
}}
|
|
{{APIitemIcon
|sheetid=m0021dxapd01.sitem
|c=0
|q=125
|s=48
|destroyed=0
|label=1
|locked=0
}}
|
|
{{APIitemIcon
|sheetid=ictm2sa.sitem
|c=0
|q=250
|s=0
|sap=6
|destroyed=0
|locked=1
}}
|
Documentation
You may use this URL to retrieve the needed sheetid: https://github.com/nimetu/ryzom_extra
Also you will find a documentaiton of the API here:
- this wiki: Ryzom API#Item icon page or at:
- https://api.ryzom.com/#item-icon-api
- ⛔ http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon