Template:SITENAME SHORT: Difference between revisions

From MediaWiki
Jump to navigationJump to search
SanityOrMadness (talk | contribs)
mNo edit summary
SanityOrMadness (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>TFWiki</includeonly><noinclude>[[Category: Templates]]
<includeonly>TFWiki.net</includeonly><noinclude>[[Category: Templates]]
The Mediawiki ''magic word'' '''<tt><nowiki>{{SITENAME}}</nowiki></tt>''' returns the full name of this website; '''{{SITENAME}}'''.
The Mediawiki ''magic word'' '''<tt><nowiki>{{SITENAME}}</nowiki></tt>''' returns the full name of this website; '''{{SITENAME}}'''.



Revision as of 19:43, 22 March 2009

The Mediawiki magic word {{SITENAME}} returns the full name of this website; MediaWiki.

{{SITENAME SHORT}} (or {{SITENAME_SHORT}}, same difference) return the much shorter; TFWiki.net.

There's no real reason you couldn't just write it out manually, but calling it like this serves the same purpose calling {{SITENAME}} does: providing easy forward-computability in the event this site ever chooses to change its name to something else, like "Witwickypedia." It also ensures that you won't accidentally format the name differently than all the other instances. ("Wait, am I supposed to bold it or italicize it...?")