Template:Main infobox: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Onteron creating template |
Joshua2504 (talk | contribs) m 17 revisions imported |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 11: | Line 11: | ||
</pre> | </pre> | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
--><table cellpadding="0" cellspacing="0" class="{{{classes|}}}" style="background-color:{{{bgcolor}}}"> | --><table cellpadding="0" cellspacing="0" class="{{{classes|}}}" | ||
style="margin: 0.5em 0; background-color:{{{bgcolor|#aaccff}}}"> | |||
<tr class="plainlinks" style="font-size:85%; font-style:italic; text-align:right"> | <tr class="plainlinks" style="font-size:85%; font-style:italic; text-align:right"> | ||
<td>[{{fullurl:Template:{{{name}}}|action=edit}} edit this {{{type}}}]</td> | <td style="padding-right:0.5em"><!-- | ||
--><div style="position:absolute"><!-- | |||
-->{{#if: {{{icon|}}} | [[File:{{{icon}}}|32px]] }}<!-- | |||
--></div><!-- | |||
-->[{{fullurl:Template:{{{name}}}|action=edit}} edit this {{{type}}}]<!-- | |||
--></td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td class="infoboxtitle" style=" | <td class="infoboxtitle" style="vertical-align:middle; padding:3px 0 3px 44px"> | ||
<h4 style="float:left; padding:0; margin:0">{{{name}}}</h4> | |||
<h4 style="float:left; padding:0 0 | |||
<div style="float:right">{{{tbcontent|}}}</div> | <div style="float:right">{{{tbcontent|}}}</div> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="padding:0.5em"><!-- | <td style="padding:0.3em 0.5em"><!-- | ||
--><div style="visibility:hidden; height:0"><!-- | --><div style="visibility:hidden; height:0"><!-- | ||
-->This div is put in here to make sure the box expands to the <!-- | -->This div is put in here to make sure the box expands to the <!-- |
Latest revision as of 18:06, 6 November 2020
{{main infobox | name = | type = | classes = | bgcolor = | icon = | tbcontent = | content = }}
[{{fullurl:Template:{{{name}}}|action=edit}} edit this {{{type}}}] |
{{{name}}} |
{{{content}}} |