Template:Enum top
Jump to navigation
Jump to search
This is one of three helper templates for displaying enum values on an article. They are
- {{Enum top}}
- {{Enum value}}
- {{Enum bottom}}
They must always be used together to build a full table of values.
Usage
{{Enum top|Caption}} {{Enum field|name|value|description}} {{Enum field|name|value|description}} ... {{Enum bottom}}
Example
{{Enum top|FGS}} {{Enum value|FGS_FirstClue|0x1}} {{Enum value|FGS_HalfClues|0x2}} {{Enum value|FGS_AllClues|0x4}} {{Enum value|FGS_FirstVault|0x8}} {{Enum value|FGS_SecondVault|0x10}} {{Enum bottom}}
Name | Value | Description |
---|---|---|
FGS_FirstClue | 0x1 | |
FGS_HalfClues | 0x2 | |
FGS_AllClues | 0x4 | |
FGS_FirstVault | 0x8 | |
FGS::SecondVault | 0x10 |
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Enum top
Used to indicate the start of a set of enum values in an article.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
- {{Enum value}}
- {{Enum bottom}}
- {{Struct top}}