Template:Main infobox: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
No edit summary
m 17 revisions imported
 
(11 intermediate revisions by 3 users not shown)
Line 16: Line 16:
       <td style="padding-right:0.5em"><!--
       <td style="padding-right:0.5em"><!--
       --><div style="position:absolute"><!--
       --><div style="position:absolute"><!--
        -->{{#ifexist: File:{{{icon}}} | [[File:{{{icon}}}|32px]] }}<!--
 
      -->{{#if: {{{icon|}}} | [[File:{{{icon}}}|32px]] }}<!--
       --></div><!--
       --></div><!--
       -->[{{fullurl:Template:{{{name}}}|action=edit}} edit this {{{type}}}]<!--
       -->[{{fullurl:Template:{{{name}}}|action=edit}} edit this {{{type}}}]<!--

Latest revision as of 18:06, 6 November 2020

  {{main infobox
    | name      = 
    | type      = 
    | classes   = 
    | bgcolor   = 
    | icon      = 
    | tbcontent = 
    | content   = 
  }}

{{{name}}}

This div is put in here to make sure the box expands to the full width possible. Therefore it needs enough text for at least one line on the page. This a really ugly hack so please replace with a better solution if you can. Thanks!
{{{content}}}