Template:Unknown
??? |
This template creates a table cell with a light grey background and black, larger heavy text which defaults to a triple question mark, as seen above. It is designed to generate a uniform appearance for common cell values in feature and comparison tables with minimal effort, alongside similar templates like these (each a link to its own template page):
Usage
The template will only function properly when used inside of the standard wikicode for tables, following the pipe character(s) which indicate the start of a new table cell. In practice, it looks like this when editing and then when parsed:
{| class="wikitable"
! scope="col" | Template documented?
! scope="col" | Template categorized?
|-
| {{Unknown}}
| {{Yes}}
|}
Template documented? | Template categorized? |
---|---|
??? | Yes |
Custom text
The triple question marks that are the cell's default contents can be replaced with any text desired, simply by assigning it as the value of the |1=
parameter or passing it as the only unnamed parameter. For example, calling this template as either {{Unknown|T.B.D.}} or {{Unknown|1=T.B.D.}} both produce the following table cell:
T.B.D. |
Parameters
Changes to the template's appearance when parsed are accomplished by adding parameters to the template call in the form of {{Unknown|name=value}}. Use as many or as few as needed to accomplish the desired appearance.
Name | Value |
---|---|
|1=
|
Replaces the default ??? cell contents, can include wiki markup syntax (may also be provided as the only unnamed parameter) |
|align=
|
Aligns the cell contents to either of the horizontal margins, rather than the default center alignment; valid values are left or right |
|bgcolor=
|
Specify a different background color — values may be:
|
|style=
|
Any other CSS3 inline style elements desired, in addition to or instead of, the default formatting (each one terminated with a semicolon) |
Default style
This template uses the following CSS elements as its defaults. Those without an explicit override parameter above can still be changed, if necessary, by adding them as a value for the |style=
parameter and affixing them with a space and !important placed before the terminating semicolon.
<td style="background-color: #d3d3d3; color: black; font-size: 1.08em; font-weight: 800; padding: 0.2em 0.67em; text-align: center; vertical-align: middle;">
An example of such an override (in this instance changing the font-weight parameter, which controls the level of typeface boldness, to the light semi-bolded value of 500) would look like:
??? |
See also
- {{Yes}}
- {{No}}
- {{NA}}
- {{Enabled}}
- {{Disabled}}
- {{Partial}}
- {{Wip}}
- {{Beta}}
- Category:Formatting templates
- Category:Table cell templates