Jump to content

Template:DYK talk: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
use Module:Check DYK hook to check the hook text
handle DYK hooks containing equals signs
Tag: Reverted
Line 37: Line 37:
{{#iferror:{{#expr:{{{entry|{{{3|{{{2|}}}}}}}}}}}
{{#iferror:{{#expr:{{{entry|{{{3|{{{2|}}}}}}}}}}}
|<!-- If there is an expr error, that means there is an entry specified-->
|<!-- If there is an expr error, that means there is an entry specified-->
{{#if:{{#invoke:Check DYK hook|isValidHook|{{{entry|{{{3|{{{2|}}}}}}}}}}}
{{#if:{{#invoke:Check DYK hook|isValidHook|1={{{entry|{{{3|{{{2|}}}}}}}}}}}
|<!-- Don't output anything if the hook is valid -->
|<!-- Don't output anything if the hook is valid -->
|[[Category:Pages with a malformed DYK entry]]
|[[Category:Pages with a malformed DYK entry]]

Revision as of 07:17, 27 November 2020