Difference between revisions of "Template:R from password"

From Yugipedia
Jump to: navigation, search
(if the target page doesn't store this password, show what password it does store)
(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.