Template:Table feat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(48 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>!rowspan="{{{rows|{{#expr: 1 + {{#if:{{{feature1|}}}| + 1 }} {{#if: {{{feature2|}}}| + 2 }} {{#if:{{{feature3|}}}| + 2 }} {{#if:{{{notes|}}}| + 2 }}}}}}}" scope="rowgroup" style="width:12%;"{{!}}{{anchor|{{{name|}}}}}{{{name|}}} | ||
{{#if: {{{description|}}} | {{!}} style="{{#if: {{{feature1|}}} {{{notes|}}} | border-bottom: 0;}}" {{!}}{{unbulleted list| | |||
{{#if: {{{description|}}} | {{!}} | {{{description|}}}}} | ||
{{!}}- | {{!}}-}} | ||
{{ | {{#if: {{{feature1|}}}| | ||
! scope="col" style="text-align: left; font-weight:normal;" {{!}} {{{feature1}}} | |||
{{!}}- | {{!}}- | ||
{{!}}{{unbulleted list| | |||
{{{description1|}}}}} | |||
{{!}}-}} | |||
{{#if: {{{feature2|}}}| | {{#if: {{{feature2|}}}| | ||
! scope="col" style="text-align: left; font-weight:normal;" {{!}} {{{feature2}}} | |||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}{{unbulleted list| | ||
{{{description2|}}}}} | |||
{{!}}-}} | |||
{{!}}- | |||
{{#if: {{{feature3|}}}| | {{#if: {{{feature3|}}}| | ||
! scope="col" style="text-align: left; font-weight:normal;" {{!}} {{{feature3}}} | |||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}{{unbulleted list| | ||
{{#if: {{{notes|}}}| | {{{description3|}}}}} | ||
{{!}}-}} | |||
{{#if: {{{notes|}}}| | |||
! scope="col" style="text-align: left; font-weight: normal;" {{!}} Notes | |||
{{!}}- | {{!}}- | ||
{{!}} {{notebegin}} | |||
{{{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%;}} | |||
{{feat table | {{feat table | ||
|name=Example Feat | |name=Example Feat | ||
|feature1 = Alert | |feature1 = {{Pass|Alert|w=30}} | ||
|description1 = This is an example feature description. | |description1 = | ||
|feature2 = Alert | * This is an example feature description. | ||
* This is an example feature description. | |||
|feature2 = {{Pass|Alert|w=30}} | |||
|description2 = This is an example feature description. | |description2 = This is an example feature description. | ||
|feature3 = Alert | |feature3 = {{Pass|Alert|w=30}} | ||
|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 41: | 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> |
Latest revision as of 22:10, 20 June 2024
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 |