• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

User:Σ/Testing facility/Sgn

  • User page
  • Talk
  • Language
  • Watch
  • Edit
< User:Σ | Testing facility
Documentation[view] [edit] [history] [purge]

This template evaluates its numeric parameter and returns its mathematical sign. If the parameter is empty or missing, it returns an empty string. Otherwise, the return value is 1 if the parameter is positive, 0 if it is null, -1 if negative.

Syntax:
{{Σ/Testing facility|value}}
Examples:
  • "{{Σ/Testing facility|100}}" = "
  • https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=stable&leprop=title%7Ctimestamp&format=jsonfm
  • https://en.wikipedia.org/w/api.php?action=query&prop=info%7Cflagged%7Crevisions&rvprop=flagged%7Cids&inprop=protection&titles=Qnet&format=jsonfm

Username? Content? Warning templates? Editcount? On HG's whitelist?

  1. Light-year
  2. Kilogram
  3. Knot (unit)
06:26, 4 November 2013 (diff | hist) . . (-250,599)‎ . . m User talk:Liz ‎ (Robot: Archiving 107 threads (older than 31d) to User talk:Liz/Archive 2, User talk:Liz/Archive 3, User talk:Liz/Archive 1, User talk:Liz/Archive 4.)
06:26, 4 November 2013 (diff | hist) . . (+52,214)‎ . . N User talk:Liz/Archive 4 ‎ (Robot: Archiving 29 threads from User talk:Liz.) (current)
06:26, 4 November 2013 (diff | hist) . . (+72,346)‎ . . N User talk:Liz/Archive 3 ‎ (Robot: Archiving 30 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+71,720)‎ . . N User talk:Liz/Archive 2 ‎ (Robot: Archiving 38 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+54,582)‎ . . m User talk:Liz/Archive 1 ‎ (Robot: Archiving 10 threads from User talk:Liz. (ARCHIVE FULL)) (current) [rollback: 1 edit] 

Contents

  • 1 Coal balls
  • 2 Coal balls
  • 3 Coal balls
  • 4 Coal balls
  • 5 Coal balls
  • 6 Coal balls

Coal balls

edit

Coal balls. →Σσς. (Sigma) 08:39, 12 November 2013 (UTC)


Exception hierarchy".

  • "{{Σ/Testing facility|0.1}}" = "
  • https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=stable&leprop=title%7Ctimestamp&format=jsonfm
  • https://en.wikipedia.org/w/api.php?action=query&prop=info%7Cflagged%7Crevisions&rvprop=flagged%7Cids&inprop=protection&titles=Qnet&format=jsonfm

Username? Content? Warning templates? Editcount? On HG's whitelist?

  1. Light-year
  2. Kilogram
  3. Knot (unit)
06:26, 4 November 2013 (diff | hist) . . (-250,599)‎ . . m User talk:Liz ‎ (Robot: Archiving 107 threads (older than 31d) to User talk:Liz/Archive 2, User talk:Liz/Archive 3, User talk:Liz/Archive 1, User talk:Liz/Archive 4.)
06:26, 4 November 2013 (diff | hist) . . (+52,214)‎ . . N User talk:Liz/Archive 4 ‎ (Robot: Archiving 29 threads from User talk:Liz.) (current)
06:26, 4 November 2013 (diff | hist) . . (+72,346)‎ . . N User talk:Liz/Archive 3 ‎ (Robot: Archiving 30 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+71,720)‎ . . N User talk:Liz/Archive 2 ‎ (Robot: Archiving 38 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+54,582)‎ . . m User talk:Liz/Archive 1 ‎ (Robot: Archiving 10 threads from User talk:Liz. (ARCHIVE FULL)) (current) [rollback: 1 edit] 

Coal balls

edit

Coal balls. →Σσς. (Sigma) 08:39, 12 November 2013 (UTC)


Exception hierarchy".

  • "{{Σ/Testing facility|1-1}}" = "
  • https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=stable&leprop=title%7Ctimestamp&format=jsonfm
  • https://en.wikipedia.org/w/api.php?action=query&prop=info%7Cflagged%7Crevisions&rvprop=flagged%7Cids&inprop=protection&titles=Qnet&format=jsonfm

Username? Content? Warning templates? Editcount? On HG's whitelist?

  1. Light-year
  2. Kilogram
  3. Knot (unit)
06:26, 4 November 2013 (diff | hist) . . (-250,599)‎ . . m User talk:Liz ‎ (Robot: Archiving 107 threads (older than 31d) to User talk:Liz/Archive 2, User talk:Liz/Archive 3, User talk:Liz/Archive 1, User talk:Liz/Archive 4.)
06:26, 4 November 2013 (diff | hist) . . (+52,214)‎ . . N User talk:Liz/Archive 4 ‎ (Robot: Archiving 29 threads from User talk:Liz.) (current)
06:26, 4 November 2013 (diff | hist) . . (+72,346)‎ . . N User talk:Liz/Archive 3 ‎ (Robot: Archiving 30 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+71,720)‎ . . N User talk:Liz/Archive 2 ‎ (Robot: Archiving 38 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+54,582)‎ . . m User talk:Liz/Archive 1 ‎ (Robot: Archiving 10 threads from User talk:Liz. (ARCHIVE FULL)) (current) [rollback: 1 edit] 

Coal balls

edit

Coal balls. →Σσς. (Sigma) 08:39, 12 November 2013 (UTC)


Exception hierarchy".

  • "{{Σ/Testing facility|-0.1}}" = "
  • https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=stable&leprop=title%7Ctimestamp&format=jsonfm
  • https://en.wikipedia.org/w/api.php?action=query&prop=info%7Cflagged%7Crevisions&rvprop=flagged%7Cids&inprop=protection&titles=Qnet&format=jsonfm

Username? Content? Warning templates? Editcount? On HG's whitelist?

  1. Light-year
  2. Kilogram
  3. Knot (unit)
06:26, 4 November 2013 (diff | hist) . . (-250,599)‎ . . m User talk:Liz ‎ (Robot: Archiving 107 threads (older than 31d) to User talk:Liz/Archive 2, User talk:Liz/Archive 3, User talk:Liz/Archive 1, User talk:Liz/Archive 4.)
06:26, 4 November 2013 (diff | hist) . . (+52,214)‎ . . N User talk:Liz/Archive 4 ‎ (Robot: Archiving 29 threads from User talk:Liz.) (current)
06:26, 4 November 2013 (diff | hist) . . (+72,346)‎ . . N User talk:Liz/Archive 3 ‎ (Robot: Archiving 30 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+71,720)‎ . . N User talk:Liz/Archive 2 ‎ (Robot: Archiving 38 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+54,582)‎ . . m User talk:Liz/Archive 1 ‎ (Robot: Archiving 10 threads from User talk:Liz. (ARCHIVE FULL)) (current) [rollback: 1 edit] 

Coal balls

edit

Coal balls. →Σσς. (Sigma) 08:39, 12 November 2013 (UTC)


Exception hierarchy".

  • "{{Σ/Testing facility|-100}}" = "
  • https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=stable&leprop=title%7Ctimestamp&format=jsonfm
  • https://en.wikipedia.org/w/api.php?action=query&prop=info%7Cflagged%7Crevisions&rvprop=flagged%7Cids&inprop=protection&titles=Qnet&format=jsonfm

Username? Content? Warning templates? Editcount? On HG's whitelist?

  1. Light-year
  2. Kilogram
  3. Knot (unit)
06:26, 4 November 2013 (diff | hist) . . (-250,599)‎ . . m User talk:Liz ‎ (Robot: Archiving 107 threads (older than 31d) to User talk:Liz/Archive 2, User talk:Liz/Archive 3, User talk:Liz/Archive 1, User talk:Liz/Archive 4.)
06:26, 4 November 2013 (diff | hist) . . (+52,214)‎ . . N User talk:Liz/Archive 4 ‎ (Robot: Archiving 29 threads from User talk:Liz.) (current)
06:26, 4 November 2013 (diff | hist) . . (+72,346)‎ . . N User talk:Liz/Archive 3 ‎ (Robot: Archiving 30 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+71,720)‎ . . N User talk:Liz/Archive 2 ‎ (Robot: Archiving 38 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+54,582)‎ . . m User talk:Liz/Archive 1 ‎ (Robot: Archiving 10 threads from User talk:Liz. (ARCHIVE FULL)) (current) [rollback: 1 edit] 

Coal balls

edit

Coal balls. →Σσς. (Sigma) 08:39, 12 November 2013 (UTC)


Exception hierarchy".

  • "{{Σ/Testing facility|}}" = "
  • https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=stable&leprop=title%7Ctimestamp&format=jsonfm
  • https://en.wikipedia.org/w/api.php?action=query&prop=info%7Cflagged%7Crevisions&rvprop=flagged%7Cids&inprop=protection&titles=Qnet&format=jsonfm

Username? Content? Warning templates? Editcount? On HG's whitelist?

  1. Light-year
  2. Kilogram
  3. Knot (unit)
06:26, 4 November 2013 (diff | hist) . . (-250,599)‎ . . m User talk:Liz ‎ (Robot: Archiving 107 threads (older than 31d) to User talk:Liz/Archive 2, User talk:Liz/Archive 3, User talk:Liz/Archive 1, User talk:Liz/Archive 4.)
06:26, 4 November 2013 (diff | hist) . . (+52,214)‎ . . N User talk:Liz/Archive 4 ‎ (Robot: Archiving 29 threads from User talk:Liz.) (current)
06:26, 4 November 2013 (diff | hist) . . (+72,346)‎ . . N User talk:Liz/Archive 3 ‎ (Robot: Archiving 30 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+71,720)‎ . . N User talk:Liz/Archive 2 ‎ (Robot: Archiving 38 threads from User talk:Liz. (ARCHIVE FULL)) (current)
06:26, 4 November 2013 (diff | hist) . . (+54,582)‎ . . m User talk:Liz/Archive 1 ‎ (Robot: Archiving 10 threads from User talk:Liz. (ARCHIVE FULL)) (current) [rollback: 1 edit] 

Coal balls

edit

Coal balls. →Σσς. (Sigma) 08:39, 12 November 2013 (UTC)


Exception hierarchy".

The above documentation is transcluded from User:Σ/Testing facility/Sgn/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.
Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Σ/Testing_facility/Sgn&oldid=458555223"
Last edited on 2 November 2011, at 00:18

Languages

    • Nederlands
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 2 November 2011, at 00:18 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop