Difference between revisions of "Template:ExampleWithCode"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<!-- ExampleWithTable1 : Example Template + Table with equations on the left and code on the right --> | <!-- ExampleWithTable1 : Example Template + Table with equations on the left and code on the right --> | ||
− | <div class="noprint" style=" margin-left: 2em; border-left: 6px solid #F4C430; marging-left: | + | <div class="noprint" style=" margin-left: 2em; border-left: 6px solid #F4C430; marging-left:5%; margin-right:5%;padding-top:0.8em"> |
[[Image:icons2.png|50px|left|top]] | [[Image:icons2.png|50px|left|top]] | ||
<div style="text-align: left; padding-left: 2.5em; font-size:14pt"><u>'''{{{title1|{{{1}}}}}}'''</u><span style="font-size:12pt"> {{{title2|{{{2}}}}}}</span></div> | <div style="text-align: left; padding-left: 2.5em; font-size:14pt"><u>'''{{{title1|{{{1}}}}}}'''</u><span style="font-size:12pt"> {{{title2|{{{2}}}}}}</span></div> | ||
<br> | <br> | ||
− | <div style="text-align: left; padding-left: | + | <div style="text-align: left; padding-left: 3%; font-size:12pt; ">{{{text|{{{3}}}}}}</div> |
− | {| cellspacing=" | + | {| cellspacing="10" cellpadding="10" |
− | | style="width: | + | | style="width:40%" | |
− | <div style="text-align: left;font-size: 12pt;padding-left: | + | <div style="text-align: left;font-size: 12pt;padding-left:1%;padding-right:3%;font-family:arial;">{{{equation|{{{4}}}}}}</div> |
− | | style="width: | + | | style="width:50%" | |
{{{code|{{{5}}}}}} | {{{code|{{{5}}}}}} | ||
|} | |} | ||
</div> | </div> | ||
<noinclude> | <noinclude> |