Template:Type: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
>JulienDethurens
I hope this works.
Line 11: Line 11:
{{type|instance=Weld|Welds}}
{{type|instance=Weld|Welds}}
{{type|string|string|strings}}
{{type|string|string|strings}}
{{type|enum=Material}}
{{type|enum=CreatorType|CreatorTypes}}
</code>
</code>
===Result===
===Result===
Line 22: Line 24:
{{type|instance=Weld|Welds}}
{{type|instance=Weld|Welds}}
{{type|string|string|strings}}
{{type|string|string|strings}}
{{type|enum=Material}}
{{type|enum=CreatorType|CreatorTypes}}
==Notes==
The first argument when using the template for instances/enums and the third argument when using the template for basic types should <strong>only</strong> be used for things like adding "s" for plural. Also, the second argument when using the template for basic types should only be used when you really need to redirect to another page and that page is strictly about the type.


<includeonly><onlyinclude>{{if|{{{instance|}}}|[[RBX.lua.{{{instance|}}} (Object)|<span style="color: darkgreen; font-weight: normal;">{{{1|{{{instance|}}}}}}</span>]]|[[{{{2|{{{1|}}}}}}|<span style="color: darkgreen; font-weight: normal;">{{{3|{{{1|}}}}}}</span>]]}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{if|{{{instance|}}}|[[RBX.lua.{{{instance|}}} (Object)|<span style="color: darkgreen; font-weight: normal;">{{{1|{{{instance|}}}}}}</span>]]|{{if|{{{enum|}}}|[[{{{enum|}}} (Enum)|<span style="color: darkgreen; font-weight: normal;">{{{1|{{{enum|}}}}}}</span>]]|[[{{{2|{{{1|}}}}}}|<span style="color: darkgreen; font-weight: normal;">{{{3|{{{1|}}}}}}</span>]]}}}}</onlyinclude></includeonly>

Revision as of 03:30, 15 February 2012

Examples

Code

string thread function bool number BasePart Vector3 Welds strings Material CreatorTypes

Result

string thread function bool number BasePart Vector3 Welds strings Material CreatorTypes

Notes

The first argument when using the template for instances/enums and the third argument when using the template for basic types should only be used for things like adding "s" for plural. Also, the second argument when using the template for basic types should only be used when you really need to redirect to another page and that page is strictly about the type.