Jump to content

User:Jorge Stolfi/@@

From Wikipedia, the free encyclopedia

Attempt to write a template for out-of-body references.

Usage: {{User:Jorge Stolfi/@@|NNNNN}} where NNNNN is a ref-page ID.

Displays as an old-style (in-article) or new-style (out-of-body) reference depending on {{User:Jorge Stolfi/@@/UsersrefStyleOption}} expands to OLD or NEW.


Currently the old style format is chosen if user opted for the yyyy-mm-ddThh:mm:ss date format in his/her propfile.

Displays as new-style (out-of-body) reference if user opted for any other date format.

Someday the format should be selectable by a specific option or by a button on the page.


Old-style: expands to wikitext <ref name="User:Jorge Stolfi/@@/NNNNN">XXXXXX BBBB</ref>, where

  • XXXXXX is the contents of the page User:Jorge Stolfi/@@/NNNNN
  • BBBB are buttons to edit that ref-page and the corresponding short-form page User:Jorge Stolfi/@@/NNNNN-s

New-style: expands to wikitext that looks like "" but is a wikilink to the ref-page User:Jorge Stolfi/@@/NNNNN. The hover pop-up of the "" displays "Reference NNNNN" or the contents of the corresponding short-form ref-pageUser:Jorge Stolfi/@@/NNNNN-s if it exists.