Difference between revisions of "Template:GURPS Character Sheet"
(Added template for GURPS character sheet.) |
m (Allow the portrait to be a local wiki image in addition to an external URL. (It does NOT check if said image is actually uploaded to the wiki, though.)) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
{{#if: {{{portrait|}}} | {{#if: {{{portrait|}}} | ||
| | | | ||
| − | <img src="{{{portrait}}}" alt="Portrait" /> | + | {{#ifeq: {{#sub: {{{portrait}}}|0|4}} | http | <img src="{{{portrait}}}" alt="Portrait" /> | [[File:{{{portrait}}}]]}} |
}} | }} | ||
</td> | </td> | ||
| Line 468: | Line 468: | ||
<tr><th>Notes</th></tr> | <tr><th>Notes</th></tr> | ||
<tr> | <tr> | ||
| − | <td class="width100p">{{{notes|}}}</td> | + | <td class="width100p" style="white-space: normal">{{{notes|}}}</td> |
</tr> | </tr> | ||
</table> | </table> | ||
| Line 485: | Line 485: | ||
; Portrait | ; Portrait | ||
| − | * portrait: | + | * portrait: URL or filename to the portrait you wish to show. If this starts with http or https, it'll be assumed to be external, otherwise it'll be assumed to be local to the wiki (and must be uploaded to the wiki). It will be used at full size, so it is recommended that you use a small image for this. A good size, based on GCS's usage of the portrait, is 144x192. |
; Identity | ; Identity | ||
* name | * name | ||
Latest revision as of 05:38, 29 January 2016
This is a MediaWiki version of a GURPS character sheet, modeled after the HTML export of GURPS Character Sheet (GCS).
Usage[edit]
{{GURPS Character Sheet
[PARAMETERS]
}}
[PARAMETERS] is the list of parameters. Each parameter starts with a pipe character, |, and is in the format of NAME=VALUE.
The following parameters, broken down by section, may be used:
- Portrait
- portrait: URL or filename to the portrait you wish to show. If this starts with http or https, it'll be assumed to be external, otherwise it'll be assumed to be local to the wiki (and must be uploaded to the wiki). It will be used at full size, so it is recommended that you use a small image for this. A good size, based on GCS's usage of the portrait, is 144x192.
- Identity
- name
- title
- religion
- Player Information
- player
- campaign
- created_on
- Points
- The following will all be added together in order to show the total number of points the character has used.
- attributes_points
- advantages_points
- disadvantages_points
- quirks_points
- skills_points
- spells_points
- race_points
- earned_points
- Description
- race
- gender
- age
- birthday
- height
- weight
- size
- tech_level
- hair
- eyes
- skin
- handedness
- Attributes
- strength
- dexterity
- intelligence
- health
- will
- fright_check
- basic_speed
- basic_move
- perception
- vision
- hearing
- taste_smell
- touch
- thr
- sw
- Encumbrance, Move & Dodge
- Most of this section is calculated from existing variables. The only parameter is:
- load: Must be a value of either none, light, medium, heavy, or xheavy.
- Lifting & Moving Things
- This entire section is calculated from existing variables and has no parameters.
- Hit Location
- eyes_dr
- skull_dr
- face_dr
- rightleg_dr
- rightarm_dr
- torso_dr
- groin_dr
- leftarm_dr
- leftleg_dr
- hands_dr
- feet_dr
- neck_dr
- vitals_dr
- Fatigue/Hit Points
- Part of this section is calculated from existing variables. The only parameters are:
- current_fp
- basic_fp
- current_hp
- basic_hp
- Advantages & Disadvantages
- advantages_list: This expects the GURPS Advantages List template to be used. See its page for usage of it.
- Skills
- skills_list: This expects the GURPS Skills List template to be used. See its page for usage of it.
- Spells
- spells_list: This expects the GURPS Spells List template to be used. See its page for usage of it.
- Melee Weapons
- melee_weapons_list: This expects the GURPS Melee Weapons List template to be used. See its page for usage of it.
- Ranged Weapons
- ranged_weapons_list: This expects the GURPS Ranged Weapons List template to be used. See its page for usage of it.
- Equipment
- equipment_list: This expects the GURPS Equipment List template to be used. See its page for usage of it.
- Notes
- notes
Any values not given will either be left blank or be filled in with a 0. Because the pipe symbol is used to separate items, if you wish to include the pipe symbol as part of a value, use | instead.
Example[edit]
{{GURPS Character Sheet
|portrait=http://bobandgeorge.com/images/George.png
|name=Bob
|title=Superhero
|campaign=Bob and George
|race=Human
|gender=Male
|hair=Blonde
|load=none
|advantages_list={{GURPS Advantages List}}
|skills_list={{GURPS Skills List}}
|spells_list={{GURPS Spells List}}
|ranged_weapons_list={{GURPS Ranged Weapons List}}
|equipment_list={{GURPS Equipment List}}
|notes=Also known as Blitz.
}}
render as:
|
|
|
|
||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|