Template:Table feat: Difference between revisions
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.}} | ||
{{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 00:02, 22 December 2023
Template documentation
Name | Description |
---|---|
Example Feat | |
| |
This is an example feature description.
| |
This is an example feature description.
| |
Example Feat 2 |
This is an example description.
|
Notes | |
|
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Rows | rows | Specify how many rows the name column will take up. Usually not needed to add this. | Unknown | optional |
First feature name | feature1 | Name of the first feature given by this feat | Unknown | optional |
Second feature name | feature2 | Name of the second feature. | Unknown | optional |
Third feature name | feature3 | no description | Unknown | optional |
Notes | notes | Add notes, in the form of a bullet list. | Unknown | optional |
Feat name | name | The name of the feat | Unknown | required |
Description | description | Description of the feat. Usually only needed for feats that don't give features | Unknown | optional |
First feature description | description1 | A description of the first feature, in the form of a bullet list | Unknown | optional |
Second feature description | description2 | A description of the second feature, in the form of a bullet list | Unknown | optional |
Third feature description | description3 | A description of the third feature, in the form of a bullet list | Unknown | optional |