Difference between revisions of "Template:GuildGeneralInfo"

From EncyclopAtys

Jump to: navigation, search
Line 4: Line 4:
 
}} | [[File:{{{image}}}]]}}}} {{#if: {{{server|}}} |* '''Server:''' [[Servers#{{{server}}}|{{{server}}}]]}} {{#if: {{{land|}}} |* '''Homeland:''' {{{land}}}}} {{#if: {{{GH|}}} |* '''Guild Hall:''' {{{GH}}}}}  
 
}} | [[File:{{{image}}}]]}}}} {{#if: {{{server|}}} |* '''Server:''' [[Servers#{{{server}}}|{{{server}}}]]}} {{#if: {{{land|}}} |* '''Homeland:''' {{{land}}}}} {{#if: {{{GH|}}} |* '''Guild Hall:''' {{{GH}}}}}  
 
*'''Alignment:'''
 
*'''Alignment:'''
**'''Faction:''' {{ #switch: {{ lc: {{{FactionAlignment|}}} }} | kami | karavan =  [[Alignment#{{{FactionAlignment}}}|{{{FactionAlignment}}}]] | neut | neutral = [[Alignment#Neutral|Neutral]] | kara = [[Alignment#Karavan|Karavan]] |#default = {{{FactionAlignment}}} }}
+
**'''Faction:''' {{ #switch: {{ lc: {{{FactionAlignment|}}} }}  
**'''Racial:''' {{ #switch: {{ lc: {{{RacialAlignment|}}} }} | matis | fyros | tryker = [[Alignment#{{{RacialAlignment}}}|{{{RacialAlignment}}}]] | zoraï | zorai = [[Alignment#Zoraï|Zoraï]] | neut | neutral = [[Alignment#Neutral_2|Neutral]] | #default = {{{RacialAlignment}}} }} {{#if: {{{AllowedRaces|}}} |* '''Races Allowed:''' {{{AllowedRaces}}}}} {{#if: {{{pvpStance|}}} |* '''PvP Stance:''' {{{pvpStance}}}}} {{#if: {{{rpStance|}}} |* '''RP Stance:''' {{{rpStance}}}}} {{#if: {{{website|}}} |* '''Website:''' [{{{website}}} {{PAGENAME}} website]}}{{#if: {{{useapi|}}} |
+
| kami | karavan =  [[Alignment#{{{FactionAlignment}}}|{{{FactionAlignment}}}]]  
 +
| neut | neutral = [[Alignment#Neutral|Neutral]]  
 +
| kara = [[Alignment#Karavan|Karavan]]  
 +
|#default = {{{FactionAlignment}}} }}
 +
**'''Racial:''' {{ #switch: {{ lc: {{{RacialAlignment|}}} }}  
 +
| matis | fyros | tryker = [[Alignment#{{{RacialAlignment}}}|{{{RacialAlignment}}}]]  
 +
| zoraï | zorai = [[Alignment#Zoraï|Zoraï]]  
 +
| neut | neutral = [[Alignment#Neutral_2|Neutral]]  
 +
| #default = {{{RacialAlignment}}} }} {{#if: {{{AllowedRaces|}}} |* '''Races Allowed:''' {{{AllowedRaces}}}}} {{#if: {{{pvpStance|}}} |* '''PvP Stance:''' {{{pvpStance}}}}} {{#if: {{{rpStance|}}} |* '''RP Stance:''' {{{rpStance}}}}} {{#if: {{{website|}}} |* '''Website:''' [{{{website}}} {{PAGENAME}} website]}}{{#if: {{{useapi|}}} |
 
* '''Ryzom Armory:''' [http://www.3025-game.de/ryzom/en/guild/{{{server}}}/{{urlencode:{{PAGENAME}}}}/profile/ Armory profile]}}</includeonly><!--
 
* '''Ryzom Armory:''' [http://www.3025-game.de/ryzom/en/guild/{{{server}}}/{{urlencode:{{PAGENAME}}}}/profile/ Armory profile]}}</includeonly><!--
  
 
--><noinclude>
 
--><noinclude>
 +
==Description==
 +
Displays a guild's general information in a formatted list form.
 +
 +
==Usage==
 
<pre>
 
<pre>
 
{{GuildGeneralInfo
 
{{GuildGeneralInfo
Line 24: Line 36:
 
|}}
 
|}}
 
</pre>
 
</pre>
 +
 +
===Parameters===
 +
;image
 +
:Optional. Although this parameter is optional, it is a good idea to include it. <code>image</code> takes a long integer value, easiest way to retrieve this value is through loading [http://www.finalonline.co.uk/sites/ryranger3/ari/guildsari.php Ryzom Tracker], right clicking on the respective icon, selecting "Copy Image Location" (or whichever similar function may be applicable to your browser), pasting the URL somewhere and copy/pasting the value of <code>icon</code>.
 +
 +
;useapi
 +
:Optional. Binary parameter, if true creates a link to the guild's Armory page. If false, does nothing.
 +
 +
;server
 +
:Optional. Name of the shard the guild is located on. '''NOTE:''' If <code>useapi</code> has a value of true this parameter is '''non-optional'''
 +
 +
;land
 +
:Optional. The homeland of the guild, either the land the guild was founded in, its current territory matching its racial alignment.
 +
 +
;GH
 +
:Optional. The location of the guild's guild hall. Can either just be city (eg. <code>GH=Yrkanis</code>) or include district (eg. <code>GH=Yasson Ward, Yrkanis</code>)
 +
 +
;FactionAlignment
 +
:Non-optional. The guild's factional alignment. Can be a custom value or a predefined value:
 +
:* <code>kami</code> - Kami
 +
:* <code>karavan</code> or <code>kara</code> – Karavan
 +
:* <code>neut</code> or <code>neutral</code> – Neutral
 +
 +
;RacialAlignment
 +
:Non-optional. The guild's racial alignment. Can be a custom value or a predefined value:
 +
:* <code>matis</code> - Matis
 +
:* <code>tryker</code> - Tryker
 +
:* <code>zorai</code> or <code>zoraï</code> – Zoraï
 +
:* <code>fyros</code> - Fyros
 +
:* <code>neut</code> or <code>neutral</code> – Neutral
 +
 +
;AllowedRaces
 +
:Optional. Specifies whether the guild has any preferences concerning the races it accepts.
 +
 +
;pvpStance
 +
:Optional. The guild's stance towards [[PvP]].
 +
 +
;rpStance
 +
:Optional. The guild's stance towards Roleplay.
 +
 +
;Website
 +
:Optional. A link to the guild's website.
 +
 +
==Example==
 +
<pre>
 +
{{GuildGeneralInfo
 +
|image=576460752303421533
 +
|useapi=true
 +
|server=Arispotle
 +
|land=[[Aeden Aqueous]]
 +
|GH=Windy Head, [[Fairhaven]]
 +
|FactionAlignment=Karavan
 +
|RacialAlignment=Tryker
 +
|AllowedRaces=All
 +
|pvpStance=
 +
|rpStance=Semi
 +
|website=http://www.ancor.ch/atysghosts/
 +
}}
 +
</pre>
 +
 +
would output
  
 
{{GuildGeneralInfo
 
{{GuildGeneralInfo
Line 37: Line 110:
 
|rpStance=Semi
 
|rpStance=Semi
 
|website=http://www.ancor.ch/atysghosts/
 
|website=http://www.ancor.ch/atysghosts/
|}}
+
}}
  
 
== See Also==
 
== See Also==

Revision as of 08:33, 13 June 2010

Description

Displays a guild's general information in a formatted list form.

Usage

{{GuildGeneralInfo
|image=
|useapi=
|server=
|land=
|GH=
|FactionAlignment=
|RacialAlignment=
|AllowedRaces=
|pvpStance=
|rpStance=
|website=
|}}

Parameters

image
Optional. Although this parameter is optional, it is a good idea to include it. image takes a long integer value, easiest way to retrieve this value is through loading Ryzom Tracker, right clicking on the respective icon, selecting "Copy Image Location" (or whichever similar function may be applicable to your browser), pasting the URL somewhere and copy/pasting the value of icon.
useapi
Optional. Binary parameter, if true creates a link to the guild's Armory page. If false, does nothing.
server
Optional. Name of the shard the guild is located on. NOTE: If useapi has a value of true this parameter is non-optional
land
Optional. The homeland of the guild, either the land the guild was founded in, its current territory matching its racial alignment.
GH
Optional. The location of the guild's guild hall. Can either just be city (eg. GH=Yrkanis) or include district (eg. GH=Yasson Ward, Yrkanis)
FactionAlignment
Non-optional. The guild's factional alignment. Can be a custom value or a predefined value:
  • kami - Kami
  • karavan or kara – Karavan
  • neut or neutral – Neutral
RacialAlignment
Non-optional. The guild's racial alignment. Can be a custom value or a predefined value:
  • matis - Matis
  • tryker - Tryker
  • zorai or zoraï – Zoraï
  • fyros - Fyros
  • neut or neutral – Neutral
AllowedRaces
Optional. Specifies whether the guild has any preferences concerning the races it accepts.
pvpStance
Optional. The guild's stance towards PvP.
rpStance
Optional. The guild's stance towards Roleplay.
Website
Optional. A link to the guild's website.

Example

{{GuildGeneralInfo
|image=576460752303421533
|useapi=true
|server=Arispotle
|land=[[Aeden Aqueous]]
|GH=Windy Head, [[Fairhaven]]
|FactionAlignment=Karavan
|RacialAlignment=Tryker
|AllowedRaces=All
|pvpStance=
|rpStance=Semi
|website=http://www.ancor.ch/atysghosts/
}}

would output

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

See Also