Template:Examples Both: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


1 - The URL for the HTML version of the example (e.g., http://www.reliasoft.com/BlockSim/examples/rc1/index.htm).
1 - The URL for the HTML version of the example (e.g., http://www.reliasoft.com/BlockSim/examples/rc1/index.htm).
2 - The anchor text for the HTML version link (e.g., "Reliability Analysis of a Storage Cluster System").
2 - The anchor text for the HTML version link (e.g., "Reliability Analysis of a Storage Cluster System").
3 - 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).
3 - 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).
4 - The anchor text for the video version link (e.g., "Watch the video...")
 
4 - The anchor text for the video version link (e.g., "Watch the video...").





Revision as of 02:52, 14 August 2012

link={{{1}}} [{{{1}}} {{{2}}}] or link={{{3}}} [{{{3}}} {{{4}}}]

Usage

Use this template in conjunction with Template:Examples Box in order to build a "See it in action..." box that provides links to other relevant examples. The following templates are available to handle different types of links:

The Examples Both template takes 4 parameters:

1 - The URL for the HTML version of the example (e.g., http://www.reliasoft.com/BlockSim/examples/rc1/index.htm).

2 - The anchor text for the HTML version link (e.g., "Reliability Analysis of a Storage Cluster System").

3 - 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).

4 - The anchor text for the video version link (e.g., "Watch the video...").


For example:

{{Examples Both|http://www.reliasoft.com/BlockSim/examples/rc1/index.htm|Reliability Analysis of a Storage Cluster System|http://www.reliasoft.tv/blocksim/appexamples/blocksim_app_ex_1.html|Watch the video...}}

Examples link.png Reliability Analysis of a Storage Cluster System or Examples movie.png Watch the video...