Template:Yes: Difference between revisions

From Zoo Wiki
Created page with "{{Table cell|1={{{1|Yes}}}|rowspan={{{rowspan|1}}}|colspan={{{colspan|1}}}|align={{{align|center}}}|style=background:#9EFF9E;|class=table-yes|sort={{{sort|}}}}}<noinclude> <templatedata> { "params": { "1": { "description": "Text to show in the cell", "type": "string", "default": "Yes" }, "rowspan": { "description": "How many rows the cell should take up", "example": "2", "type": "number", "default": "1", "suggested": true }, "colspan":..."
 
mNo edit summary
 
Line 39: Line 39:
}
}
</templatedata>
</templatedata>
[[Category:Table cell templates]]
</noinclude>
</noinclude>

Latest revision as of 17:44, 22 May 2024

data-sort-value="" rowspan="1" colspan="1" style="vertical-align: middle; text-align: center; background:#9EFF9E;" class="table-yes" | Yes

Adds a "Yes" cell to tables

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

Text to show in the cell

Default
Yes
Stringoptional
rowspanrowspan

How many rows the cell should take up

Default
1
Example
2
Numbersuggested
colspancolspan

How many columns the cell should take up

Default
1
Example
2
Numbersuggested
alignalign

Align the text to the start or end of a cell

Default
center
Example
start, end
Stringsuggested
stylestyle

Custom CSS to apply to the cell

Example
background-color: red;
Stringoptional
sortsort

no description

Unknownoptional