User:HINK/Sandbox4: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Only show tabber if more than 1 image)
No edit summary
 
Line 1: Line 1:
<includeonly>{| class="infobox"; style="margin-left: 20px; width: 350px; text-align: left; font-size: 90%; float: right; background-color: #1B1B1B; border: 1px solid #785000; color: #C1A886; margin-bottom: 0px;" cellspacing="0" cellpadding="2"
<includeonly><onlyinclude><div style="
border: 0.15rem solid #785000;
    background: radial-gradient(#E1D7BF, #E1D7BF, #E0CC9D);
padding: 30px 40px;font-family: 'Linux Libertine', 'Georgia', serif;  
    color:black;
font-size: 1rem;
max-width: 800px;
margin: auto;"><p style="color:black;">{{trim | {{{1}}} }}</p>
</div></onlyinclude></includeonly>
Book text. Here is an example:


{{#if:{{{title|}}}|
{{User:HINK/Sandbox4|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam fringilla ligula a ultricies fringilla. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur dictum eget elit id faucibus. Integer elementum metus vel leo sodales varius.<br>Vivamus placerat velit et sem suscipit maximus. Suspendisse arcu nisl, volutpat a tristique a, vestibulum dapibus dui. Sed tristique enim a finibus imperdiet. Phasellus aliquet eu metus ut eleifend. Maecenas congue scelerisque fringilla. Duis gravida ante a nibh convallis, sed ornare arcu pellentesque. Sed posuere, risus vel vestibulum pellentesque, nisi dolor venenatis nulla, ut porttitor leo odio id ex.<br>Vivamus malesuada accumsan finibus. Etiam congue viverra urna id iaculis. Vivamus nulla mauris, aliquam et neque pretium, mollis suscipit nisi.  
{{!}}-
{{!}} colspan="2" align="center" style="padding-top:0.25em;" {{!}} {{{title|}}}
}}
}}
|-
! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}}
|-
{{!}} colspan="2" align="center" style="padding: 0px;"{{!}}
{{#if:{{{imagename|}}}{{{image2|}}}|{{#tag:tabber|
{{#if:{{{image|}}}|{{!}}-{{!}}{{{imagename|Image}}}={{{image}}} }}
{{#if:{{{image2|}}}|{{!}}-{{!}}{{{imagename2}}}={{{image2}}} }}
{{#if:{{{image3|}}}|{{!}}-{{!}}{{{imagename3}}}={{{image3}}} }}
{{#if:{{{image4|}}}|{{!}}-{{!}}{{{imagename4}}}={{{image4}}} }}
}}|{{{image}}} }}
{{#if:{{{STR|}}}{{{level|}}}{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}}|{{!}}-
{{!}} colspan="2" align="center" style="font-size: 105%; background: #281C14; color: #C1A886;" {{!}} '''Stats'''
}}
{{#if:{{{level|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="font-size: 110%; padding:0.5em 0;" {{!}} Level {{{level}}}
}}
{{#if:{{{STR|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="padding: 0;" {{!}} {{AttributeBlock
|{{{STR}}}
|{{{DEX}}}
|{{{CON}}}
|{{{INT}}}
|{{{WIS}}}
|{{{CHA}}}
|str save={{IfEmpty | {{{str save|}}} }}
|dex save={{IfEmpty | {{{dex save|}}} }}
|con save={{IfEmpty | {{{con save|}}} }}
|int save={{IfEmpty | {{{int save|}}} }}
|wis save={{IfEmpty | {{{wis save|}}} }}
|cha save={{IfEmpty | {{{cha save|}}} }}
}}
}}
{{#if:{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}}|
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{HorizontalRuleImage|350}}
}}
{{#if:{{{race|}}}|{{!}}-
{{!}} style="padding-left: 8px; width: 50%;" {{!}} [[File:Creature Race Icon.png|24px|link=Races]]&nbsp;&nbsp;Race
{{!}} style="width: 50%;" {{!}} {{{race|}}}
{{!}}-|}}
{{#if:{{{type|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Type Icon.png|24px|link=List of Creature Types]]&nbsp;&nbsp;Type
{{!}} {{#switch: {{lc: {{{type}}} }}
| aberration = [[Aberration]][[Category:Aberrations]]
| beast = [[Beast]][[Category:Beasts]]
| celestial = [[Celestial]][[Category:Celestials]]
| construct = [[Construct]][[Category:Constructs]]
| dragon = [[Dragon]][[Category: Dragons]]
| elemental = [[Elemental]][[Category:Elementals]]
| fey = [[Fey]][[Category:Fey]]
| fiend = [[Fiend]][[Category:Fiends]]
| giant = [[Giant]][[Category:Giants]]
| humanoid = [[Humanoid]][[Category: Humanoids]]
| monstrosity= [[Monstrosity]][[Category:Monstrosities]]
| ooze= [[Ooze]][[Category:Oozes]]
| plant= [[Plant]][[Category:Plants]]
| undead = [[Undead]][[Category:Undead]]
| #default = {{{type}}}}}
{{!}}-|[[Category: Character type not set]]}}
{{#if:{{{HP|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:HP Icon.png|24px|link=Hit Points]]&nbsp;&nbsp;HP
{{!}} {{{HP|}}}
{{!}}-|}}
{{#if:{{{AC|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature AC Icon.png|24px|link=Armour Class]]&nbsp;&nbsp;AC
{{!}} {{{AC|}}}
{{!}}-|}}
{{#if:{{{speed|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Speed Icon.png|24px|link=Movement Speed]]&nbsp;&nbsp;Movement Speed
{{!}} {{{speed|}}}
{{!}}-|}}
{{#if:{{{size|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Size Icon.png|24px|link=Creature Size]]&nbsp;&nbsp;Size
{{!}} {{{size|}}}
{{!}}-|}}
{{#if:{{{weight|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Weight Icon.png|24px|link=]]&nbsp;&nbsp;Weight
{{!}} {{{weight|}}}
{{!}}-|}}
{{#if:{{{proficiency|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Proficiency Icon.png|24px|link=Proficiency]]&nbsp;&nbsp;Proficiency Bonus
{{!}} +{{{proficiency|}}}
{{!}}-|}}
{{#if:{{{initiative|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Initiative Icon.png|24px|link=Initiative]]&nbsp;&nbsp;Initiative
{{!}} {{{initiative|}}}
{{!}}-|}}
{{#if:{{{passive|}}}|
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive features'''
{{!}}-
{{!}} colspan="2" style="padding-left: 38px;" {{!}} {{{passive|}}}
}}
{{#if:{{{bludgeoning|}}}{{{piercing|}}}{{{magic|}}}{{{slashing|}}}{{{acid|}}}{{{cold|}}}{{{fire|}}}{{{lightning|}}}{{{necrotic|}}}{{{poison|}}}{{{psychic|}}}{{{radiant|}}}{{{thunder|}}}|{{!}}-
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Resistances'''}}
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{#if:{{{slashing|}}}|{{Resistance|Slashing|{{{slashing|resistant}}}}}}}{{#if:{{{piercing|}}}|{{Resistance|Piercing|{{{piercing|resistant}}}}}}}{{#if:{{{bludgeoning|}}}|{{Resistance|Bludgeoning|{{{bludgeoning|resistant}}}}}}}{{#if:{{{acid|}}}|{{Resistance|Acid|{{{acid|resistant}}}}}}}{{#if:{{{thunder|}}}|{{Resistance|Thunder|{{{thunder|resistant}}}}}}}{{#if:{{{necrotic|}}}|{{Resistance|Necrotic|{{{necrotic|resistant}}}}}}}{{#if:{{{fire|}}}|{{Resistance|Fire|{{{fire|resistant}}}}}}}{{#if:{{{lightning|}}}|{{Resistance|Lightning|{{{lightning|resistant}}}}}}}{{#if:{{{cold|}}}|{{Resistance|Cold|{{{cold|resistant}}}}}}}{{#if:{{{psychic|}}}|{{Resistance|Psychic|{{{psychic|resistant}}}}}}}{{#if:{{{poison|}}}|{{Resistance|Poison|{{{poison|resistant}}}}}}}{{#if:{{{radiant|}}}|{{Resistance|Radiant|{{{radiant|resistant}}}}}}}{{#if:{{{force|}}}|{{Resistance|Force|{{{force|resistant}}}}}}}{{#if:{{{magic|}}}|{{Resistance|Magic|{{{magic|resistant}}}}}}}
{{#if:{{{class|}}}{{{background|}}}{{{location|}}}{{{faction|}}}{{{family|}}}{{{allies|}}}{{{enemies|}}}{{{va|}}} | {{!}}-
! colspan="2" align="center" style="font-size: 110%;background: #281C14; color: #C1A886;"  {{!}} '''Character information'''
}}
|-
{{#if:{{{class|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Class
{{!}} {{Class| {{{class|}}} }}
{{!}}-|}}
{{#if:{{{background|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Background
{{!}} [[{{{background|}}}]]
{{!}}-|}}
{{#if:{{{location|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Location
{{!}} {{{location|}}}
{{!}}-|}}
{{#if:{{{faction|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Faction
{{!}} {{{faction|}}}
{{!}}-|}}
{{#if:{{{family|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Family
{{!}} {{{family|}}}
{{!}}-|}}
{{#if:{{{allies|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Allies
{{!}} {{{allies|}}}
{{!}}-|}}
{{#if:{{{enemies|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Enemies
{{!}} {{{enemies|}}}
{{!}}-|}}
{{#if:{{{exp|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Experience on kill
{{!}} {{{exp|}}}
{{!}}-|}}
|
{{#if:{{{va|}}} | {{!}}-
! colspan="2" align="center" style="font-size: 110%;background: #281C14; color: #C1A886;"  {{!}} '''Additional information'''
}}
|-
{{#if:{{{va|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} [[Voice Actors|Voice actor]]
{{!}} {{VA|{{{va}}} }}
{{!}}-|}}
|-
{{#if:{{{alt-name|}}}|{{!}}-
! colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''{{{alt-name}}}'''}}
|-
{{#if:{{{alt-image|}}}|
{{!}} colspan="2" align="center" style="padding: 0;" {{!}} {{{alt-image}}}{{ #if: {{{alt-imageimagename|}}} | <br />{{{alt-imagename}}} }}
}}
|}<div class="mobileonly" style="clear: both;"></div></includeonly><noinclude>
[[Category:Templates]]
{{User:HINK/Sandbox4
|title = Archduke
|name = Noober
|image=[[File:Astarion-promotional.webp|350px]]
|imagename=Astarion
|image2=[[File:Astarion.png|350px]]
|imagename2=Seduce me
|STR=15
|DEX=8
|CON=11
|INT=9
|WIS=18
|CHA=10
|str save=
|dex save=y
|con save=
|int save=y
|wis save=
|cha save=
|level=3
|race=Skeleton
|type=Undead
|HP=28
|AC=15
|speed=10m / 30ft
|size=Medium
|weight=20kg / 40lbs
|proficiency=2
|initiative=-1
|passive = {{SmallIcon|Darkvision Icon.png|link=Darkvision (Passive Feature)}} [[Darkvision_(Passive_Feature)|Darkvision]]
Vampire Spawn
|class = Barbarian
|background= Acolyte
|location = Netheril
|faction = [[Tiefling Refugees]]
|family = [[Halsin]] (partner)
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = resistant
|psychic = Vulnerable
|poison = Immune
|magic = magical
|lightning = double
|exp = 1337
|va = Jennifer English
|alt-name = True form
|alt-image = [[File:Astarionheadshot.jpg|350px]]
}}
Filling in the 6 Ability Score stats is optional. However, this template only currently supports being provided none or all of them.
Example:
<pre>
{{CharacterInfo
|title = Archduke
|name = Noober
|image=[[File:Astarion-promotional.webp|350px]]
|STR=15
|DEX=8
|CON=11
|INT=9
|WIS=18
|CHA=10
|str save=
|dex save=yes
|con save=
|int save=yes
|wis save=
|cha save=
|level=3
|race=Skeleton
|type=Undead
|HP=28
|AC=15
|speed=10m / 30ft
|size=Medium
|weight=20kg / 40lbs
|proficiency=2
|initiative=-1
|passive =[[File:Darkvision Icon.png|frameless|upright=0.1|link=Darkvision (Passive Feature)]] [[Darkvision_(Passive_Feature)|Darkvision]]
Vampire Spawn
|class = Barbarian
|background = Acolyte
|location = Netheril
|faction = [[Tiefling Refugees]]
|family = [[Halsin]] (partner)
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = resistant
|psychic = Vulnerable
|poison = Immune
|magic = magical
|lightning = double
|exp = 1337
|va = Jennifer English
|alt-name = True form
|alt-image = [[File:Astarionheadshot.jpg|350px]]
}}</pre>
Clean version:
<pre>
{{CharacterInfo
|title =
|name =
|image = [[File:|350px]]
|STR =
|DEX =
|CON =
|INT =
|WIS =
|CHA =
|str save =
|dex save =
|con save =
|int save =
|wis save =
|cha save =
|level =
|race =
|type =
|HP =
|AC =
|speed =
|size =
|weight =
|proficiency =
|initiative =
|passive =
|bludgeoning =
|piercing =
|slashing =
|acid =
|cold =
|fire =
|force =
|lightning =
|necrotic =
|poison =
|psychic =
|radiant =
|thunder =
|magic =
|class =
|background=
|location =
|faction =
|family =
|allies =
|enemies =
|exp =
|va =
|alt-name =
|alt-image = [[File:|350px]]
}}</pre>
</noinclude>

Latest revision as of 19:20, 24 September 2023

Book text. Here is an example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam fringilla ligula a ultricies fringilla. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur dictum eget elit id faucibus. Integer elementum metus vel leo sodales varius.
Vivamus placerat velit et sem suscipit maximus. Suspendisse arcu nisl, volutpat a tristique a, vestibulum dapibus dui. Sed tristique enim a finibus imperdiet. Phasellus aliquet eu metus ut eleifend. Maecenas congue scelerisque fringilla. Duis gravida ante a nibh convallis, sed ornare arcu pellentesque. Sed posuere, risus vel vestibulum pellentesque, nisi dolor venenatis nulla, ut porttitor leo odio id ex.
Vivamus malesuada accumsan finibus. Etiam congue viverra urna id iaculis. Vivamus nulla mauris, aliquam et neque pretium, mollis suscipit nisi.