Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
how_to_add_a_macro [2009/09/25 09:05]
johnsoevans created
how_to_add_a_macro [2009/09/25 09:10] (current)
johnsoevans
Line 3: Line 3:
 Some notes from Ian Madsen: Some notes from Ian Madsen:
  
-  - Ordered List Item 
   - Go to the "User Macros"​ page   - Go to the "User Macros"​ page
   - Click the "edit this page" tab at the top of the page   - Click the "edit this page" tab at the top of the page
   - Create a new line in the table of macros - try to order the macros alphabetically - follow the formatting of the other lines   - Create a new line in the table of macros - try to order the macros alphabetically - follow the formatting of the other lines
   - Click the "​internal link" button (8th from left)   - Click the "​internal link" button (8th from left)
-  - Enter the name of the new macro between the double square brackets  ​[[New_Macro_Name]]+  - Enter the name of the new macro between the double square brackets  ​"New_Macro_Name"
   - Enter a description of the new macro under the "​Description"​ column   - Enter a description of the new macro under the "​Description"​ column
   - When finished editing, press the "​Save"​ button at the bottom of the screen - this will return you to the "User Macros"​ screen   - When finished editing, press the "​Save"​ button at the bottom of the screen - this will return you to the "User Macros"​ screen
Line 14: Line 13:
   - To create the topic click the "​create this page" tab at the top of the page   - To create the topic click the "​create this page" tab at the top of the page
   - Type a title at the top of the page, highlight it and click on "​H+"​   - Type a title at the top of the page, highlight it and click on "​H+"​
-  - Type a short description of the macro +  - Type a short description of the macro on the next line 
-  - On the next line press the "​Ta"​ button at the top of the editable area +  - Paste in the text of your macro, then highlight it and click on the "​Ta"​ button. ​ This will format it as topas code.
-  - Replace the text "Macro Code" with the text of your own macro +
-        Do not edit the <​code ​topas>  or  </code> which should be at the start and end of your macro respectively+
   - When finished editing, press the "​Save"​ button at the bottom of the screen - this will return you to the viewing screen for this macro   - When finished editing, press the "​Save"​ button at the bottom of the screen - this will return you to the viewing screen for this macro
-Go back to "User Macros"​+  - Go back to "User Macros"​
   - Test the link   - Test the link
   - Sit back with the warm cosy glow that comes from knowing that, once again, you and your feeble brain have conquered the machine.   - Sit back with the warm cosy glow that comes from knowing that, once again, you and your feeble brain have conquered the machine.

Personal Tools