Template:Macro: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "{|class="fcinfobox wikitable ct" width=100% height=100% style="float: right; width: 230px; margin-left: 10px;" | | class="ctTitle"| === Image:{{{Icon|Text-x-python}}}.png|...")
 
No edit summary
Line 1: Line 1:
{|class="fcinfobox wikitable ct" width=100% height=100% style="float: right; width: 230px; margin-left: 10px;" |
{|class="fcinfobox wikitable ct" width=100% height=100% style="float: right; width: 230px; margin-left: 10px;" |
   | class="ctTitle"|
   | class="ctTitle"|
Line 28: Line 30:
   |-
   |-
|}
|}
<noinclude>
=Note=
Macro borrowed from FreeCAD wiki.
==Usage==
This Template is the main anchor on documenting macros.
<nowiki>{{Macro|Icon=Text-x-python|Name=myMacro|Description=What my macro does|Author=YourWikiUserName|Version=2.0|Date=YYYY-MM-DD}}</nowiki>
You can also [http://www.freecadweb.org/wiki/index.php?title=Special:Upload upload] icon custom format '''.png''' with the same name as the macro,<br>
example: "myMacro" '''without extension''' (the extension is given by the system), and replace " Icon ='''Text-x-python''' by Icon='''myMacro''' "
<br>
'''Text-x-python''' [[Image:Text-x-python.png|32px]] is the default icon of the page dedicated to the Macro
</noinclude>

Revision as of 23:23, 1 March 2018


File:Text-x-python.png {{{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


Note

Macro borrowed from FreeCAD wiki.

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 File:Text-x-python.png is the default icon of the page dedicated to the Macro