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.
mNo edit summary
m (Text replacement - "<br>" to "<br/>")
 
Line 4: Line 4:


==Usage==
==Usage==
To use this template, place the following in the attributes section 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.}}

Latest revision as of 18:45, February 8, 2015

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