Custom information message in edit mode



Anybody who knows how I can, based on a few conditions for the page, show a custom information message in edit mode like the one that pops up (the yellow one) when you have pinpointed another page as shortcut under the Settings tab?

Print screen of the message I'm refering to:

Thanks for any pointers :-)

Edited, Jun 26, 2017 15:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.