Improved templates: GuiCommand and TutorialInfo
Posted: Wed Sep 08, 2021 7:41 am
I have made some modifications to Template:GuiCommand and Template:TutorialInfo:
GuiCommand:
GuiCommand:
- Removed the dummy icon. If the Name icon is not found no icon is shown. There is no need to add Empty=1. But Empty=1 can still be used to suppress the Name icon (which is rarely required of course).
- Empty optional parameters can be left in place without affecting the layout. So there is no longer a need to delete f.e. SeeAlso=.
- The categories in the template are now translatable. This has the advantage that semi-translated pages that still reference this template no longer end up in https://wiki.freecadweb.org/Category:Command_Reference. This has reduced the list from ca. 3600 to ca. 1000 entries, making it more usable.
- Updated the icon to SVG.
- Empty optional parameters can be left in place without affecting the layout. See above.
- The categories in the template are now translatable. See above.