Template:Type: Difference between revisions

From FiguraMC
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
Line 26: Line 26:
* {{type|Event}} (custom type that exists)
* {{type|Event}} (custom type that exists)
* {{type|CrashAPI}} (custom type that doesn't exist)
* {{type|CrashAPI}} (custom type that doesn't exist)
[[Template:Type/testcases|Testcases page.]]
</noinclude>
</noinclude>

Revision as of 19:44, 26 September 2024

Displays a type widget.

Chooses between...

  • Specialized template for built-in Lua types.
  • Specialized template for custom Figura types. If the page with [argument 1] (type) (i.e. disambiguated) exists, that page will be used instead of the plain name for the link.

Stylesheet: Template:Type/style.css (edit to add colors and decorations for custom types)

Examples

  • Template:Type/builtin
  • Template:Type/builtin
  • Template:Type/builtin
  • Template:Type/builtin
  • Template:Type/builtin
  • Template:Type/builtin
  • Template:Type/custom (custom type that exists)
  • Template:Type/custom (custom type that doesn't exist)

Testcases page.