Template:Partial

From FlightGear wiki
Jump to navigation Jump to search
Partial
The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used to highlight a "Partial" in a table.

Usage

{{partial|alternative text|attributes}}

Both parameters are optional.

alternative text
Alternative text to show instead of the default Partial. For example Any, Maybe, Neutral, Pending, Possibly, Some, Wait and Yes/No.
attributes
XHTML attributes. Note that an equal sign = will break the template and {{=}} will have to be used. For example colspan{{=}}"2".

Examples

{| class="wikitable"
! Template !! v. 2.10 !! 2.12 !!
|-
| {{tl|partial}} || {{partial}} || {{partial|Maybe}}
|}
Template v. 2.10 2.12
{{partial}} Partial Maybe

Using additional xhtml attributes

{| class="wikitable"
! Template !! v. 2.10 !! 2.12
|-
| {{tl|partial}} || {{partial||colspan{{=}}"2"}}
|}
Template v. 2.10 2.12
{{partial}} Partial

Related templates