Template:Legend/doc: Difference between revisions

Template page
(Created page with "This template is used to indicate what colors mean in this context. It's often paired with Template:FrameTable. == Usage == <syntaxhighlight lang="html"> {{Legend |float...")
 
No edit summary
 
(3 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 32: Line 34:
|green=Crouch
|green=Crouch
}}
}}
<div style="clear: both"></div>

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