From Legends of Norrath Wiki
This is CardInformation 2.1
[edit] Parameters
You may see a graphical explanation showing examples of cards from in-game, with the related template variable name marked, at CardInformation Pictorial Tutorial.
- iname
- Use this ONLY of the PAGENAME/CardName has an apostrophe or colon in it. These will screw image: to hell. Put the name in iname, just leave the bad caharacters out, and be sure to add a .gif, .jpg or .png to the end of the name. If iname is not blank, it is passed as the image name with NO handling!
- title
- if PAGENAME is the same as the card title, this should be left blank
- cardtype
- Avatar, Quest, Ability, Item, Unit, Tactic or Loot. See Category:Card Types
- loottype
- Used ONLY if cardtype=Loot, holds a short type that matches to a .png to display rather than a card image. i.e. if it's a potion, loottype=Potion| and Potion.png is displayed.
- archetype
- Fighter, Scout, Mage, Priest or blank. See Category:Archetypes
- trait and trait2
- Usually Race (for Units and Avatars) or Type (for Items such as Weapon). See Category:Traits
slot restriction- For Items and Abilities only, this is generally the equipment slot. Attempting to Equip an Item for a slot that already has an Item in it will ask you to confirm to destroy the previously equipped Item. See Category:Restrictions
- alignment
- One of Light, Shadow or Neutral. Undefined or blank) will default to Neutral. See Category:Alignments
- cost
- Power required to Ready this Unit or Invoke this Ability.
- attack
- See Category:Attack Values
- defense
- See Category:Defense Values
- dmgbonus
- See Category:Damage Bonuses
- health
- See Category:Health Values
questgems level- The level of the Quest or Ability.
- effectname
- Name of a special Effect, such as Hidden or Frenzy. effectname will be linked to a page of the same name, but the effecttext will be on the card page in a collapsed window. Click the [Show] button to expand the box.
- effecttitle
- Used only on cards with the Legend keyword. This is a title displayed after the effectname.
effecttext- After the card is defined a link will be automatically created in the collapsed box to Category:{{{effectname}}}/effecttext if it does not already exist. Follow that link to enter the effect text. After that the text will automatically appear on any page that has the same effect.
- gametext
- This describes the game effects. Can include tags for inline icons. See Category:Inline Icon Templates for a list of all the templates, and Meaning of Card Icons for an explanation of them.
flavortext- DEPRECATED in favor of loretext for all lore, whether SOE shows it on the main card display or hidden under the Lore scroll.
- loretext
- A little bonus bit of Norrathian lore. This is the part that displays italicized on the card, whether under the Lore scroll button or not.
expansion- Expansion will be obtained from the {{Expamsion}} function using the parsed collectorinfo via {{CInfo}}
- collectorinfo
- A code that uniquely identifies each card. This appears at the very bottom-left corner of every card. The code is comprised the number of the expansion (starting with 1 for Oathbound), plus the single-character Rarity code, plus the sequential number of the card within Rarity:Fixed or all others. In other words, there are 2 #1 cards, 1F1 and 1U1. It is not known at this time if Loot Cards display collector info or not.
- illustrator
- Name of artist that drew the illustration for this card. See Category:Illustrators
{{CardInformation|
iname = | <!-- titles with ' or : in them have image problems, so use this -->
cardtype = | <!-- Avatar, Quest, Ability, Item, Unit or Tactic -->
archetype = | <!-- Fighter, Scout, Mage, Priest or blank -->
trait = | <!-- race or item type -->
trait2 = | <!-- some cards have 2 traits -->
restriction = | <!-- for Items only -->
alignment = | <!-- Light, Shadow or blank (Neutral) -->
cost = |
attack = |
defense = |
dmgbonus = | <!-- Damage Bonus -->
health = | <!-- only Avatar and Unit cards have this -->
level = | <!-- only Ability and Quest cards have this -->
effectname = | <!-- effect text will link automatically -->
gametext = | <!-- instructions on how to play this card -->
loretext = | <!-- the italicized text -->
collectorinfo= |
illustrator = |
}}
See also: Template:Preloads/CardInformation, Category:Card Images and Template:CardInformation/Docs