Modèle:APIguildIcon : Différence entre versions
De EncyclopAtys
m |
|||
Ligne 1 : | Ligne 1 : | ||
<includeonly>http://atys.ryzom.com/api/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly><noinclude>{{Trad | <includeonly>http://atys.ryzom.com/api/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly><noinclude>{{Trad | ||
− | |DE = Template:APIguildIcon |DEs= | + | |DE = Template:APIguildIcon |DEs= 4 |
|EN = Template:APIguildIcon |ENs= 0 | |EN = Template:APIguildIcon |ENs= 0 | ||
− | |ES = Template:APIguildIcon |ESs= | + | |ES = Template:APIguildIcon |ESs= 1 |
− | |FR = Template:APIguildIcon |FRs= | + | |FR = Template:APIguildIcon |FRs= 1 |
− | |RU = Template:APIguildIcon |RUs= | + | |RU = Template:APIguildIcon |RUs= 1 |
|H = | |H = | ||
|palette= | |palette= | ||
Ligne 11 : | Ligne 11 : | ||
}} | }} | ||
==Description== | ==Description== | ||
− | An API template that retrieves a guild's icon. You may search the [ | + | An API template that retrieves a guild's icon. You may search the <span class="plainlinks">[https://www.ryzomarmory.com/ https://www.ryzomarmory.com/]</span> for the guild. Right click on the guild's icon there, select "properties" and retrieve the icon id from the url.<br /> |
− | Also you will find a documentaiton of the API here: http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon | + | Also you will find a documentaiton of the API here: |
− | + | :this wiki: [[Ryzom API]] page or at: | |
− | + | :<span class="plainlinks">[https://api.ryzom.com/#guild-icon-api https://api.ryzom.com/#guild-icon-api]</span> | |
+ | :⛔ <nowiki>http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon | ||
+ | </nowiki> | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Ligne 47 : | Ligne 49 : | ||
[[Category:API templates]]</noinclude> | [[Category:API templates]]</noinclude> | ||
+ | |||
+ | |||
+ | [[Category:Modèles]] [[Category:Ryzom API|APIguildIcon]]</noinclude> |
Version du 23 juillet 2020 à 11:55
Sommaire
Description
An API template that retrieves a guild's icon. You may search the https://www.ryzomarmory.com/ 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:
- this wiki: Ryzom API page or at:
- https://api.ryzom.com/#guild-icon-api
- ⛔ 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