Difference between revisions of "Traits"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page with "Traits are used as add-ons to characters that describe their unique features. They can be edited in the admin panel by users with the '''Edit World Data''' power. {| class="wi...")
Tag: 2017 source edit
 
Line 1: Line 1:
Traits are used as add-ons to characters that describe their unique features. They can be edited in the admin panel by users with the '''Edit World Data''' power.
+
Traits are used as add-ons to [[characters]] that describe their unique features. They can be edited in the admin panel by users with the '''Edit World Data''' power.
{| class="wikitable"
+
==Usage==
|Fold
+
Traits and trait categories can be created in the admin panel, with the option of restricting them to certain [[species]]. Once created, they can be attached to characters and [[MYO Slots|MYO slots]].
  
Table of Contents
+
The character and MYO slot [[masterlist]] pages contain options to filter characters by a trait or combination of traits.
 
 
Usage
 
 
 
Editing
 
 
 
Categories
 
 
 
Traits
 
 
 
See Also
 
|}
 
 
 
= Usage =
 
Traits and trait categories can be created in the admin panel, with the option of restricting them to certain species. Once created, they can be attached to characters and MYO slots.
 
 
 
The character and MYO slot masterlist pages contain options to filter characters by a trait or combination of traits.
 
  
 
Note that in the code, traits are named "features" instead as "trait" is a reserved keyword in PHP.
 
Note that in the code, traits are named "features" instead as "trait" is a reserved keyword in PHP.
  
= Editing =
+
==Editing==
  
== Categories ==
+
===Categories===
 
Editing trait categories and traits requires the '''Edit World Data''' power.
 
Editing trait categories and traits requires the '''Edit World Data''' power.
  
 
Trait categories can be created in the admin panel, with the usual category properties:
 
Trait categories can be created in the admin panel, with the usual category properties:
  
* Name
+
*Name
* World Page Image
+
*World Page Image
* Description (accepts HTML)
+
*Description (accepts HTML)
  
 
The image and description are displayed only on the world page. Categories are optional, but allow traits to be listed in a controllable order on the character's page.
 
The image and description are displayed only on the world page. Categories are optional, but allow traits to be listed in a controllable order on the character's page.
  
== Traits ==
+
===Traits===
 
Traits themselves have the following properties:
 
Traits themselves have the following properties:
  
* Name
+
*'''Name'''
* Rarity
+
**The trait name which is displayed on the trait index.
* World Page Image
+
*'''Rarity'''
* Trait Category
+
**The rarity of the trait. This is mostly cosmetic.
* Species Restriction
+
*'''World Page Image'''
* Description (accepts HTML)
+
**Shown in the encyclopedia, and nowhere else. As with all encyclopedia images, the recommended size is 200 x 200 pixels, but can be any size. It is recommended to use a simple thumbnail image for this image, and elaborate on trait restrictions, reference images etc. in the description area.
 
+
*'''Trait Category'''
'''Name''' is the trait name which is displayed on the trait index.
+
**The category to which the trait falls under, and used for organization. It is otherwise optional.
 
+
*'''Species Restriction'''
'''Rarity''' is the rarity of the trait. While this is mostly cosmetic, a rarity cap can be set on MYO slots - users will only be able to submit the slot for approval with traits equal or lower to that rarity.
+
**Sets the trait to only be available for that particular species, and is optional.
 
+
*'''Subtype'''
The '''World Page Image''' is shown in the encyclopedia, and nowhere else. As with all encyclopedia images, the recommended size is 200 x 200 pixels, but can be any size. It is recommended to use a simple thumbnail image for this image, and elaborate on trait restrictions, reference images etc. in the description area.
+
**Displays the trait as being associated with a given subtype. This is mostly cosmetic, as it does not impose any restrictions.
 
+
*'''Description (accepts HTML)'''
'''Trait Category''' is the category to which the trait falls under, and used for organisation. It is otherwise optional.
+
**a description of the trait for the encyclopedia page.
 
 
'''Species Restriction''' sets the trait to only be available for that particular species, and is optional.
 
  
'''Description''' is a description of the trait for the encyclopedia page.
+
==See Also==
  
= See Also =
+
*[[Characters]]
 +
*[[Character Images]]
 +
*[[MYO Slots]]
  
* Characters
+
[[Category:Documentation]]
* MYO Slots
 

Revision as of 10:47, 24 June 2021

Traits are used as add-ons to characters that describe their unique features. They can be edited in the admin panel by users with the Edit World Data power.

Usage

Traits and trait categories can be created in the admin panel, with the option of restricting them to certain species. Once created, they can be attached to characters and MYO slots.

The character and MYO slot masterlist pages contain options to filter characters by a trait or combination of traits.

Note that in the code, traits are named "features" instead as "trait" is a reserved keyword in PHP.

Editing

Categories

Editing trait categories and traits requires the Edit World Data power.

Trait categories can be created in the admin panel, with the usual category properties:

  • Name
  • World Page Image
  • Description (accepts HTML)

The image and description are displayed only on the world page. Categories are optional, but allow traits to be listed in a controllable order on the character's page.

Traits

Traits themselves have the following properties:

  • Name
    • The trait name which is displayed on the trait index.
  • Rarity
    • The rarity of the trait. This is mostly cosmetic.
  • World Page Image
    • Shown in the encyclopedia, and nowhere else. As with all encyclopedia images, the recommended size is 200 x 200 pixels, but can be any size. It is recommended to use a simple thumbnail image for this image, and elaborate on trait restrictions, reference images etc. in the description area.
  • Trait Category
    • The category to which the trait falls under, and used for organization. It is otherwise optional.
  • Species Restriction
    • Sets the trait to only be available for that particular species, and is optional.
  • Subtype
    • Displays the trait as being associated with a given subtype. This is mostly cosmetic, as it does not impose any restrictions.
  • Description (accepts HTML)
    • a description of the trait for the encyclopedia page.

See Also