Information icon.svg Nominations and campaigning for the RationalWiki 2021 Moderator Election are completed. Voting is live now, until 17:00 UTC, 30 November!

Help:Magic words

From RationalWiki
Jump to: navigation, search

Magic words are wikitext markup that tell the server to do stuff. Useful for making templates.

List of:


{{Welcome}} uses {{PAGENAME}} returns the the page's title. Since this template is placed on user's talk pages, the page title is the user's username.

Our Trump tweet generator uses {{#time: ... }} to imitate Twitter's time stamp on tweets.

{{#time:h\:i A}} - {{CURRENTDAY}} {{#time:M}} {{CURRENTYEAR}}

results in: 01:25 PM - 1 Dec 2021.

Show your username[edit]

It's not a magic word, but still awesome.

<span class="myName">Anonymous User</span>
results in Anonymous User.

We have a template {{USERNAME}} which is just <span class="myName">Anonymous User</span> inside.

See also[edit]