This was taken from some tutorials and mixed up for multiple uses. Can be used as a toon or standard shader. If toon is used, you can setup the fallback options as it falls back to standard shader.
Simply download the repository contents and drop the addons folder in your project root. You can find the toon shader material at addons/flexible_toon_shader ...