Template:Legend: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 28: Line 28:
<td>{{{purple}}}</td>
<td>{{{purple}}}</td>
</tr>}}
</tr>}}
</table>
</table></includeonly><noinclude>{{documentation}}</noinclude>
</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 14:50, 9 January 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