Template:Partial: Difference between revisions

Template page
*>Southen
No edit summary
m (23 revisions imported: Imported from https://strategywiki.org/)
 
(16 intermediate revisions by 12 users not shown)
Line 1: Line 1:
style="background: #ffffdd;" | {{{1|Partial}}}<noinclude>
class="table-partial" style="background-color: #ffffdd;" | {{{1|Partial}}}<noinclude>
----
{{Documentation}}
This template is designed to be used in a table to make a cell with "Partial" in that cell, with a yellow background.


Example:
[[Category:Templates]]</noinclude>
{|style="font-size: 85%; text-align: center;" class="wikitable"
|Example:
|{{partial}}
|}
 
== See also ==
* [[Template:Yes]]
* [[Template:No]]
* [[Template:Yes-No]]
* [[Template:But yes]]
* [[Template:But no]]
 
[[hu:Sablon:Részlegesen]]
</noinclude>

Latest revision as of 18:29, 28 October 2023

class="table-partial" style="background-color: #ffffdd;" | Partial This page has been transcluded from Template:Partial/Documentation.


{{no}} {{no2}}
No No
{{yes}} {{yes2}}
Yes Yes
{{free}} {{nonfree}}
Free $ ?
{{n/a}} {{partial}}
N/A Partial
{{unknown}} {{spoilercell}}
Unknown
{{{1}}}

These templates are used to add standard formatting to table cells. All templates accept one parameter: the contents of the cell. Default values are shown in the table to the right.

Usage[edit source]

These templates rely on the style and class attributes of the table cell and add a pipe (|) at the end to close off the cell attributes area. Cell attributes go in the following places:

Single line
| normal cell ||cell attributes| modified cell
Multiple lines
| normal cell
|cell attributes| modified cell

If you are not already using the cell parameters, simply insert the template as you would normal content:

| normal cell || {{no}}

If you are modifying the cell contents, i.e. with colspan, rowspan, width, etc., then do not add the closing pipe between your attributes and the cell content:

| normal cell || colspan="2" {{no}}