Difference between revisions of "Template:APIitemIcon"
From EncyclopAtys
(→Documentation) |
(add label parameter) |
||
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}}}}}&.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}}}}}&.png</div></includeonly> |
<noinclude> | <noinclude> | ||
Line 21: | Line 21: | ||
|sap=0 | |sap=0 | ||
|destroyed=1 | |destroyed=1 | ||
+ | |label=1 | ||
|}}</nowiki> | |}}</nowiki> | ||
{{APIitemIcon | {{APIitemIcon | ||
Line 29: | Line 30: | ||
|sap=0 | |sap=0 | ||
|destroyed=1 | |destroyed=1 | ||
+ | |label=1 | ||
|}} | |}} | ||
==Documentation== | ==Documentation== |
Revision as of 09:32, 23 July 2020
Example
{{APIitemIcon |sheetid=iczahp_3.sitem |c=5 |q=3 |s=2 |sap=0 |destroyed=1 |label=1 |}}
Documentation
You may use this URL to retrieve the needed sheetid: http://www.3025-game.de/special/sheetid.php
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