Difference between revisions of "Template:GuildGeneralInfo"
From EncyclopAtys
CeNobiteElf (talk | contribs) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{image|}}} | {{# | + | <includeonly>{{#if: {{{image|}}} | {{#ifeq: {{{useImgFile}}} | true | [[File:{{{image}}}]] | {{APIguildIcon |
|icon={{{image}}} | |icon={{{image}}} | ||
|size=b | |size=b | ||
− | }} | + | }}}}}}{{#if: {{{server|}}} |* '''Server:''' [[Servers#{{{server}}}|{{{server}}}]]}} {{#if: {{{land|}}} |* '''Homeland:''' {{{land}}}}} {{#if: {{{GH|}}} |* '''Guild Hall:''' {{{GH}}}}} |
*'''Alignment:''' | *'''Alignment:''' | ||
**'''Faction:''' {{ #switch: {{ lc: {{{FactionAlignment|}}} }} | **'''Faction:''' {{ #switch: {{ lc: {{{FactionAlignment|}}} }} | ||
Line 14: | Line 14: | ||
| neut | neutral = [[Alignment#Neutral_2|Neutral]] | | 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|}}} | | | #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:''' [ | + | * '''Ryzom Armory:''' [https://www.ryzomarmory.com/guild/{{urlencode:{{PAGENAME}}|PATH}}/profile Armory profile]}}</includeonly><!-- |
--><noinclude> | --><noinclude> | ||
Line 24: | Line 24: | ||
{{GuildGeneralInfo | {{GuildGeneralInfo | ||
|image= | |image= | ||
+ | |useImgFile= | ||
|useapi= | |useapi= | ||
|server= | |server= | ||
Line 40: | Line 41: | ||
;image | ;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>. | :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>. | ||
+ | |||
+ | ;useImgFile | ||
+ | :Optional. Binary parameter, if true uses an image from the central repository for a guild icon. | ||
;useapi | ;useapi | ||
Line 83: | Line 87: | ||
{{GuildGeneralInfo | {{GuildGeneralInfo | ||
|image=576460752303421533 | |image=576460752303421533 | ||
+ | |useImgFile=false | ||
|useapi=true | |useapi=true | ||
|server=Arispotle | |server=Arispotle | ||
Line 100: | Line 105: | ||
{{GuildGeneralInfo | {{GuildGeneralInfo | ||
|image=576460752303421533 | |image=576460752303421533 | ||
+ | |useImgFile=false | ||
|useapi=true | |useapi=true | ||
|server=Arispotle | |server=Arispotle |
Latest revision as of 17:09, 22 November 2018
Description
Displays a guild's general information in a formatted list form.
Usage
{{GuildGeneralInfo |image= |useImgFile= |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 oficon
.
- useImgFile
- Optional. Binary parameter, if true uses an image from the central repository for a guild 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
orkara
– Karavan -
neut
orneutral
– Neutral
-
- RacialAlignment
- Non-optional. The guild's racial alignment. Can be a custom value or a predefined value:
-
matis
- Matis -
tryker
- Tryker -
zorai
orzoraï
– Zoraï -
fyros
- Fyros -
neut
orneutral
– 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 |useImgFile=false |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
- Server: Arispotle
- Homeland: Aeden Aqueous
- Guild Hall: Windy Head, Fairhaven
- Alignment:
- Races Allowed: All
- RP Stance: Semi
- Website: GuildGeneralInfo website
- Ryzom Armory: Armory profile