https://www.limswiki.org/index.php?title=Template:Namespace_detect_showall&feed=atom&action=history
Template:Namespace detect showall - Revision history
2024-03-28T15:01:00Z
Revision history for this page on the wiki
MediaWiki 1.36.1
https://www.limswiki.org/index.php?title=Template:Namespace_detect_showall&diff=32474&oldid=prev
Shawndouglas: Protected "Template:Namespace detect showall" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
2018-01-26T23:43:03Z
<p>Protected "<a href="/index.php/Template:Namespace_detect_showall" title="Template:Namespace detect showall">Template:Namespace detect showall</a>" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:43, 26 January 2018</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Shawndouglas
https://www.limswiki.org/index.php?title=Template:Namespace_detect_showall&diff=12831&oldid=prev
Shawndouglas: Created as needed.
2013-10-22T15:03:12Z
<p>Created as needed.</p>
<p><b>New page</b></p><div>{{#switch: <!-- Use the parameter --><br />
{{#switch: <!-- Find out which parameter to use --><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 />
| showall = showall <!-- "demospace=showall" --><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 />
<br />
| 1 = {{{1|}}}<br />
| 2 = {{{2|}}}<br />
| 3 = {{{3|}}}<br />
| 4 = {{{4|}}}<br />
| 5 = {{{5|}}}<br />
| 6 = {{{6|}}}<br />
| showall = {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}<br />
}}<noinclude><br />
<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>
Shawndouglas