Template:Enum/doc: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Camoy No edit summary |
||
Line 1: | Line 1: | ||
{{EmphasisBox|I kind of got tired of looking at messy wikitables as the Enums. So I created this easy to use template in order to remedy that. Introducing *drumroll* the Enum template. Here is how it works. | {{EmphasisBox/start|grey}} | ||
{{Example|< | I kind of got tired of looking at messy wikitables as the Enums. So I created this easy to use template in order to remedy that. Introducing *drumroll* the Enum template. Here is how it works. | ||
{{Example|<pre><nowiki> | |||
{{Enum|Description Goes Here.| | {{Enum|Description Goes Here.| | ||
{{Enum/row|0|Name|Description}} | {{Enum/row|0|Name|Description}} | ||
Line 6: | Line 7: | ||
{{Enum/row|2|Name|Description}} | {{Enum/row|2|Name|Description}} | ||
}} | }} | ||
</ | </nowiki></pre>}} | ||
Easy as pie. <span style="font-size:xx-small; vertical-align:top; color: grey">[[Camoy]] • [[Special:Contributions/Camoy|Contribs]] (December 26 2010)</span> | Easy as pie. <span style="font-size:xx-small; vertical-align:top; color: grey">[[Camoy]] • [[Special:Contributions/Camoy|Contribs]] (December 26 2010)</span> | ||
}} | {{EmphasisBox/end}} | ||
<br /> | |||
{{Enum|The PartType [[Enum]] controls the shape of an object (Such as Part). It holds 3 values.| | {{Enum|The PartType [[Enum]] controls the shape of an object (Such as Part). It holds 3 values.| | ||
{{Enum/row|0|Ball|Makes the object ball-shaped (not a mesh).}} | {{Enum/row|0|Ball|Makes the object ball-shaped (not a mesh).}} |
Revision as of 21:40, 26 December 2010
I kind of got tired of looking at messy wikitables as the Enums. So I created this easy to use template in order to remedy that. Introducing *drumroll* the Enum template. Here is how it works.
Example
{{Enum|Description Goes Here.| {{Enum/row|0|Name|Description}} {{Enum/row|1|Name|Description}} {{Enum/row|2|Name|Description}} }}
![]() | ||
Enum | Name | Description |
0 | Ball | Makes the object ball-shaped (not a mesh). |
1 | Block | Makes the object brick-shaped. (not a mesh). |
2 | Cylinder | Makes the object cylinder-shaped (actually a ball, but looks like a cylinder). |