Difference between revisions of "Template:APIguildIcon"
From EncyclopAtys
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>https://api.ryzom.com/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly><noinclude>{{Trad |
|DE = Template:APIguildIcon |DEs= | |DE = Template:APIguildIcon |DEs= | ||
|EN = Template:APIguildIcon |ENs= 0 | |EN = Template:APIguildIcon |ENs= 0 | ||
Line 13: | Line 13: | ||
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 /> | 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: | Also you will find a documentaiton of the API here: | ||
− | :this wiki: [[Ryzom API]] page or at | + | :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> | :<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> | </nowiki> | ||
==Usage== | ==Usage== |
Latest revision as of 07:49, 9 August 2021
Contents
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