Modèle:APIitemIcon : Différence entre versions
De EncyclopAtys
Ligne 1 : | Ligne 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}}}}}{{#if:{{{locked|}}}|&locked={{{locked}}}}}&.png</div></includeonly> |
<noinclude> | <noinclude> | ||
{{Trad | {{Trad | ||
− | |DE = Template:APIitemIcon |DEs= | + | |DE = Template:APIitemIcon |DEs= 4 |
|EN = Template:APIitemIcon |ENs= 0 | |EN = Template:APIitemIcon |ENs= 0 | ||
− | |ES = Template:APIitemIcon |ESs= | + | |ES = Template:APIitemIcon |ESs= 1 |
− | |FR = Template:APIitemIcon |FRs= | + | |FR = Template:APIitemIcon |FRs= 1 |
− | |RU = Template:APIitemIcon |RUs= | + | |RU = Template:APIitemIcon |RUs= 1 |
|H = | |H = | ||
|palette= | |palette= | ||
|ref= | |ref= | ||
− | |com= | + | |com= À revoir |
}} | }} | ||
− | == | + | ==Examples== |
− | {{APIitemIcon | + | {| |
+ | |- | ||
+ | | <syntaxhighlight lang="xml">{{APIitemIcon | ||
|sheetid=iczahp_3.sitem | |sheetid=iczahp_3.sitem | ||
|c=5 | |c=5 | ||
|q=3 | |q=3 | ||
|s=2 | |s=2 | ||
− | |sap= | + | |sap=-1 |
|destroyed=1 | |destroyed=1 | ||
+ | |label=1 | ||
+ | |locked=0 | ||
+ | }}</syntaxhighlight> || {{APIitemIcon | ||
+ | |sheetid=iczahp_3.sitem | ||
+ | |c=5 | ||
+ | |q=3 | ||
+ | |s=2 | ||
+ | |sap=-1 | ||
+ | |destroyed=1 | ||
+ | |locked=0 | ||
+ | }} | ||
+ | |- | ||
+ | | <syntaxhighlight lang="xml">{{APIitemIcon | ||
+ | |sheetid=m0021dxapd01.sitem | ||
+ | |c=0 | ||
+ | |q=125 | ||
+ | |s=48 | ||
+ | |destroyed=0 | ||
+ | |label=1 | ||
+ | |locked=0 | ||
+ | |}}</syntaxhighlight> || {{APIitemIcon | ||
+ | |sheetid=m0021dxapd01.sitem | ||
+ | |c=0 | ||
+ | |q=125 | ||
+ | |s=48 | ||
+ | |destroyed=0 | ||
+ | |label=1 | ||
+ | |locked=0 | ||
|}} | |}} | ||
+ | |- | ||
+ | | <syntaxhighlight lang="xml">{{APIitemIcon | ||
+ | |sheetid=ictm2sa.sitem | ||
+ | |c=0 | ||
+ | |q=250 | ||
+ | |s=0 | ||
+ | |sap=6 | ||
+ | |destroyed=0 | ||
+ | |locked=1 | ||
+ | |}} </syntaxhighlight> || {{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<br /> | ||
+ | Also you will find a documentaiton of the API here: | ||
+ | :this wiki: [[Ryzom API#Item icon]] page or at: | ||
+ | :<span class="plainlinks">[https://api.ryzom.com/#item-icon-api https://api.ryzom.com/#item-icon-api]</span> | ||
+ | :⛔ <nowiki>http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon </nowiki> | ||
+ | |||
==Documentation== | ==Documentation== | ||
Vous pouvez utiliser l'URL suivante pour récupérer le "sheetid" nécessaire : <span class="plainlinks">http://www.3025-game.de/special/sheetid.php</span><br /> | Vous pouvez utiliser l'URL suivante pour récupérer le "sheetid" nécessaire : <span class="plainlinks">http://www.3025-game.de/special/sheetid.php</span><br /> | ||
Ligne 27 : | Ligne 84 : | ||
::<span class="plainlinks">http://dev.ryzom.com/projects/ryzom-api/wiki/ItemIcon</span><br /> | ::<span class="plainlinks">http://dev.ryzom.com/projects/ryzom-api/wiki/ItemIcon</span><br /> | ||
::<span class="plainlinks">https://api.ryzom.com/</span> | ::<span class="plainlinks">https://api.ryzom.com/</span> | ||
− | [[Category:modèles API]] | + | [[Category:modèles API]] [[Category:Ryzom API]]</noinclude> |
− | </noinclude> |
Version du 23 juillet 2020 à 11:42
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
Documentation
Vous pouvez utiliser l'URL suivante pour récupérer le "sheetid" nécessaire : http://www.3025-game.de/special/sheetid.php
Vous trouverez également une documentation sur l'API à l'adresse suivante :