8,856
editsAd placeholder
Template:Table feat: Difference between revisions
Jump to navigation
Jump to search
no edit summary
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> |