Template:Macro

From Open Source Ecology
Jump to: navigation, search


32px {{{Name}}}

Description
None
Author
[[User:{{{Author}}}|{{{Author}}}]]
Links
Macros recipes
How to install macros
How to customize toolbars
Version
1.0
Date last modification
YYYY-MM-DD


Notes

HintLightbulb.png Hint: OSE needs documentation on how to generate templates, with focus on templates such as infoboxes like here, and templates for machine development such as Template:GVCS Header. This would allow more people to organize the wiki effectively. Passing of page names into the template is very useful. Templates can be nested, which is powerful.

Template borrowed from FreeCAD wiki. This shows that any mediawiki instance can be used to borrow useful templates. At the FreeCAD wiki, this template is used to document different FreeCAD Macros.

See source at https://www.freecadweb.org/wiki/Template:Macro

Usage

This Template is the main anchor on documenting macros.

{{Macro|Icon=Text-x-python|Name=myMacro|Description=What my macro does|Author=YourWikiUserName|Version=2.0|Date=YYYY-MM-DD}}

You can also upload icon custom format .png with the same name as the macro,
example: "myMacro" without extension (the extension is given by the system), and replace " Icon =Text-x-python by Icon=myMacro "
Text-x-python 32px is the default icon of the page dedicated to the Macro