User:Leonim/Template:Character

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Work in progress, open to requests and comments : expendable character sheet to present stories, skillbar and gallery then future widgets (attributes, traits).

Usage[edit]

{{User:Leonim/Template:Character
| name = 
| race = 
| sex = 

| profession = 
| profession-a = 
| personality-a = 
| race-a.1 = 
| race-a.2 = 
| race-a.3 = 

| wid-story = 
| story = 
| wid-build = 
| build = 
| wid-gallery = 
| gallery = 

| bg-img = 
| bg-size = 
| bg-top = 
| bg-left = 
| bg-opacity = 

| profile-img = 
}}

Parameters[edit]

name
Required. A character's name. Defaults to "Unnamed Character."
race
Optional. A character's race.
sex
Optional. A character's sex.
profession
Optional. 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.
wid-story
story
wid-build
build
wid-gallery
gallery
bg-img
Optional. A background image, preferably of the dimensions 800x600. Defaults to File:User_Shewmake_backgroundDefault.jpg.
bg-size
bg-top
bg-left
bg-opacity
profile-img
Not implemented. A profile image.

Examples[edit]

Mixed mechanics[edit]

Click edit to see the template call.

Ressources[edit]

Templates[edit]

Images[edit]

Code[edit]

Character box :

  • Width : 610px (plus 70px with show/hide and right-sided menubar)
  • Height : 410px (76px when collapsed)

Widget box :

  • width : 590px maximum (580px with vertical scrollbar)
  • height : 330px (vertical scrolling beyond)


Preview[edit]

In debug mode (with some dashed outlines and placeholders).

See also[edit]