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:
{{Sitenames/{{#ifexist:Template:Sitenames/{{{language}}}|{{{language}}}|en}}}}<noinclude>
<nowiki></nowiki>{{#ifexist:Template:Sitenames/{{{language}}}
| {{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>.

Latest revision as of 22:53, 23 November 2011