https://translations.ted.com/index.php?title=Template:Namespace_detect&feed=atom&action=history
Template:Namespace detect - Revision history
2024-03-19T06:29:49Z
Revision history for this page on the wiki
MediaWiki 1.30.0
https://translations.ted.com/index.php?title=Template:Namespace_detect&diff=282&oldid=prev
ElsDK: 1 revision
2011-07-28T18:49:29Z
<p>1 revision</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style="vertical-align: top;" lang="en">
<td colspan="1" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: white; color:black; text-align: center;">Revision as of 18:49, 28 July 2011</td>
</tr><tr><td colspan="2" style="text-align: center;" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
ElsDK
https://translations.ted.com/index.php?title=Template:Namespace_detect&diff=281&oldid=prev
WOSlinker: remove {{pp-template}} since included in {{documentation}}
2010-10-04T18:40:00Z
<p>remove {{pp-template}} since included in {{documentation}}</p>
<p><b>New page</b></p><div>{{#switch:<br />
{{lc: <!--Lower case the result--><br />
<!--If no or empty "demospace" parameter then detect namespace--><br />
{{#if:{{{demospace|}}} <br />
| {{{demospace}}}<br />
| {{#if:{{{page|}}} <br />
| <!--Detect the namespace in the "page" parameter--><br />
{{#ifeq:{{NAMESPACE:{{{page}}} }}|{{TALKSPACE:{{{page}}} }}<br />
| talk<br />
| {{SUBJECTSPACE:{{{page}}} }} <br />
}}<br />
| <!--No "demospace" or "page" parameters, so detect actual namespace--><br />
{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}<br />
| talk<br />
| {{SUBJECTSPACE}} <br />
}}<br />
}}<br />
}}<br />
}}<br />
<!-- Only one of the lines below will be executed --><br />
<!-- Respecting empty parameters on purpose --><br />
| main <!--"demospace=main" or {{SUBJECTSPACE}}={{ns:0}}=""--><br />
| = {{{main| {{{other|}}} }}}<br />
| talk = {{{talk| {{{other|}}} }}}<br />
| user = {{{user| {{{other|}}} }}}<br />
| wikipedia = {{{wikipedia| {{{other|}}} }}}<br />
| file<br />
| image = {{{file| {{{image| {{{other|}}} }}} }}}<br />
| mediawiki = {{{mediawiki| {{{other|}}} }}}<br />
| template = {{{template| {{{other|}}} }}}<br />
| help = {{{help| {{{other|}}} }}}<br />
| category = {{{category| {{{other|}}} }}}<br />
| portal = {{{portal| {{{other|}}} }}}<br />
| book = {{{book| {{{other|}}} }}}<br />
| other<br />
| #default = {{{other|}}} <!--"demospace=other" or a new namespace--><br />
<br />
}}<!--End switch--><noinclude><br />
<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>
WOSlinker