Template:Examples Box/documentation

=Template Documentation=

This series of templates is used to create a "See it in action box," which contains links to examples in other wiki pages or in external websites, such as ReliaSoft.com and ReliaSoft.tv. We will use this box when we have examples that are relevant to a particular topic but it’s not appropriate to integrate the example directly into the reference book chapter. For an example of how this element has been integrated into a reference book chapter, see Repairable Systems Analysis Through Simulation. 'Note that this example is a live page on ReliaWiki. Please do not edit it or use it to experiment with the templates!'

This template in particular (i.e, Template:Examples Box) contains the settings for the box itself, such as horizontal lines, shading, etc. There are four other templates that serve as the content for the box. Complete instructions for building the box are given below.

Usage
To insert the box and its contents, copy and paste the following code:

The code inserts the box template and the four other "bullet" templates that serve as the content for the box. You can then choose which of the four “bullet” templates are appropriate for the situation and then duplicate/delete the rows as needed. You can also customize the content for any other situation by manually entering the necessary code to create the custom bullet.

Once you have added the box code to your page, you will need to configure its parameters. The code shows the required parameters in ALL CAPS. Below are descriptions of the templates and their required parameters:


 * a) Examples Box contains the settings for the box itself, such as horizontal lines, shading, etc. It has 1 parameter:
 * WIKI PAGE = the name of the wiki page that contains the application's examples index page (e.g., BlockSim Examples)


 * b) Examples Link is for linking to an example in another wiki page. It has 2 parameters:
 * WIKI PAGE = the name of the wiki page (e.g., BlockSim Allocation Analysis Example).
 * ANCHOR NAME = the name of the example that should be displayed for the wiki page (e.g., Allocation Example)


 * c) Examples Link External is for linking to an example that's posted on another website such as ReliaSoft.com. It has 2 parameters:
 * HTML URL = the URL of the example on the external website (e.g., http://www.reliasoft.com/BlockSim/examples/rc1/index.htm).
 * ANCHOR TEXT = the name of the example that should be displayed for the link.


 * d) Examples Movie is for linking to an example that's only available as a video on ReliaSoft.tv. It has 2 parameters:
 * VIDEO URL = the URL for the ReliaSoft.tv web page (e.g., http://www.reliasoft.tv/blocksim/appexamples/blocksim_app_ex_1.html).
 * ANCHOR TEXT = the name of the example that should be displayed for the link (e.g., "Reliability of a Storage Cluster").


 * e) Examples Both is for an example that's available both on an external website (e.g., ReliaSoft.com) and on ReliaSoft.tv. It has 4 parameters:
 * HTML URL = The URL for the HTML version of the example (e.g., http://www.reliasoft.com/BlockSim/examples/rc1/index.htm).
 * ANCHOR TEXT1 = The anchor text for the HTML version link (e.g., "Reliability Analysis of a Storage Cluster System").
 * VIDEO URL = The URL for the video version of the example on ReliaSoft.tv (e.g., http://www.reliasoft.tv/blocksim/appexamples/blocksim_app_ex_1.htm).
 * ANCHOR TEXT2 = The anchor text for the video version link (e.g., "Watch the video...").

Example
The following example shows what the box might look like for a BlockSim topic. The code used to build this example is also shown below.

