Template:InfoboxProductLine: Difference between revisions
→Usage: fix doc |
various style fixes, might need more modification |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="background: #eee;border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 0.5em; width: | <div class="infobox" style="background: #eee;border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 0.5em; width: 22em;"> | ||
<div style="display:flex;gap:8px;flex-direction:column;"> | |||
<div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div> | <div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div> | ||
<div style="text-align: center | <div style="text-align: center;">[[File:{{{Logo}}}|200px]]</div> | ||
<table style="width:100%;"> | <table style="width:100%;"> | ||
<tr> | <tr> | ||
<th colspan=2 style="text-align: left; border-bottom: 1px solid #ccc; font-size:125% | <th colspan=2 style="text-align: left; border-bottom: 1px solid #ccc; font-size:125%;">Basic Information</th> | ||
</tr> | </tr> | ||
Line 35: | Line 37: | ||
</div> | </div> | ||
<noinclude> | </div> | ||
</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
{{InfoboxProductLine | {{InfoboxProductLine | ||
| Title = Product Name | | Title = Product Name | ||
Line 49: | Line 50: | ||
| Logo= QuestionMark.svg | | Logo= QuestionMark.svg | ||
}} | }} | ||
add this to the page with the text you wish to appear on the box when using the source editor. | To have this infobox appear to the right of the page, add this to the page with the text you wish to appear on the box when using the source editor. | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> |