User:Leonim/Template:Character-A

From Guild Wars 2 Wiki
Jump to: navigation, search


Description[edit]

This template, heavily inspired from Alarielle's ideas to Konig Des Todes's graphic skills and fueled by Shewmake's crafting genius, tries to capture the essence of a character's biography and skillsets.

The generated character sheet is centered with a fixed size of 826x626 pixels : rugged borders (13 pixels each) surrounding a background image 800x600 pixels. The content is divided into two panels and an optional skillbar : on the right, character's data and on the left, character's story elements... as shown in the preview and examples sections.

Thanks[edit]

Usage[edit]

Parameters[edit]

Character[edit]

name
Required. A character's name. Defaults to "Unknown".
race
Advised. A character's race.
sex
Optional. A character's sex.
profession
Advised. A character's profession.
profession-a
Optional. An answer to the profession question of a character's biography.
personality-a
Optional. An answer to the personality question of a character's biography.
race-a.1
Optional. An answer to the first race question of a character's biography.
race-a.2
Optional. An answer to the second race question of a character's biography.
race-a.3
Optional. An answer to the third race question of a character's biography.
order
Optional. A character's order.
represent
Optional. A character's main guild affiliation.
craft-1
Optional. A character's primary crafting vocation.
craft-2
Optional. A character's secondary crafting vocation.
genesis
Optional. A character's personal story choices.
description
Optional. A character's description and adventures.

Skillsets[edit]

skillbar
Optional. Indicates if the skill bar should be shown.

Visuals[edit]

profile-img
Not implemented. A profile image, preferably of the dimensions 325x273. Defaults to nothing.
bg-img
Optional. A background image, preferably of the dimensions 800x600.
Defaults to none (transparent background).
Possible values, 'none' (as above) and 'default' to use File:Professions reveal 1 (Formidable).jpg.
bg-size
Customisation. Size of the background image (clipped to 800x600).
Accepted values as in [[File:<image>|<size>]].
Resizing by width : <width>px
Resizing by height : x<height>px
Specific size : <width>x<height>px
Defaults to 800x600px.

Evolution[edit]

The template will be kept stable, and is open to feature requests.

Features[edit]

  • Add personality (progress bars) : Charm, Dignity, Ferocity and the few other ones not in the character creation.
  • Craft two menu bars (one for each panel) and a parameter to preselect each content.
  • Allow some widgets (gallery, achievements, multiple pages for long story and chapters).
  • Allow character selection (link to other pages and back to user page).
  • Add icon links to related profession skills, weapon skills and crafting recipes (on the left of each line).
  • Rework layout of the biography icons.
  • Provide an optional background tile for the character name.
  • Provide an easy way to set dates in different calendars (timeline widget, birth and creation date parameters).
  • Give a page effect to panel with masked horizontal scrolling.
  • Allow the center part to be collapsed (see User:Leonim/Template:Character).

Known bugs[edit]

  • When no equipped weapon, the skillbar may appear smaller than its fixed height (96px).
    • No workaround yet.

Example[edit]

Sylvari Engineer w/skillbar[edit]

{{User:Leonim/Template:Character-A
| name = Loengrim
| birth = 1325 AE
| race = Sylvari
| sex = Female
| profession = Engineer
| profession-a = Universal Multi-Tool
| personality-a = Charm
| race-a.1 = The Shield of the Moon
| race-a.2 = Where life goes, so too, should you.
| race-a.3 = Cycle of Dusk
| order = Order of Whispers
| represent = 
| craft-1 = [[Chef|Cook]] (spicy)
| craft-2 = [[Leatherworker]]
| description =
Memories of a past life, cycle of events long forgotten.
This new traveller shall bear her name with pride but merrily creates her new path.
A path of machinery, tools, fun and explosions.
| skillbar = true
 | ws-e = Elixir Gun
 | ws-1.1 = Pistol
 | ws-1.2 = Pistol
 | h = Healing Turret
 | u-1 = Elixir Gun
 | u-2 = Flamethrower
 | u-3 = Bomb Kit
 | e = Supply Crate
 | uw-h = Med Kit
 | uw-u-1 = 
 | uw-u-2 = 
 | uw-u-3 = 
 | uw-e = Elixir X
| bg-img = File:Hall of Monuments background.jpg
}}


Others[edit]

Ressources[edit]

Templates[edit]

Images[edit]

Some background images, you can find more in my personal gallery.

Borrowed images[edit]

Code[edit]

Preview[edit]

User Konig Des Todes border char2.png
Unknown
Any tango icon 48px.png
Any tango icon 48px.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Biography VAL-A Golem.png
User Shewmake icon-border-m.png
Biography VAL-A Golem.png
User Shewmake icon-border-m.png
Biography VAL-A Golem.png
Race: [[]]
Gender: Any tango icon 20px.png
Affiliation: None
Profession: [[]]
This is your story...
User Shewmake icon-border-s.png
 
Dodge
 
100 / 100 
Health orb.png
User Shewmake icon-border-s.png
 
None
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
 
Swap to underwater skills
User Shewmake icon-border-s.png
 
Dodge
 
100 / 100 
Health orb.png
User Shewmake icon-border-s.png
 
None
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
 
Swap to land skills
User Shewmake icon-border-s.png
 
Dodge
 
100 / 100 
Health orb.png
User Shewmake icon-border-s.png
 
None
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
User Shewmake icon-border-m.png
Skill.png
 
Swap to land skills

See also[edit]