User:Becasita/SubPages/Notes/ToDelete
< User:Becasita | SubPages
Incoming
Completed
- BATT-FR (013+)
- BATT-DE (013+)
- BATT-IT (013+)
- BATT-SP (013+)
- CP01-SP
- CP02-SP
- CP03-SP
- CP04-SP
- CP05-SP
- CP06-SP
- CP07-SP
- CP08-SP
- DB2-PT
- DCR-AE
- DR04-FR
- DR04-DE
- DR04-IT
- DR04-SP
- GS01-EN
- MC1-DE
- MC1-FR
- MC1-IT
- MC1-SP
- MC2-DE
- MC2-FR
- MC2-IT
- MC2-SP
- PGD-AE
- SD5-SP
- SD6-SP
- SD7-SP
- SD8-SP
Boilerplate
Copy into a sandbox page, add/change variable values to apply to the group of card number redirects being checked/deleted, and preview.
{{ #vardefine: $abbr | <!-- this is the set abbreviation, before the `-` in the card number --> }}{{ #vardefine: $rg | <!-- this is the region identifier, immediately after the `-` in the card number, and may be blank (e.g. for Series 3 and earlier releases) --> }}{{ #vardefine: $postfix | <!-- this is the set postfix abbreviation, between the region identifier and the set position number, and will normally be blank --> }}{{ #vardefine: $hundreds | 0 <!-- this is the list of digits in the hundreds' place in the set position number; blank if none --> }}{{ #vardefine: $tens | 0,1,2,3,4,5,6,7,8,9 <!-- this is the list of digits in the tens' place in the set position number; blank if none --> }}{{ #vardefine: $ones | 0,1,2,3,4,5,6,7,8,9 <!-- this is the list of digits in the ones' place in the set position number --> }}{{ #vardefine: $prefix | {{ #var: $abbr }}-{{ #var: $rg }}{{ #var: $postfix }} }}{{ #vardefine: $delete_summary | set prefix "{{ #var: $prefix }}" does not exist <!-- this is the deletion summary/reason --> }}{{ #arraydefine: @h | {{ #if: {{ #var: $postfix }} | . | {{ #var: $hundreds | . }} }} }}{{ #arraydefine: @t | {{ #if: {{ #var: $postfix }} | {{ #ifeq: {{ #len: {{ #var: $postfix }} }} | 1 | {{ #var: $tens | . }} | . }} | {{ #var: $tens | . }} }} }}{{ #arraydefine: @o | {{ #if: {{ #var: $postfix }} | {{ #ifexpr: {{ #len: {{ #var: $postfix }} }} < 3 | {{ #var: $ones }} | . }} | {{ #var: $ones }} }} }}<ul>{{ #arrayprint: @h || $h | {{ #arrayprint: @t || $t | {{ #arrayprint: @o || $o | <li>[[{{ #vardefineecho: $number | {{ #var: $prefix }}{{ #if: {{ #var: $postfix }} | {{ #switch: {{ #len: {{ #var: $postfix }} }} | 3 = | 2 = {{ #ifeq: $o | . || $o }} | 1 = {{ #ifeq: $t | . || $t }}{{ #ifeq: $o | . || $o }} }} | {{ #ifeq: $h | . || $h }}{{ #ifeq: $t | . || $t }}{{ #ifeq: $o | . || $o }} }} }}]] ([{{fullurl:{{ #var: $number }}|action=history}} history] · [[Special:WhatLinksHere/{{ #var: $number }}|links]] · [{{fullurl:{{ #var: $number }}|action=delete&wpReason={{ urlencode: {{ #var: $delete_summary }} }}}} delete]) {{Special:WhatLinksHere/{{ #var: $number }}}}</li> }} }} }}</ul>