Ad placeholder

User:Crashaholic/ActionTemplate: Difference between revisions

Jump to navigation Jump to search
beeg chenge
(WIP)
Tags: Mobile edit Mobile web edit
(beeg chenge)
Line 21: Line 21:
}}}}
}}}}
{{trim|{{#if: {{{concentration|}}} | * {{Concentration}} | {{blank}}}}}}
{{trim|{{#if: {{{concentration|}}} | * {{Concentration}} | {{blank}}}}}}
{{trim|{{#if: {{{damage|}}} | * {{{damage}}}| {{blank}}}}}}
{{trim|{{#if: {{{damage|}}} | * {{{damage}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{recharge|}}} | * {{{recharge}}}| {{blank}}}}}}
{{trim|{{#if: {{{recharge|}}} | * {{{recharge}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{duration|}}} | * {{Duration|{{{duration}}}}}| {{blank}}}}}}
{{trim|{{#if: {{{duration|}}} | * {{Duration|{{{duration}}}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{range|}}} | * {{{range}}}| {{blank}}}}}}
{{trim|{{#if: {{{range|}}} | * {{{range}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{aoe|}}} | * {{{aoe}}}| {{blank}}}}}}
{{trim|{{#if: {{{aoe|}}} | * {{{aoe}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{save|}}} | * {{SmallIcon|Save Throw Icons.png}}{{{save}}}| {{blank}}}}}}
{{trim|{{#if: {{{save|}}} | * {{SmallIcon|Save Throw Icons.png}}{{{save}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->
{{trim|{{#if: {{{additional|}}} | {{{additional}}}| {{blank}}}}}}
{{trim|{{#if: {{{additional|}}} | {{{additional}}}| {{blank}}}}}}  


{{#if: {{{higherlevels|}}} | == At Higher Levels ==}}
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}}
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}} }}}}
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter -->


{{#if: {{{learns|}}} | == How to Learn ==}}
{{#if: {{{learns|}}} | == How to Learn ==}}
{{trim|{{#if: {{{learns|}}} | {{{learns|}}}}}}}
{{trim|{{#if: {{{learns|}}} | {{{learns|}}}}}}} <!-- TODO: make this a bit smarter -->


{{clear}}
{{clear}}
Line 61: Line 61:
}}
}}
</pre>
</pre>
The following is a table to further explain what each parameter takes, and how to use them.
{| class="wikitable" style="width: 100%;"
|-
| Parameter Name
| Description
| Usage
|-
| {{C|description}}
| The in-game description of the action. This description is NOT for SEO 'See: summary'.
| <code>description = Lorem ipsum</code>
|-
| {{C|image}}
| The image that will be used in the page's SEO and be the page's main image.
| <code>image = Wiki_Link_To_Image_Here</code>
|-
| {{C|summary}}
| The summary of the action. This will be used as the wiki's description as well as the SEO text.
| <code>summary = Lorem Ipsum</code>
|-
| {{C|cost}}
| The resource cost of the action. You can use the same parameters as with <code><nowiki>{{action}}</nowiki></code>, but you can add an additional resource to it as well.
For example:
* If a skill takes a <code><nowiki>{{action|bonus}}</nowiki></code> and a [[Battle Master|Superiority Die]] (D8): <code><nowiki>| cost = bonus,[[File:Superiority_Die_d8_Icon.png|25px]]</nowiki></code>
** Result: <code>{{action|bonus}} + [[File:Superiority_Die_d8_Icon.png|25px]]</code>
* If a skill takes an <code><nowiki>{{action}}</nowiki></code>: <code><nowiki>| cost = action</nowiki></code>
** Result: <code>{{action}}</code>
* If a skill takes just a class resource like 2{{User:Crashaholic/KiShort}}s: <code><nowiki>| cost = ,2{{User:Crashaholic/KiShort}}s</nowiki></code>
** Result: <code>2{{User:Crashaholic/KiShort}}s</code>
| <code>cost = (<nowiki>{{action}}</nowiki> parameters), (text)</code><br/>
<code>cost = (<nowiki>{{action}}</nowiki> parameters)</code><br/>
<code>cost = , (text)</code>
|-
| {{C|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.
| <code>concentration = This action is a concentration!</code>
<code>concentration=</code>
|}
=Example=
=Example=
{{User:Crashaholic/ActionTemplate
{{User:Crashaholic/ActionTemplate

Navigation menu