Modèle:APIguildIcon : Différence entre versions

De EncyclopAtys

(Page créée avec « <includeonly>http://atys.ryzom.com/api/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly><noinclude>{{Trad |DE = Template:APIguildIcon |... »)
 
m
Ligne 6 : Ligne 6 :
 
|RU = Template:APIguildIcon |RUs=  
 
|RU = Template:APIguildIcon |RUs=  
 
|H  =  
 
|H  =  
|palette= Thème
+
|palette=  
|ref= Page
+
|ref=  
|com= Commentaire
+
|com=  
 
}}
 
}}
 
==Description==
 
==Description==

Version du 17 juillet 2020 à 14:09

de:Template:APIguildIcon
en:Template:APIguildIcon
es:Template:APIguildIcon
fr:Template:APIguildIcon
ru:Template:APIguildIcon

Description

An API template that retrieves a guild's icon. You may search the Ryzom Armory for the guild. Right click on the guild's icon there, select "properties" and retrieve the icon id from the url.
Also you will find a documentaiton of the API here: http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon


Usage

{{APIguildIcon
|icon=
|size=
}}

Parameters

icon
Non-optional. A long integer value
size
Optional. Either "b" or "s"

Example

{{APIguildIcon
|icon=4505559206513107
|size=b
}}

will output this

guild_icon.php?icon=4505559206513107&size=b&.png