Template:Examples Box: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<center><div style="width: 98%; background-color:#F5F5F5; padding: 10px; text-align: left;">[[Image: examples_heading.png|link={{{1}}}]]<hr>{{{2}}} <hr></div></center>
<center><div style="width: 98%; background-color:#F5F5F5; padding: 10px; text-align: left;">[[Image: examples_heading.png|link={{{1}}}]]<hr>{{{2}}} <hr></div></center>
<noinclude>==Usage==
Use this template to insert a "See it in action box." This template takes 2 parameters: 1 = the link for the application's examples page and 2 = the entire contents of the box between the two horizontal lines. For example:
<pre> {{Examples Box|BlockSim Examples|<p>More application examples are available! See also:</p> <p>{{Examples Link|BlockSim Examples}}[[BlockSim_Example:_CM_Triggered_by_Subsystem_Down|CM Triggered by Subsystem Down]]</p>}}</pre>
{{Examples Box|BlockSim Examples|<p>More application examples are available! See also:</p> <p>{{Examples Link|BlockSim Examples}}[[BlockSim_Example:_CM_Triggered_by_Subsystem_Down|CM Triggered by Subsystem Down]]</p>}}
[[Category:Templates]]
</noinclude>

Revision as of 05:43, 13 August 2012

link={{{1}}}
{{{2}}}

Usage

Use this template to insert a "See it in action box." This template takes 2 parameters: 1 = the link for the application's examples page and 2 = the entire contents of the box between the two horizontal lines. For example:

 {{Examples Box|BlockSim Examples|<p>More application examples are available! See also:</p> <p>{{Examples Link|BlockSim Examples}}[[BlockSim_Example:_CM_Triggered_by_Subsystem_Down|CM Triggered by Subsystem Down]]</p>}}
Examples heading.png

More application examples are available! See also:

Examples link.png {{{2}}}

CM Triggered by Subsystem Down