Test |work= alias of |title=, and |date= alias of |year=:

  • {{PD-old-text/sandbox|work=Way Old Stuff|date=1821}}
  •  This article incorporates text from Way Old Stuff, a publication from 1821, now in the public domain in the United States.

Test missing title:

  • {{PD-old-text/sandbox|date=1821}}
  •  This article incorporates text from [title missing], a publication from 1821, now in the public domain in the United States.

Test empty title:

  • {{PD-old-text/sandbox|work=|date=1821}}
  •  This article incorporates text from [title missing], a publication from 1821, now in the public domain in the United States.

Test missing date:

  • {{PD-old-text/sandbox|work=Way Old Stuff}}
  •  This article incorporates text from Way Old Stuff, a publication from [year missing], now in the public domain in the United States.

Test empty date:

  • {{PD-old-text/sandbox|work=Way Old Stuff|date=}}
  •  This article incorporates text from Way Old Stuff, a publication from [year missing], now in the public domain in the United States.

Test both missing:

  • {{PD-old-text/sandbox}}
  •  This article incorporates text from [title missing], a publication from [year missing], now in the public domain in the United States.

Test both empty:

  • {{PD-old-text/sandbox|work=|date=}}
  •  This article incorporates text from [title missing], a publication from [year missing], now in the public domain in the United States.