Template:Infobox Enum: Difference between revisions

Template page
Need proper info box styling, good enough for now.
 
Add link to enum category
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{| style="float: right"
<onlyinclude><includeonly>{| class="infobox" style="float: right; clear: right"
|+ Enum
|+ {{#if: {{{nested|}}}|[[:Category:Components With Nested Enums|Nested Enum]]|[[:Category:Enums|Enum]]}}
|-
|-
|'''Name'''
|'''Name:'''
|{{{name}}}
|{{{name}}}
|-
|-
|'''Full type'''
|'''Type:'''
|<code>{{{type}}}</code>
|<code>{{{type}}}</code>
|}</includeonly></onlyinclude>
|} {{#if: {{{nested|}}}||[[Category:Enums]]}}</includeonly></onlyinclude>


== Example ==
== Example ==
Line 14: Line 14:
|name=Filtering
|name=Filtering
|type=Elements.Assets.Filtering}}
|type=Elements.Assets.Filtering}}
Test float
{{Infobox Enum
|name=Filtering
|type=Elements.Assets.Filtering
|nested=true}}
Test float

Latest revision as of 17:22, 7 March 2024


Example

Enum
Name: Filtering
Type: Elements.Assets.Filtering

Test float


Nested Enum
Name: Filtering
Type: Elements.Assets.Filtering

Test float