Difference between revisions of "Template:~"

From Emulation General Wiki
Jump to navigation Jump to search
m (changed to make it more unified with {{✓}} and {{✗}})
m
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude>{| class="wikitable"
 
<noinclude>{| class="wikitable"
 
|-
 
|-
|</noinclude>data-sort-value="{{{sort|Yes}}}" style="background: {{{color|PapayaWhip}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-yes2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} |{{{text|~}}}<noinclude>
+
|</noinclude>data-sort-value="{{{sort|Yes}}}" style="background: {{{color|PapayaWhip}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-partially" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} |{{{text|~}}}<noinclude>
 
|}
 
|}
[[Category:Table cell templates]]
+
 
 +
If you want to use other attributes in the cell, e.g. colspan or rowspan, they need to be put ''before'' the template call, and there must be no vertical bar <code>|</code> in between them:
 +
 
 +
{|
 +
|'''This:''' || <code><nowiki>|colspan=2 {{~}}</nowiki></code>
 +
|-
 +
|'''Not:'''  || <code><nowiki>|colspan=2|{{~}}</nowiki></code>
 +
|}
 +
 
 +
[[Category:Table cells]][[Category:Tables templates|*]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:23, 23 March 2024

~

If you want to use other attributes in the cell, e.g. colspan or rowspan, they need to be put before the template call, and there must be no vertical bar | in between them:

This: |colspan=2 {{~}}
Not: |colspan=2|{{~}}