Template:Infobox/center: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
mh>Viklo
(this is for generic centered text essentially)
 
mh>Viklo
(background => style)
Line 1: Line 1:
<onlyinclude>{{#if: {{{1|}}}|<tr><td style="text-align:center;background:{{{background|inherit}}}" colspan="2">{{{1|}}}</td></tr>}}</onlyinclude>
<onlyinclude>{{#if: {{{1|}}}|<tr><td style="text-align:center;{{{style|}}}" colspan="2">{{{1|}}}</td></tr>}}</onlyinclude>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 00:43, 14 March 2024

Documentation

Infobox center
Colored infobox center

This is a template for generic centered rows in infoboxes. It has an unnamed parameter which is the text and a style parameter for CSS.