Template:X: Difference between revisions

From EHWiki
Jump to navigationJump to search
Ichizon (talk | contribs)
Template for displaying an X in tables where no data exists.
 
Ichizon (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>{| class="wikitable"
<noinclude>Template: <nowiki>{{X}}</nowiki> in column 1 displays an X.
! scope="col" style="width: 100px; text-align: center;" | Table
 
Template: <nowiki>{{X|2}}</nowiki> in column 2 spans an X to column 3.
 
Template: <nowiki>{{X|Q}}</nowiki> in column 4 displays a ?.
 
Template: <nowiki>{{X|3|Q}}</nowiki> in column 5 spans a ? to column 7.
 
{| class="wikitable" style="text-align: center;"
! scope="col" style="width: 100px; text-align: center;" | Column 1
! scope="col" style="width: 100px; text-align: center;" | Column 2
! scope="col" style="width: 100px; text-align: center;" | Column 3
! scope="col" style="width: 100px; text-align: center;" | Column 4
! scope="col" style="width: 100px; text-align: center;" | Column 5
! scope="col" style="width: 100px; text-align: center;" | Column 6
! scope="col" style="width: 100px; text-align: center;" | Column 7
|-
|-
|</noinclude>{{#if: {{{1|}}} | colspan="{{{1}}}" |}} style="background: #f2f2f2; text-align: center;" | X
|</noinclude>{{#if: {{{1|}}} | colspan="{{{1}}}" |}} style="{{#if: {{{Q|}}} | | background: #f2f2f2; }} text-align: center;" | {{#if: {{{Q|}}} | ? | X}}<noinclude>
<noinclude>
| colspan="2" style="background: #f2f2f2; text-align: center;" | X
|}</noinclude>
| style="text-align: center;" | ?
| colspan="3" style="text-align: center;" | ?
|}
 
</noinclude>

Revision as of 22:26, 19 January 2016

Template: {{X}} in column 1 displays an X.

Template: {{X|2}} in column 2 spans an X to column 3.

Template: {{X|Q}} in column 4 displays a ?.

Template: {{X|3|Q}} in column 5 spans a ? to column 7.

Column 1 Column 2 Column 3 Column 4 Column 5 Column 6 Column 7
X X ? ?