Difference between revisions of "Template:APIguildIcon"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
<noinclude>
 
<noinclude>
 +
==Description==
 +
An API template that retrieves a guild's icon. 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
 +
[[Category:API templates]]
 +
 +
==Usage==
 +
<pre>
 +
{{APIguildIcon
 +
|icon=
 +
|size=
 +
}}
 +
</pre>
 +
 +
===Parameters===
 +
;icon
 +
:Non-optional. A long integer value
 +
 +
;size
 +
:Optional. Either "b" or "s"
 +
 
==Example==
 
==Example==
 +
<pre>
 
{{APIguildIcon
 
{{APIguildIcon
 
|icon=4505559206513107
 
|icon=4505559206513107
 
|size=b
 
|size=b
|}}
+
}}
 +
</pre>
  
("size" will accept: "s" or "b")
+
will output this
  
==Documentation==
+
{{APIguildIcon
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 />
+
|icon=4505559206513107
Also you will find a documentaiton of the API here: http://dev.ryzom.com/projects/ryzom-api/wiki/GuildIcon
+
|size=b
[[Category:API templates]]
+
}}
 
</noinclude>
 
</noinclude>

Revision as of 07:23, 13 June 2010


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