Macro of the Month: Excerpt/Excerpt Include

Posted in: Tracey's macro of the month

Introduction

Excerpt Include is a macro which has to be used in combination with the macro Excerpt.

Excerpt is used to define part of a page which you would like to include in additional places. Excerpt Include is used to define where that except will appear

Application(s)

Excerpt Include has one feature:

  • displays the section defined by the Excerpt macro in one or more additional places

How to add Excerpt/Excerpt Include

This is a two-stage process as you have to set up two macros.

A. To add Excerpt

Simply...

  • Place your cursor just above or below the material you want to have appear on another page (as well as this one)
  • Click on Insert (in the tool bar above) then Other Macros from the drop-down menu
  • In the pop-up window, type excerpt into the search box
  • 'Cut and paste' or 'drag and drop' the material you want to have appear on another page into the Excerpt area.
  • Click Save

B. To add Excerpt Include

Simply...

  • Place your cursor where you want the excerpt to appear
  • Click on Insert (in the tool bar above) then Other Macros from the drop-down menu
  • In the pop-up window, type excerpt include into the search box
  • Indicate the page location of the except you want to use
  • Click Save

How to use Excerpt/Excerpt Include

Consider using this where it would be useful to:

  • have material that appears on more than one page be up-datable in one place
  • have active material (e.g. tasks lists) that appear in more than one place remain in sync

Example

The buttons at the top of the pages on Faculty of Engineering and Design staff area wiki (https://wiki.bath.ac.uk/display/FEDSA/Faculty+of+Engineering+and+Design+staff+area)

Buttons
(click on image to enlarge)

Posted in: Tracey's macro of the month