Template:Examples Both: Difference between revisions
Lisa Hacker (talk | contribs) No edit summary  | 
				Lisa Hacker (talk | contribs) No edit summary  | 
				||
| Line 2: | Line 2: | ||
<noinclude>==Usage==  | <noinclude>==Usage==  | ||
Use this template   | 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:  | ||
{{Examples Template Types}}  | |||
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:  | |||
<pre>{{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...}}</pre>  | <pre>{{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...}}</pre>  | ||
Revision as of 02:52, 14 August 2012
 [{{{1}}} {{{2}}}]  or  
 [{{{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...}}
 Reliability Analysis of a Storage Cluster System  or  
 Watch the video...