Difference between revisions of "Template:R from password"
Dinoguy1000 (talk | contribs) (if the target page doesn't store this password, show what password it does store) |
Dinoguy1000 (talk | contribs) (also check for any stored passwords in subobjects, primarily for the SDD alt art passwords (there's probably a better way to do this, IDK)) |
||
Line 1: | Line 1: | ||
This is a redirect from a [[password]].<includeonly>[[Category:Password redirects]] | This is a redirect from a [[password]].<includeonly>[[Category:Password redirects]] | ||
− | {{ #ifeq: {{PAGENAME}} | {{ #show: {{ #vardefineecho: $target | {{target of|{{PAGENAME}}}} }} |?Password }} || (password stored on "{{ #var: $target }}": {{ #show: {{ #var: $target }} |?Password }})[[Category:Potentially invalid password redirects]] | + | {{ #ifeq: {{PAGENAME}} | {{ #show: {{ #vardefineecho: $target | {{target of|{{PAGENAME}}}} }} |?Password }} || {{ #if: {{ #pos: {{ #show: {{ #var: $target }} |?-Subobject of.Password }} | {{PAGENAME}} }} || (password stored on "{{ #var: $target }}": {{ #show: {{ #var: $target }} |?Password }})[[Category:Potentially invalid password redirects]] }} |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 08:51, 17 July 2023
This is a redirect from a password.
This template adds redirects to Category:Password redirects.
Rudimentary checks for invalid passwords are also made, and pages which fail them are added to Category:Potentially invalid password redirects.
This template has a preload used to auto-fill new password redirects.
See also[edit]
- {{R from card number}}
- {{R from database ID}}