User:Crashaholic/ActionTemplate: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(made two params smarter...-ish)
(added NoSeo Option)
Line 1: Line 1:
<includeonly>{{PageSeo
<includeonly>{{#ifeq: {{{NoSeo}}} | 1 | {{blank}} | {{PageSeo
| description = {{{name|{{PAGENAME}}}}} {{{summary}}}
| description = {{{name|{{PAGENAME}}}}} {{{summary}}}
| image = {{#if: {{{image|}}} | {{{image|}}} | Alert Icon.png}}
| image = {{#if: {{{image|}}} | {{{image|}}} | Alert Icon.png}}
}}
}}}}
__NOTOC__
__NOTOC__
[[File:{{#if: {{{image|}}} | {{{image|}}} | Alert Icon.png}}|frameless|right]]
[[File:{{#if: {{{image|}}} | {{{image|}}} | Alert Icon.png}}|frameless|right]]
Line 48: Line 48:
| #default = *[[Saving Throw]]  
| #default = *[[Saving Throw]]  
}}{{#if: {{#pos:{{{save|}}}|,}}
}}{{#if: {{#pos:{{{save|}}}|,}}
| (On Save: {{#explode:{{{save|}}}|,|1}})
|- (On Save: {{#explode:{{{save|}}}|,|1}})
}}| {{blank}}
}}| {{blank}}
}}
}}
Line 70: Line 70:
<pre>
<pre>
{{User:Crashaholic/ActionTemplate
{{User:Crashaholic/ActionTemplate
| NoSeo
| description =
| description =
| image =
| image =
Line 95: Line 96:
! Description  
! Description  
! Usage  
! Usage  
|-
| {{C|NoSeo}}
|
|
|-
|-
| {{C|description}}
| {{C|description}}
Line 136: Line 141:
| recharge = {{Recharge|Long Rest}}
| recharge = {{Recharge|Long Rest}}
| duration = LR
| duration = LR
| save = DEX
| save = DEX, abc
| additional = * abcd
| additional = * abcd
| higherlevels = go far
| higherlevels = go far
Line 151: Line 156:
| recharge = {{Recharge|Long Rest}}
| recharge = {{Recharge|Long Rest}}
| duration = LR
| duration = LR
| save = DEX
| save = DEX, abc
| additional = * abcd
| additional = * abcd
| higherlevels = go far
| higherlevels = go far

Revision as of 16:30, 14 August 2023

This is a page to transclude to generate action pages. It is generally for pages that do not fit the {{SpellPage}} Template

If this is too egregious, do reach out to me on Discord and tell me if there are alternatives instead of using transclusion (which I'm trying to use for custom templates).

Usage

{{User:Crashaholic/ActionTemplate
| NoSeo
| description =
| image =
| summary =
| cost =
| concentration =
| damage =
| recharge =
| duration =
| range =
| aoe =
| save =
| additional = 
| higherlevels =
| learns =
| notes =
}}

The following is a table to further explain what each parameter takes, and how to use them.

Parameter Name Description Usage
NoSeo
description The in-game description of the action. This description is NOT for SEO 'See: summary'. description = Lorem ipsum
image The image that will be used in the page's SEO and be the page's main image.
IF THIS IS LEFT EMPTY, Alert Icon.png WILL BE USED INSTEAD!
image = Wiki_Link_To_Image_Here
summary The summary of the action. This will be used as the wiki's description as well as the SEO text. summary = Lorem Ipsum
cost The resource cost of the action. You can use the same parameters as with {{action}}, but you can add an additional resource to it as well.

For example:

  • If a skill takes a {{action|bonus}} and a Superiority Die (D8): | cost = bonus,[[File:Superiority_Die_d8_Icon.png|25px]]
  • If a skill takes an {{action}}: | cost = action
  • If a skill takes just a class resource like 2Ki Points: | cost = ,2{{User:Tc/Ki}}s
    • Result: 2Ki Points
cost = ({{action}} parameters), (text)

cost = ({{action}} parameters)
cost = , (text)

concentration If this skill is a concentration, type something here. Can be any value you want. Otherwise, leave it blank or delete the field entirely. concentration = This action is a concentration!

concentration=

Example

{{User:Crashaholic/ActionTemplate
| description = abc
| image = Fly Icon.png
| summary = fly you fools
| cost = action, 2{{User:Tc/Ki}}s
| damage = {{DamageInfo|1d4+1|Bludgeoning}}
| recharge = {{Recharge|Long Rest}}
| duration = LR
| save = DEX, abc
| additional = * abcd
| higherlevels = go far
| notes = bar
| learns = {{class|Monk}} 3
}}
Fly Icon.png

fly you fools

Description

abc

Properties

Action + 2Ki Points

  • abcd

At Higher Levels

go far

How to Learn

Monk 3

Notes

bar