Template:Table feat: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{!}}rowspan="{{{rows|}}}" style="font-weight: bold; width:25%;"{{!}}{{anchor|{{{name|}}}}}{{{name|}}}
<includeonly>{{!}}rowspan="{{{rows|{{#expr: 1 + {{#if:{{{feature1|}}}| + 1 }} {{#if: {{{feature2|}}}| + 2 }} {{#if:{{{feature3|}}}| + 2 }} {{#if:{{{notes|}}}| + 2 }}}}}}}" style="font-weight: bold; width:25%;"{{!}}{{anchor|{{{name|}}}}}{{{name|}}}
{{#if: {{{description|}}} | {{!}} style="border-bottom: #2b2b2b dashed 1px;" {{!}}{{unbulleted list|
{{#if: {{{description|}}} | {{!}} style="border-bottom: #2b2b2b dashed 1px;" {{!}}{{unbulleted list|
{{{description|}}}}}
{{{description|}}}}}
Line 27: Line 27:
{{{notes|}}}
{{{notes|}}}
{{noteend}}
{{noteend}}
{{!}}-}}
{{!}}-}}</includeonly><noinclude>{{documentation|content=
</includeonly><noinclude>{{documentation|content=
{{table start|colspan1=1|header1=Name|colspan2=1|header2=Description|style=margin:auto; width:100%; padding:0;}}
{{table start|colspan1=1|header1=Name|colspan2=1|header2=Description|style=margin:auto; width:100%; padding:0;}}
{{feat table
{{feat table
Line 39: Line 38:
|description2 = This is an example feature description.
|description2 = This is an example feature description.
|feature3 = Alert
|feature3 = Alert
|description3 = This is an example feature description.
|description3 = This is an example feature description.}}
|rows = 6}}
{{feat table
{{feat table
|name=Example Feat 2
|name=Example Feat 2
Line 49: Line 47:
* This is a second note.}}
* This is a second note.}}
{{table end}}
{{table end}}
}}
 
== Template data ==
<templatedata>
{
"params": {
"rows": {
"label": "Rows",
"description": "Specify how many rows the name column will take up. Usually not needed to add this. "
},
"feature1": {
"label": "First feature name",
"description": "Name of the first feature given by this feat"
},
"feature2": {
"label": "Second feature name",
"description": "Name of the second feature."
},
"feature3": {
"label": "Third feature name"
},
"notes": {
"label": "Notes",
"description": "Add notes, in the form of a bullet list."
},
"name": {
"label": "Feat name",
"description": "The name of the feat",
"required": true
},
"description": {
"label": "Description",
"description": "Description of the feat. Usually only needed for feats that don't give features"
},
"description1": {
"label": "First feature description",
"description": "A description of the first feature, in the form of a bullet list"
},
"description2": {
"label": "Second feature description",
"description": "A description of the second feature, in the form of a bullet list"
},
"description3": {
"label": "Third feature description",
"description": "A description of the third feature, in the form of a bullet list"
}
}
}
</templatedata>}}</noinclude>

Revision as of 01:02, 22 December 2023

Template documentation
Name Description
Example Feat Alert Alert
  • This is an example feature description.
  • This is an example feature description.
Alert Alert
This is an example feature description.
Alert Alert
This is an example feature description.
Example Feat 2
This is an example description.
Notes
  • This is a note.
  • This is a second note.

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Rowsrows

Specify how many rows the name column will take up. Usually not needed to add this.

Unknownoptional
First feature namefeature1

Name of the first feature given by this feat

Unknownoptional
Second feature namefeature2

Name of the second feature.

Unknownoptional
Third feature namefeature3

no description

Unknownoptional
Notesnotes

Add notes, in the form of a bullet list.

Unknownoptional
Feat namename

The name of the feat

Unknownrequired
Descriptiondescription

Description of the feat. Usually only needed for feats that don't give features

Unknownoptional
First feature descriptiondescription1

A description of the first feature, in the form of a bullet list

Unknownoptional
Second feature descriptiondescription2

A description of the second feature, in the form of a bullet list

Unknownoptional
Third feature descriptiondescription3

A description of the third feature, in the form of a bullet list

Unknownoptional