```metadata title: Initiative Flag Template description: '' tags: - template - discord systems: [] renderer: V3 theme: 5ePHB ``` ```css .page { width : 210mm; height : 296.8mm; background-image: none; background-color: white; } .page:after { display: none; } .page .card { --height: 750px; --padding: 10px; --corner: 75px; --gap: 1mm; --frontColor1: blue; --frontColor2: black; --iconColor: gold; position: relative; width: 250px; height: var(--height); border: 2px solid black; background-image: linear-gradient(to top, transparent calc(50% - var(--gap)), black calc(50% - var(--gap)), black calc(50% - var(--gap) + 2px), transparent calc(50% - var(--gap) + 2px), transparent calc(50% + var(--gap) - 2px), black calc(50% + var(--gap) - 2px), black calc(50% + var(--gap)), var(--frontColor1) calc(50% + var(--gap)), var(--frontColor2) ), url(/assets/DMG_background.png); background-blend-mode: multiply; clip-path: polygon( 0% 100%, 100% 100%, 100% var(--corner), calc(100% - var(--corner)) 0%, var(--corner) 0, 0 var(--corner) ); padding: calc(var(--height) / 2 + var(--padding)) var(--padding) var(--padding); th, td, tr { width: 30px; border: 1px solid black; } th { background-color: gold; } .ei { position: absolute; top: 25%; left:0; font-size: 144px; text-align: center; width: 100%; transform: rotate(180deg); color: var(--iconColor); } .name { position: absolute; top: 10%; left: 0; color: white; text-align: center; width: 100%; font-family: NodestoCapsCondensed; font-size: 48px; transform: rotate(180deg); text-stroke: 4px black; -webkit-text-stroke: 4px black; paint-order: stroke; text-transform: uppercase; } } .page table tbody tr:nth-child(odd) { background-color: inherit; } ``` {{card [Name]: Test [Class]: faerie-fire2 [AC]: 10 [HP]: -1 [Proficiency]: 2 [STR]: 10 [STR_Save_Prof]: 0 [DEX]: 10 [DEX_Save_Prof]: 0 [CON]: 10 [CON_Save_Prof]: 0 [INT]: 10 [INT_Save_Prof]: 0 [WIS]: 10 [WIS_Save_Prof]: 0 [CHA]: 10 [CHA_Save_Prof]: 0 {{ei,$[Class]}} {{name $[Name]}} {{width:100%,text-align:center,font-size:24px,font-weight:bold $[Name]}} : **AC:** $[AC] **HP:** $[HP] : | | STR | DEX | CON | INT | WIS | CHA | |:-:|:---:|:---:|:---:|:---:|:---:|:---:| |**Mod**| $[floor((STR-10)/2)] | $[floor((DEX-10)/2)] | $[floor((CON-10)/2)] | $[floor((INT-10)/2)] | $[floor((WIS-10)/2)] | $[floor((CHA-10)/2)] | |**Save**| $[STR_Save_Prof * Proficiency + floor((STR-10)/2)] | $[DEX_Save_Prof * Proficiency + floor((DEX-10)/2)] | $[CON_Save_Prof * Proficiency + floor((CON-10)/2)] | $[INT_Save_Prof * Proficiency + floor((INT-10)/2)] | $[WIS_Save_Prof * Proficiency + floor((WIS-10)/2)] | $[CHA_Save_Prof * Proficiency + floor((CHA-10)/2)] | : **Conditions:** {{columns:2 {{far,fa-square}} Blinded {{far,fa-square}} Charmed {{far,fa-square}} Deafened {{far,fa-square}} Frightened {{far,fa-square}} Grappled {{far,fa-square}} Incapacitated {{far,fa-square}} Invisible {{far,fa-square}} Paralyzed {{far,fa-square}} Petrified {{far,fa-square}} Poisoned {{far,fa-square}} Prone {{far,fa-square}} Restrained {{far,fa-square}} Stunned {{far,fa-square}} Unconscious }} : **Exhaustion:** {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{fas,fa-skull-crossbones}} }} \page {{card,--frontColor1:red,--iconColor:black [Name]: Brick [Class]: barbarian [AC]: 15 [HP]: 39 [Proficiency]: 2 [STR]: 15 [STR_Save_Prof]: 1 [DEX]: 13 [DEX_Save_Prof]: 0 [CON]: 14 [CON_Save_Prof]: 1 [INT]: 11 [INT_Save_Prof]: 0 [WIS]: 8 [WIS_Save_Prof]: 0 [CHA]: 15 [CHA_Save_Prof]: 0 {{ei,$[Class]}} {{name $[Name]}} {{width:100%,text-align:center,font-size:24px,font-weight:bold $[Name]}} : **AC:** $[AC] **HP:** $[HP] : | | STR | DEX | CON | INT | WIS | CHA | |:-:|:---:|:---:|:---:|:---:|:---:|:---:| |**Mod**| $[floor((STR-10)/2)] | $[floor((DEX-10)/2)] | $[floor((CON-10)/2)] | $[floor((INT-10)/2)] | $[floor((WIS-10)/2)] | $[floor((CHA-10)/2)] | |**Save**| $[STR_Save_Prof * Proficiency + floor((STR-10)/2)] | $[DEX_Save_Prof * Proficiency + floor((DEX-10)/2)] | $[CON_Save_Prof * Proficiency + floor((CON-10)/2)] | $[INT_Save_Prof * Proficiency + floor((INT-10)/2)] | $[WIS_Save_Prof * Proficiency + floor((WIS-10)/2)] | $[CHA_Save_Prof * Proficiency + floor((CHA-10)/2)] | : **Conditions:** {{columns:2 {{far,fa-square}} Blinded {{far,fa-square}} Charmed {{far,fa-square}} Deafened {{far,fa-square}} Frightened {{far,fa-square}} Grappled {{far,fa-square}} Incapacitated {{far,fa-square}} Invisible {{far,fa-square}} Paralyzed {{far,fa-square}} Petrified {{far,fa-square}} Poisoned {{far,fa-square}} Prone {{far,fa-square}} Restrained {{far,fa-square}} Stunned {{far,fa-square}} Unconscious }} : **Exhaustion:** {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{fas,fa-skull-crossbones}} }} {{card,--frontColor1:green,--iconColor:lightgreen [Name]: Morrigan [Class]: druid [AC]: 11 [HP]: 27 [Proficiency]: 2 [STR]: 8 [STR_Save_Prof]: 0 [DEX]: 10 [DEX_Save_Prof]: 0 [CON]: 13 [CON_Save_Prof]: 0 [INT]: 15 [INT_Save_Prof]: 1 [WIS]: 18 [WIS_Save_Prof]: 1 [CHA]: 12 [CHA_Save_Prof]: 0 {{ei,$[Class]}} {{name $[Name]}} {{width:100%,text-align:center,font-size:24px,font-weight:bold $[Name]}} : **AC:** $[AC] **HP:** $[HP] : | | STR | DEX | CON | INT | WIS | CHA | |:-:|:---:|:---:|:---:|:---:|:---:|:---:| |**Mod**| $[floor((STR-10)/2)] | $[floor((DEX-10)/2)] | $[floor((CON-10)/2)] | $[floor((INT-10)/2)] | $[floor((WIS-10)/2)] | $[floor((CHA-10)/2)] | |**Save**| $[STR_Save_Prof * Proficiency + floor((STR-10)/2)] | $[DEX_Save_Prof * Proficiency + floor((DEX-10)/2)] | $[CON_Save_Prof * Proficiency + floor((CON-10)/2)] | $[INT_Save_Prof * Proficiency + floor((INT-10)/2)] | $[WIS_Save_Prof * Proficiency + floor((WIS-10)/2)] | $[CHA_Save_Prof * Proficiency + floor((CHA-10)/2)] | : **Conditions:** {{columns:2 {{far,fa-square}} Blinded {{far,fa-square}} Charmed {{far,fa-square}} Deafened {{far,fa-square}} Frightened {{far,fa-square}} Grappled {{far,fa-square}} Incapacitated {{far,fa-square}} Invisible {{far,fa-square}} Paralyzed {{far,fa-square}} Petrified {{far,fa-square}} Poisoned {{far,fa-square}} Prone {{far,fa-square}} Restrained {{far,fa-square}} Stunned {{far,fa-square}} Unconscious }} : **Exhaustion:** {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{fas,fa-skull-crossbones}} }} \page {{card,--frontColor1:blue,--iconColor:white [Name]: Bastian [Class]: wizard [AC]: 14 [HP]: 22 [Proficiency]: 2 [STR]: 8 [STR_Save_Prof]: 0 [DEX]: 12 [DEX_Save_Prof]: 0 [CON]: 13 [CON_Save_Prof]: 0 [INT]: 17 [INT_Save_Prof]: 1 [WIS]: 13 [WIS_Save_Prof]: 1 [CHA]: 14 [CHA_Save_Prof]: 0 {{ei,$[Class]}} {{name $[Name]}} {{width:100%,text-align:center,font-size:24px,font-weight:bold $[Name]}} : **AC:** $[AC] **HP:** $[HP] : | | STR | DEX | CON | INT | WIS | CHA | |:-:|:---:|:---:|:---:|:---:|:---:|:---:| |**Mod**| $[floor((STR-10)/2)] | $[floor((DEX-10)/2)] | $[floor((CON-10)/2)] | $[floor((INT-10)/2)] | $[floor((WIS-10)/2)] | $[floor((CHA-10)/2)] | |**Save**| $[STR_Save_Prof * Proficiency + floor((STR-10)/2)] | $[DEX_Save_Prof * Proficiency + floor((DEX-10)/2)] | $[CON_Save_Prof * Proficiency + floor((CON-10)/2)] | $[INT_Save_Prof * Proficiency + floor((INT-10)/2)] | $[WIS_Save_Prof * Proficiency + floor((WIS-10)/2)] | $[CHA_Save_Prof * Proficiency + floor((CHA-10)/2)] | : **Conditions:** {{columns:2 {{far,fa-square}} Blinded {{far,fa-square}} Charmed {{far,fa-square}} Deafened {{far,fa-square}} Frightened {{far,fa-square}} Grappled {{far,fa-square}} Incapacitated {{far,fa-square}} Invisible {{far,fa-square}} Paralyzed {{far,fa-square}} Petrified {{far,fa-square}} Poisoned {{far,fa-square}} Prone {{far,fa-square}} Restrained {{far,fa-square}} Stunned {{far,fa-square}} Unconscious }} : **Exhaustion:** {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{fas,fa-skull-crossbones}} }} {{card,--frontColor1:grey,--iconColor:gold [Name]: Flick [Class]: paladin [AC]: 14 [HP]: 32 [Proficiency]: 2 [STR]: 15 [STR_Save_Prof]: 0 [DEX]: 12 [DEX_Save_Prof]: 0 [CON]: 13 [CON_Save_Prof]: 0 [INT]: 9 [INT_Save_Prof]: 0 [WIS]: 13 [WIS_Save_Prof]: 1 [CHA]: 15 [CHA_Save_Prof]: 1 {{ei,$[Class]}} {{name $[Name]}} {{width:100%,text-align:center,font-size:24px,font-weight:bold $[Name]}} : **AC:** $[AC] **HP:** $[HP] : | | STR | DEX | CON | INT | WIS | CHA | |:-:|:---:|:---:|:---:|:---:|:---:|:---:| |**Mod**| $[floor((STR-10)/2)] | $[floor((DEX-10)/2)] | $[floor((CON-10)/2)] | $[floor((INT-10)/2)] | $[floor((WIS-10)/2)] | $[floor((CHA-10)/2)] | |**Save**| $[STR_Save_Prof * Proficiency + floor((STR-10)/2)] | $[DEX_Save_Prof * Proficiency + floor((DEX-10)/2)] | $[CON_Save_Prof * Proficiency + floor((CON-10)/2)] | $[INT_Save_Prof * Proficiency + floor((INT-10)/2)] | $[WIS_Save_Prof * Proficiency + floor((WIS-10)/2)] | $[CHA_Save_Prof * Proficiency + floor((CHA-10)/2)] | : **Conditions:** {{columns:2 {{far,fa-square}} Blinded {{far,fa-square}} Charmed {{far,fa-square}} Deafened {{far,fa-square}} Frightened {{far,fa-square}} Grappled {{far,fa-square}} Incapacitated {{far,fa-square}} Invisible {{far,fa-square}} Paralyzed {{far,fa-square}} Petrified {{far,fa-square}} Poisoned {{far,fa-square}} Prone {{far,fa-square}} Restrained {{far,fa-square}} Stunned {{far,fa-square}} Unconscious }} : **Exhaustion:** {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{far,fa-square}} {{fas,fa-skull-crossbones}} }}