Template:Data: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created template)
 
mNo edit summary
Line 4: Line 4:


==Usage==
==Usage==
To use this template, type the following in the option area of a cell or column header:<br>
To use this template, place the following in the attributes section of a cell or column header:<br>
{{Usage|Type}}
{{Usage|Type}}
{{Usage/Param|Type|Data type of the cell.}}
{{Usage/Param|Type|Data type of the cell.}}

Revision as of 18:55, October 10, 2012

Purpose

This template sets a column or cell's data sorting type in tables with the sortable class.

Usage

To use this template, place the following in the attributes section of a cell or column header:
{{Data| Type }}

  • Type — Data type of the cell.

The following data types are available (case-insensitive):

  • text
  • number
  • IPAddress
  • currency
  • url
  • isoDate
  • usLongDate
  • date
  • time