Difference between revisions of "Template:APIguildIcon"

From EncyclopAtys

Jump to: navigation, search
m
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>http://atys.ryzom.com/api/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly>
+
<includeonly>https://api.ryzom.com/guild_icon.php?icon={{{icon}}}{{#if:{{{size|}}}|&size={{{size}}}}}&.png</includeonly><noinclude>{{Trad
 +
|DE = Template:APIguildIcon |DEs=
 +
|EN = Template:APIguildIcon |ENs= 0
 +
|ES = Template:APIguildIcon |ESs=
 +
|FR = Template:APIguildIcon |FRs=
 +
|RU = Template:APIguildIcon |RUs=
 +
|H  =
 +
|palette=
 +
|ref=
 +
|com=
 +
}}
 +
==Description==
 +
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:
 +
: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==
 +
<pre>
 +
{{APIguildIcon
 +
|icon=
 +
|size=
 +
}}
 +
</pre>
 +
 
 +
===Parameters===
 +
;icon
 +
:Non-optional. A long integer value
 +
 
 +
;size
 +
:Optional. Either "b" or "s"
  
<noinclude>
 
 
==Example==
 
==Example==
 +
<pre>
 +
{{APIguildIcon
 +
|icon=4505559206513107
 +
|size=b
 +
}}
 +
</pre>
 +
 +
will output this
 +
 
{{APIguildIcon
 
{{APIguildIcon
 
|icon=4505559206513107
 
|icon=4505559206513107
 
|size=b
 
|size=b
|}}
+
}}
  
("size" will accept: "s" or "b")
 
  
==Documentation==
+
[[Category:API templates]]</noinclude>
You may search the [http://www.3025-game.de/ryzom/ Ryzom Armory] 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
 
</noinclude>
 

Latest revision as of 08:49, 9 August 2021

de:Template:APIguildIcon
en:Template:APIguildIcon
es:Template:APIguildIcon
fr:Template:APIguildIcon
ru:Template:APIguildIcon
 
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, 2021-08-09)

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

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