Template:Examples Both: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<p>[[Image:examples_link.png|link={{{1}}}]] [{{{1}}} {{{2}}}]  or  [[Image:examples_movie.png|link={{{3}}}]] [{{{3}}} {{{4}}}]</p>
<p>[[Image:examples_link.png|link={{{1}}}]] [{{{1}}} {{{2}}}]  or  [[Image:examples_movie.png|link={{{3}}}]] [{{{3}}} {{{4}}}]</p><noinclude>{{Template:Examples_Both/documentation}}[[Category: Examples Box Templates]]</noinclude>
 
<noinclude>==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:
 
{{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>
 
{{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...}}
 
[[Category:Templates]]
</noinclude>

Latest revision as of 16:30, 5 June 2014

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


Template Documentation

This template is part of a series of templates 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.

For complete instructions on using this template and building the box, see Template:Examples Box