Template:SITENAME SHORT: Difference between revisions
From MediaWiki
Jump to navigationJump to search
New page: <includeonly>Teletraan I</includeonly></noinclude>Category: Templates The Mediawiki ''magic word'' '''<tt><nowiki>{{SITENAME}}</nowiki></tt>''' returns the full name of this website; '... |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>Teletraan I</includeonly>< | <includeonly>Teletraan I</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}}'''. | ||
That's really, really, ''really'' long. | That's really, really, ''really'' long. | ||
'''<tt><nowiki>{{SITENAME | '''<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>(ex the common tendency to misspell 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 it's name to something else like "Witwickypedia." | There's no ''real'' reason you couldn't just write it out manually <small>(ex the common tendency to misspell 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 it's name to something else like "Witwickypedia." | ||
</noinclude> | </noinclude> | ||
Revision as of 12:02, 28 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 (ex the common tendency to misspell 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 it's name to something else like "Witwickypedia."

