Template:Sitenames: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Jsoby (talk | contribs)
No edit summary
Jsoby (talk | contribs)
No edit summary
Line 1: Line 1:
<nowiki></nowiki>{{#ifexist:{{Sitenames/{{{language}}}}}
{{Sitenames/{{#ifexist:Template:Sitenames/{{{language}}}|{{{language}}}|en}}}}<noinclude>
| {{Sitenames/{{{language}}}|{{{1}}}}}
| {{Sitenames/en|{{{1}}}}}
}}<noinclude>
== Documentation ==
== Documentation ==
This template returns the sitename of projects in a given language. It works by including a subtemplate of this one that lists all the sitenames that are different from the English names. It works using the URL variable 'sitename', set in the banner as <tt>wgNoticeProject</tt>.
This template returns the sitename of projects in a given language. It works by including a subtemplate of this one that lists all the sitenames that are different from the English names. It works using the URL variable 'sitename', set in the banner as <tt>wgNoticeProject</tt>.

Revision as of 22:52, 23 November 2011