Template:Legend/doc: Difference between revisions

Template page
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is used to indicate what colors mean in this context. It's often paired with [[Template:FrameTable]].
This template is used to indicate what colors mean in a certain context. It's often paired with [[Template:FrameTable]].
 
The order of the colors is fixed, but this behavior might change and shouldn't be relied on.


== Usage ==
== Usage ==
Line 28: Line 30:


{{Legend
{{Legend
|float=right
|blue=Neutral
|blue=Neutral
|green=Crouch
|green=Crouch
}}
}}

Latest revision as of 08:07, 22 September 2021

This template is used to indicate what colors mean in a certain context. It's often paired with Template:FrameTable.

The order of the colors is fixed, but this behavior might change and shouldn't be relied on.

Usage

{{Legend
|float=right
|blue=Neutral
|green=Crouch
}}

Parameters

Parameter Default Description
float Make the legend float. Valid values are right, left, and blank.
<color> The meaning of <color> in this context. Available colors are red, orange, yellow, green, teal, blue, and purple.

Example

Neutral
Crouch