Zeile 1: | Zeile 1: | ||
− | <includeonly> | + | <includeonly>https://api.ryzom.com/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly><noinclude>{{Trad |
|DE = Template:APIguildIcon |DEs= 4 | |DE = Template:APIguildIcon |DEs= 4 | ||
|EN = Template:APIguildIcon |ENs= 0 | |EN = Template:APIguildIcon |ENs= 0 |
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:
{{APIguildIcon |icon= |size= }}
{{APIguildIcon |icon=4505559206513107 |size=b }}
will output this
("size" akzeptiert: "s" or "b")
Du kannst auf der Ryzom Armory nach einer Gilde suchen. Rechtsklicke dort auf den Gildenicon, wähle "Eigenschaften" und lies die Icon-ID aus der URL.
Ausserdem gibt es eine Dokumentation der API: http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon