Difference between revisions of "Template:SR4 Statblock"

From Game Logs
Jump to: navigation, search
(Created page with "<includeonly><div style=" display: inline-block; border: {{{Border|1}}}px solid #aaa; color: black; max-width: 25em; padding: 0.5em; text-align: left;...")
 
m
Line 1: Line 1:
<includeonly><div style="
+
<includeonly>{{#vardefine:block|1}}<div style="
 
     display: inline-block;
 
     display: inline-block;
 
     border: {{{Border|1}}}px solid #aaa;
 
     border: {{{Border|1}}}px solid #aaa;
Line 26: Line 26:
 
">{{#if: {{{MAG|}}} |<b>Magic:</b> {{{MAG}}}<br>|}}{{#if: {{{RES|}}} |<b>Resonance:</b> {{{RES}}}<br>|}}{{#if: {{{Ess|}}} |<b>Essence:</b> {{{Ess}}}<br>|}}{{#if: {{{Init|}}} |<b>Initiative / IP:</b> {{{Init}}}<br>|}}{{#if: {{{MatrixInit|}}} |<b>Matrix Initiative / IP:</b> {{{MatrixInit}}}<br>|}}{{#if: {{{AstralInit|}}} |<b>Astral Initiative / IP:</b> {{{AstralInit}}}<br>|}}</div>{{#if: {{{Qualities|}}} |<div style="
 
">{{#if: {{{MAG|}}} |<b>Magic:</b> {{{MAG}}}<br>|}}{{#if: {{{RES|}}} |<b>Resonance:</b> {{{RES}}}<br>|}}{{#if: {{{Ess|}}} |<b>Essence:</b> {{{Ess}}}<br>|}}{{#if: {{{Init|}}} |<b>Initiative / IP:</b> {{{Init}}}<br>|}}{{#if: {{{MatrixInit|}}} |<b>Matrix Initiative / IP:</b> {{{MatrixInit}}}<br>|}}{{#if: {{{AstralInit|}}} |<b>Astral Initiative / IP:</b> {{{AstralInit}}}<br>|}}</div>{{#if: {{{Qualities|}}} |<div style="
 
     display: inline-block;
 
     display: inline-block;
     background-color: #eee;
+
     {{#ifexpr: {{#var: block}} = 1|background-color: #eee;{{#vardefine: block|0}}|{{#vardefine: block|1}}}}
 
     border: 0px solid #aaa;
 
     border: 0px solid #aaa;
 
     width: 100%;
 
     width: 100%;
Line 33: Line 33:
 
"><b>Qualities:</b> {{{Qualities}}}</div>|}}{{#if: {{{Languages|}}} |<div style="
 
"><b>Qualities:</b> {{{Qualities}}}</div>|}}{{#if: {{{Languages|}}} |<div style="
 
     display: inline-block;
 
     display: inline-block;
 +
    {{#ifexpr: {{#var: block}} = 1|background-color: #eee;{{#vardefine: block|0}}|{{#vardefine: block|1}}}}
 
     border: 0px solid #aaa;
 
     border: 0px solid #aaa;
 
     width: 100%;
 
     width: 100%;
Line 39: Line 40:
 
"><b>Languages:</b> {{{Languages}}}</div>|}}{{#if: {{{Skills|}}} |<div style="
 
"><b>Languages:</b> {{{Languages}}}</div>|}}{{#if: {{{Skills|}}} |<div style="
 
     display: inline-block;
 
     display: inline-block;
     background-color: #eee;
+
     {{#ifexpr: {{#var: block}} = 1|background-color: #eee;{{#vardefine: block|0}}|{{#vardefine: block|1}}}}
 
     border: 0px solid #aaa;
 
     border: 0px solid #aaa;
 
     width: 100%;
 
     width: 100%;
Line 46: Line 47:
 
"><b>Skills:</b> {{{Skills}}}</div>|}}{{#if: {{{Spells|}}} |<div style="
 
"><b>Skills:</b> {{{Skills}}}</div>|}}{{#if: {{{Spells|}}} |<div style="
 
     display: inline-block;
 
     display: inline-block;
 +
    {{#ifexpr: {{#var: block}} = 1|background-color: #eee;{{#vardefine: block|0}}|{{#vardefine: block|1}}}}
 
     border: 0px solid #aaa;
 
     border: 0px solid #aaa;
 
     width: 100%;
 
     width: 100%;
Line 52: Line 54:
 
"><b>Spells:</b> {{{Spells}}}</div>|}}{{#if: {{{Powers|}}} |<div style="
 
"><b>Spells:</b> {{{Spells}}}</div>|}}{{#if: {{{Powers|}}} |<div style="
 
     display: inline-block;
 
     display: inline-block;
     background-color: #eee;
+
     {{#ifexpr: {{#var: block}} = 1|background-color: #eee;{{#vardefine: block|0}}|{{#vardefine: block|1}}}}
 
     border: 0px solid #aaa;
 
     border: 0px solid #aaa;
 
     width: 100%;
 
     width: 100%;

Revision as of 08:16, 26 October 2020

SR4 statblock template:

{{SR4_Statblock
   |Name=Shadewolker
   |Detail=Male Human Example
   |BOD=4
   |AGI=4
   |REA=4(6)
   |STR=3
   |CHA=4
   |INT=5
   |LOG=3
   |WIL=4
   |EDG=3
   |MAG=3
   |RES=
   |Ess=5.0
   |Init=9(11) / 1
   |MatrixInit=8 / 2
   |AstralInit=8 / 3
   |Qualities=Toughness
   |Languages=English N, Latin 3
   |Skills=Assensing 3, Astral Combat 4, Close Combat Skill group 4, Conjuring Skill group 3, Infiltration 2, Intimidation 3, Leadership 2, Perception 3, Pistols 2, Sorcery Skill group 4
   |Spells=Detect Life, Light, Physical Barrier, Powerbolt, Silence, Stunball
   |Powers=
}}
Shadewalker
Male Human Example
BODAGIREASTRCHAINTLOGWILEDG
444(6)345343

Magic: 3
Essence: 5.0
Initiative / IP: 9(11) / 1
Qualities: Toughness
Spells: Detect Life, Light, Physical Barrier, Powerbolt, Silence, Stunball