Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Type: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
Line 19: Line 19:


== Examples ==
== Examples ==
* {{type|nil}}
* {{type|nil}} <code><nowiki>{{type|nil}}</nowiki></code>
* {{type|number}}
* {{type|number}}
* {{type|string}}
* {{type|string}}
Line 27: Line 27:
* {{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)
* {{type|PenguinEncounter|User:PenguinEncounter}} (links to [[User:PenguinEncounter]])
* {{type|PenguinEncounter|User:PenguinEncounter}} (links to [[User:PenguinEncounter]]) <code><nowiki>{{type|PenguinEncounter|User:PenguinEncounter}}</nowiki></code>
[[Template:Type/testcases|Testcases page.]]
[[Template:Type/testcases|Testcases page.]]
</noinclude>
</noinclude>

Revision as of 19:53, 26 September 2024

Displays a type widget.

Chooses between...

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

Examples

  • Template:Type/builtin {{type|nil}}
  • 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)
  • Template:Type/link (links to User:PenguinEncounter) {{type|PenguinEncounter|User:PenguinEncounter}}

Testcases page.

Contents