Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
Template:Extract/doc
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Sortable == The sort options are: {| class="wikitable" ! Parameter !! Description |- | <code>prefix=''text''</code>|| Insert the given ''text'' before the result but after any sort key. |- | <code>sortable=off</code> || No sort key (default). |- | <code>sortable=on</code> || Output a hidden sort key for use in '''sortable tables'''. |- | <code>sortable=table</code> || Insert a sort key using table syntax <code>data-sort-value="''value''"|</code>. |- | <code>sortable=debug</code> || Same as <code>sortable=on</code> but the sort key is displayed for testing. |} The sort key is calculated from the <code>juliandate</code> value. For a partial date such as May 2016, the first day in the range is used (1 May 2016). If wanted, <code>show=hide</code> can be used so the date is not displayed. The <code>prefix</code> parameter allows the insertion of text that will not interfere with sorting. For example, <code><nowiki>{{extract|500 BC|prefix=c.|partial=on|sortable=on}}</nowiki></code> outputs a hidden sort key followed by "c. 500 BC". Examples: *<code><nowiki>{{extract|1 Jan 2001|sortable=on}}</nowiki></code> β {{extract|1 Jan 2001|sortable=on}} *<code><nowiki>{{extract|1 Jan 2001|sortable=on|show=hide}}</nowiki></code> β {{extract|1 Jan 2001|sortable=on|show=hide}} *<code><nowiki>{{extract|2300 BCE|partial=on|sortable=debug}}</nowiki></code> β {{extract|2300 BCE|partial=on|sortable=debug}} *<code><nowiki>{{extract|1 Jan 2001|sortable=debug}}</nowiki></code> β {{extract|1 Jan 2001|sortable=debug}} *<code><nowiki>{{extract|1 Jan 2001|sortable=debug|show=hide}}</nowiki></code> β {{extract|1 Jan 2001|sortable=debug|show=hide}} *<code><nowiki>{{extract|00:12 1 Jan 2001|sortable=debug|show=hide}}</nowiki></code> β {{extract|00:12 1 Jan 2001|sortable=debug|show=hide}}
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
This page is a member of a hidden category:
Category:Pages with script errors
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs