EN-only Token Test

Timezone: β€’ Locale forced to en-GB

Boundary & empty value checks

Why has your Guardian Angel planned for you, %PRENOM%, to receive such an important sum so quickly?

This happens now%PRENOM%! (tests no-space adjacency)

Title also uses tokens β†’ see browser tab title.

When %PRENOM% is empty, it should be removed (no placeholder left). When adjacent to letters, it should insert a space automatically.

Dynamic tokens

Today (dd/mm/yyyy):
%DAY%

Weekday:
%WEEKDAY%

+1 day:
%1DAY%

+14 days:
%14DAYS%

%DATE+7%:
%DATE+7%

This week:
%WEEK%

Next week:
%NEXTWEEK%

This month (name):
%MONTH%

%MONTH+1%:
%MONTH+1%

%MOIS+2% (FR token name, EN output):
%MOIS+2%

Year:
%YEAR%

%2YEARS%:
%2YEARS%

15th of next month:
%15DAY_MONTH%

Lottery day (first Saturday of next month):
%LOTTERYDAY%

Astro & Numerology (derived from birthdate)

  • Birthdate (display): %BIRTHDATE%
  • Sign: %SIGN%
  • Planet: %PLANET%
  • Life path number: %NUMERO%

If you pass ?birthdate=1997-08-25, sign/planet/numero will populate. Otherwise they can remain empty.

Literal date longification (ordinals)

Raw DMY: 25/08/1997 β†’ should become β€œ25th August 1997”

Raw DM: 09/11 β†’ should become β€œ9th November”

Encoded token decoding

Encoded name token: %25PRENOM%25 β†’ should decode then replace like %PRENOM%.

Console helpers

  • debugReplacements() β†’ show tokens, tz, stored values.
  • siteTemplater.run() β†’ force re-pass.
  • angelsSetName('Alice') β†’ set name & refresh.
  • resetName() β†’ clear stored firstname.

Encoded Token Test

Encoded name token here β†’ %25PRENOM%25

Direct token here β†’ %PRENOM%

Adjacent test β†’ now%PRENOM%!

Empty-name behavior should remove token, not leave the placeholder.

Try in console: resetName(); siteTemplater.run();, then angelsSetName('Zoe').