GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

none


Usage

Displays users that have their birthday today according to GuildWiki:User birthdays. Displays nothing if no birthday.

Technical Note

The way this works is that the birthday page first gets trimmed down left and right with the explodes to find everything that is, consecutively

  • after CURRENTMONTHNAME
  • before |}
  • after CURRENTDAY
  • before the br tag
  • after the double '

That gets the raw text of today's birthday user, provided they are not separated by br tags (use commas instead) and that no extra italics were used.

The "none" thing works by adding another delimiter; the "none" is in position 2 (and thus gets ignored) if a birthday is found, but in position 1 (display) if there isn't.

Now, since this isn't really raw text, but rather raw text formatted for display, the display codes for the link have to be replaced with a "real" link, and that's what the replace does.

Advertisement