http://www.psdevwiki.com/ps4/history/Template:Category_handler?feed=atom&
Template:Category handler - Revision history
2024-03-29T09:55:20Z
Revision history for this page on the wiki
MediaWiki 1.39.6
http://www.psdevwiki.com/ps4/index.php?title=Template:Category_handler&diff=265687&oldid=prev
Euss at 01:39, 30 January 2014
2014-01-30T01:39:19Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:39, 30 January 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l84">Line 84:</td>
<td colspan="2" class="diff-lineno">Line 84:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>}}<noinclude>[[Category:Template Automation]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>}}<noinclude>[[Category:Template Automation]]</noinclude></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{documentation}}</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><!-- Add categories and interwikis to the /doc subpage, not here! --></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></noinclude></div></td><td colspan="2" class="diff-side-added"></td></tr>
</table>
Euss
http://www.psdevwiki.com/ps4/index.php?title=Template:Category_handler&diff=1622&oldid=prev
Anon: Created page with "{{#if: {{#ifeq: {{lc: {{{nocat|}}} }} | true | dontcat <!--"nocat=true", don't categorize--> }}{{#ifeq: {{lc: {{{categories|}}} }} | no | dontcat }}{{#switch: {{l..."
2013-06-19T00:07:05Z
<p>Created page with "{{#if: {{#ifeq: {{lc: {{{nocat|}}} }} | true | dontcat <!--"nocat=true", don't categorize--> }}{{#ifeq: {{lc: {{{categories|}}} }} | no | dontcat }}{{#switch: {{l..."</p>
<p><b>New page</b></p><div>{{#if:<br />
{{#ifeq: {{lc: {{{nocat|}}} }} | true<br />
| dontcat <!--"nocat=true", don't categorize--><br />
}}{{#ifeq: {{lc: {{{categories|}}} }} | no<br />
| dontcat<br />
}}{{#switch: {{lc: {{{category2|¬}}} }}<br />
| yes<br />
| ¬ = <!--Not defined--><br />
| #default = dontcat <!--"category2 = no/'defined but empty'/'anything'"--><br />
}}{{#switch: {{lc: {{{subpage|}}} }}<br />
| no = <br />
{{basepage subpage<br />
| <br />
| dontcat <!--"subpage=no" and on a subpage--><br />
| page = {{{page|}}} <!--For testing--><br />
}}<br />
| only = <br />
{{basepage subpage<br />
| dontcat <!--"subpage=only" and not on a subpage--><br />
| page = {{{page|}}} <!--For testing--><br />
}}<br />
}}<br />
<br />
| <!--Don't categorise (result was "dontcat" or "dontcatdontcat" and so on)--><br />
| <!--Check blacklist--><br />
{{#switch:<br />
{{#ifeq: {{lc: {{{nocat|}}} }} | false<br />
| <!--"nocat=false", skip blacklist check--><br />
| {{#ifeq: {{lc: {{{categories|}}} }} | yes<br />
| <!--Skip blacklist check--><br />
| {{#ifeq: {{lc: {{{category2|}}} }} | yes<br />
| <!--Skip blacklist check--><br />
| {{category handler/blacklist| page = {{{page|}}} }} <!--Check blacklist--><br />
}}<br />
}}<br />
}}<br />
| hide = <!--Blacklist returned "hide", don't categorize--><br />
| #default = <br />
<!--Check if any namespace parameter is defined--><br />
{{#ifeq: h0#384!5nea+w9 | {{{all| {{{main| {{{talk| {{{user| {{{wikipedia| {{{file| {{{mediawiki| {{{template| {{{help| {{{category| {{{portal| {{{book| {{{other| h0#384!5nea+w9 }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}}<br />
| <!--No namespace parameters fed, basic usage--><br />
{{namespace detect<br />
| main = {{{1|}}}<br />
| file = {{{1|}}}<br />
| help = {{{1|}}}<br />
| category = {{{1|}}}<br />
| portal = {{{1|}}}<br />
| book = {{{1|}}}<br />
| page = {{{page|}}} <!--For testing and demonstration--><br />
}}<br />
| <!--Namespace parameters fed, advanced usage.<br />
If "data" is a number, return the corresponding <br />
numbered parameter, else return "data". --><br />
{{{all|}}}{{category handler/numbered<br />
| 1 = {{{1|}}}<br />
| 2 = {{{2|}}}<br />
| 3 = {{{3|}}}<br />
| 4 = {{{4|}}}<br />
| 5 = {{{5|}}}<br />
| 6 = {{{6|}}}<br />
| 7 = {{{7|}}}<br />
| 8 = {{{8|}}}<br />
| 9 = {{{9|}}}<br />
| 10 = {{{10|}}}<br />
| data = <br />
<!--Check what namespace, and return the data for it.<br />
Respecting empty parameters on purpose. --><br />
{{namespace detect<br />
| main = {{{main| {{{other|}}} }}}<br />
| talk = {{{talk| {{{other|}}} }}}<br />
| user = {{{user| {{{other|}}} }}}<br />
| wikipedia = {{{wikipedia| {{{project| {{{other|}}} }}} }}}<br />
| file = {{{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 = {{{other|}}} <!--Namespace special or a new namespace--><br />
| page = {{{page|}}} <!--For testing and demonstration--><br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<noinclude>[[Category:Template Automation]]<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>
Anon