https://wiki.xenproject.org/index.php?title=Template:Category_handler&feed=atom&action=history
Template:Category handler - Revision history
2024-03-28T23:37:14Z
Revision history for this page on the wiki
MediaWiki 1.31.3
https://wiki.xenproject.org/index.php?title=Template:Category_handler&diff=1849&oldid=prev
Lars.kurth: 1 revision: Imported set of missing templates from Wikipedia under CC BY 3.0
2011-12-06T21:50:44Z
<p>1 revision: Imported set of missing templates from Wikipedia under CC BY 3.0</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 21:50, 6 December 2011</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Lars.kurth
https://wiki.xenproject.org/index.php?title=Template:Category_handler&diff=1436&oldid=prev
Lars: Created page with "{{#if: {{#ifeq: {{lc: {{{nocat|}}} }} | true | dontcat <!--"nocat=true", don't categorize--> }}{{#ifeq: {{lc: {{{categories|}}} }} | no | dontcat }}{{#switch: {{lc: …"
2011-12-04T21:55:58Z
<p>Created page with "{{#if: {{#ifeq: {{lc: {{{nocat|}}} }} | true | dontcat <!--"nocat=true", don't categorize--> }}{{#ifeq: {{lc: {{{categories|}}} }} | no | dontcat }}{{#switch: {{lc: …"</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 21:55, 4 December 2011</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Lars
https://wiki.xenproject.org/index.php?title=Template:Category_handler&diff=1848&oldid=prev
WOSlinker: avoid redirects
2011-10-01T11:28:56Z
<p>avoid redirects</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><br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>
WOSlinker