Difference between revisions of "Template:APIitemIcon"

From EncyclopAtys

Jump to: navigation, search
(Documentation)
m
 
(18 intermediate revisions by the same user not shown)
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><img src="https://api.ryzom.com/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></includeonly><!-- <div>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> --><noinclude>{{Trad
 
+
|DE = Template:APIitemIcon |DEs= 4
<noinclude>
 
{{Trad
 
|DE = Template:APIitemIcon |DEs= 5
 
 
|EN = Template:APIitemIcon |ENs= 0
 
|EN = Template:APIitemIcon |ENs= 0
|ES = Template:APIitemIcon |ESs= 5
+
|ES = Template:APIitemIcon |ESs= 1
|FR = Template:APIitemIcon |FRs= 5
+
|FR = Template:APIitemIcon |FRs= 1
|RU = Template:APIitemIcon |RUs= 5
+
|RU = Template:APIitemIcon |RUs= 1
 
|H  =  
 
|H  =  
 
|palette=  
 
|palette=  
Line 13: Line 10:
 
|com=  
 
|com=  
 
}}
 
}}
==Example==
+
==Examples==
<nowiki>{{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=0
+
|sap=-1
 
|destroyed=1
 
|destroyed=1
|}}</nowiki>
+
|label=1
{{APIitemIcon
+
|locked=0
 +
}}</syntaxhighlight> || {{APIitemIcon
 
|sheetid=iczahp_3.sitem
 
|sheetid=iczahp_3.sitem
 
|c=5
 
|c=5
 
|q=3
 
|q=3
 
|s=2
 
|s=2
|sap=0
+
|sap=-1
 
|destroyed=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
 +
}}
 +
|}
 +
 
 +
Hache : {{APIitemIcon |sheetid=ictm2sa.sitem |c=0 |q=250 |s=0 |sap=6 |destroyed=0 |locked=1
 +
}}
 
==Documentation==
 
==Documentation==
You may use this URL to retrieve the needed sheetid: http://www.3025-game.de/special/sheetid.php<br />
+
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:  
 
Also you will find a documentaiton of the API here:  
:this wiki: [[Ryzom API]] page or at:
+
: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>
 
:<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>
 
:⛔ <nowiki>http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon </nowiki>
[[Category:API templates]]
+
[[Category:API templates]] [[Category:Ryzom API]]</noinclude>
</noinclude>
 

Latest revision as of 23:08, 13 April 2022

de:Template:APIitemIcon
en:Template:APIitemIcon
es:Template:APIitemIcon
fr:Template:APIitemIcon
ru:Template:APIitemIcon
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Dorothée, 2022-04-13)

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
}}

Hache :

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