User:Lavaeolus: Difference between revisions

Jump to navigation Jump to search
1,283 bytes removed ,  22 August 2023
Undo revision 36796 by Lavaeolus (talk)
No edit summary
(Undo revision 36796 by Lavaeolus (talk))
Tags: Replaced Undo
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a test version of [[Template:CharacterInfo]] where you enter the passives like this: <code>
I'm '''Lavaeolus'''. If you need to talk to me I'm currently on the Discord!
|passive1 = Attack of Opportunity
|passive2 = Darkvision
|passive3 = Something Else</code>
 
It then automatically finds an icon and page. If it detects that a page like [[Darkvision (Passive Feature)]] exists, it will automatically link to that instead. It only goes up to ''passive5''.
 
You can override its default assumptions with ''passive1img'' and ''passive1link'', etc. For instance: <code>|passive1img=Attack Of Opportunity Icon.png</code> will cause it to load that file. Alternatively, <code>|passive1img=none</code> will firmly tell it no icon image exists, don't bother to look for one; it's a way of dealing with false positives.
 
If it sees ''passive'' is in use, it'll use the current template format instead. Theoretically this means it wouldn't break every existing page if used. Theoretically.
 
{{User:Lavaeolus/Sandbox
|title = Eternal Protector of the Forge
|name = Grym
|image=[[File:Grym-npc.webp|350px]]
|STR=24
|DEX=6
|CON=24
|INT=3
|WIS=11
|CHA=1
|level=8
|race=Golem
|type=Construct
|HP=300
|AC=18
|slashing=Resistant
|piercing=Resistant
 
|passive1=Attack of Opportunity
|passive1img=Attack Of Opportunity Icon.png
|passive2=Darkvision
|passive3=Vengeful Guardian
|passive4=Adamantine Skin
|passive5=Intense Adamantine Backlash
}}

Navigation menu