Template:Blank cell/doc

From Create: Minecraft Mod Wiki
Revision as of 09:26, 14 April 2021 by Create: Minecraft Mod Wiki>Joker876 (Created page with "{{Documentation subpage}} {{Template shortcut|Bc}} When a cell is empty, this template should be added if the reason for it being blank is there is no information to be added....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Blank cell.
It contains usage information, categories and other content that is not part of the original template page.
Template shortcut

When a cell is empty, this template should be added if the reason for it being blank is there is no information to be added. If the information is simply missing/needed, this template should not be used. This template uses this CSS to style this template:

.wikitable td { overflow: hidden; }
.blankCell {
    cursor:not-allowed;
    background:rgba(150,150,150,0.15);
    text-align:center;
    font-size:65%;
    color:rgba(58, 58, 58, 0.35);
    padding: 100px;
    margin: -100px;
}

Syntax

{{Blank cell
|data-sort-value = (optional) allows you to specify the cell's data type
}}

data-sort-value can be useful when wanting to sort a table.

Example

{| class="wikitable oddrow"
!Col1
!Col2
!Col3
|-
|Normal
|{{blank cell}}
|Normal
|-
|Normal
|Normal
|{{blank cell}}
|-
|Normal
|Normal
|{{blank cell}}
|}
Col1 Col2 Col3
Normal Normal
Normal Normal
Normal Normal