Template:SITENAME SHORT: Difference between revisions

From MediaWiki
Jump to navigationJump to search
mNo edit summary
Steve-o (talk | contribs)
No edit summary
Line 6: Line 6:
'''<tt><nowiki>{{SITENAME SHORT}}</nowiki></tt>''' <small>(or '''<tt><nowiki>{{SITENAME_SHORT}}</nowiki></tt>''', same difference)</small> return the much shorter; '''{{SITENAME SHORT}}'''.
'''<tt><nowiki>{{SITENAME SHORT}}</nowiki></tt>''' <small>(or '''<tt><nowiki>{{SITENAME_SHORT}}</nowiki></tt>''', same difference)</small> return the much shorter; '''{{SITENAME SHORT}}'''.


There's no ''real'' reason you couldn't just write it out manually <small>(aside from the common tendency to misspell it as "Teletran" or "Teletron")</small> but calling it like this serves the same purpose calling '''<tt><nowiki>{{SITENAME}}</nowiki></tt>''' does: providing easy forward-computability in the event this site ever chooses to change its name to something else, like "Witwickypedia."
There's no ''real'' reason you couldn't just write it out manually <small>(aside from the common tendency to misspell it as "Teletran" or "Teletron")</small> but calling it like this serves the same purpose calling '''<tt><nowiki>{{SITENAME}}</nowiki></tt>''' 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...?")


</noinclude>
</noinclude>

Revision as of 04:28, 30 December 2007

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

That's really, really, really long.

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

There's no real reason you couldn't just write it out manually (aside from the common tendency to misspell it as "Teletran" or "Teletron") 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...?")