Thread:Project:Support desk/Mediawiki template Ambox

How can i make any of the templates as shown in the following link: https://www.mediawiki.org/wiki/Template:Ambox

Tried my best but I am unable to find out the exact code due to cascading of templates. Please tell me the code or guide me on how to find it out.