Template:Main Page Box: Difference between revisions

From Rodinia Wiki
Created page with "<includeonly><div style="border: 1px solid #a2a9b1; background-color: #f8f9fa; margin-bottom: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);"> <div style="background-color: {{{color|#2b4b6f}}}; color: {{{text-color|#ffffff}}}; padding: 0.5em 1em; font-size: 1.25em; font-weight: bold; border-top-left-radius: 3px; border-top-right-radius: 3px;"> {{{title|Section Title}}} </div> <div style="padding: 1em; font-size: 0.95em; color: #222;"..."
 
 
Line 7: Line 7:
     </div>
     </div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Usage ==
<includeonly><div style="border: 1px solid #a2a9b1; background-color: #f8f9fa; margin-bottom: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">
This template is used to create the stylized boxes on the Main Page.
    <div style="background-color: {{{color|#2b4b6f}}}; color: {{{text-color|#ffffff}}}; padding: 0.5em 1em; font-size: 1.25em; font-weight: bold; border-top-left-radius: 3px; border-top-right-radius: 3px;">
<pre>
        {{{title|Section Title}}}
{{Main Page Box
    </div>
|color = #2b4b6f
    <div style="padding: 1em; font-size: 0.95em; color: #222;">
|text-color = #ffffff
        {{{content|Section content goes here.}}}
|title = Box Title
    </div>
|content =
</div></includeonly><noinclude>
Your text here.
}}
</pre>
</noinclude>

Latest revision as of 10:13, 23 June 2026