This is a simple helper template that detects whether it is being used in the Workshop. This is helpful in infoboxes and other templates that may not work correctly there. It returns 1 if it is in the workshop, else it returns nothing (so that a simple #if check can be used). Define an unnamed parameter to return 0 if not in the workshop.

Community content is available under CC-BY-SA unless otherwise noted.