Yes that’s a good idea. Ludovic has started a discussion at [contrib] Repository for Confluence macros and tools
Would be awesome to contribute your status macro there.
@ludovic What’s your status on this topic?
Note that we support a color type for wiki macro parameters so that you get a color picker to pick the color in the WYSIWYG editor. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroTutorial/#HParameters
You’ll get something like:
Also you should use the macro content instead of a title parameter for the content, see https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroTutorial/#HContent
Thanks