Template:Partial

From FlightGear wiki
Revision as of 09:02, 21 June 2014 by Johan G (talk | contribs) (Some examples of alternative text; Doc style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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