Template:Infobox/above: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
mh>Viklo
m (Viklo moved page Template:Infobox title to Template:Infobox above: see Template:Infobox talk page)
mh>Viklo
(background => style)
Line 1: Line 1:
<onlyinclude>{{#if: {{{1|}}}|<tr><th style="font-size:125%;text-align:center;background:{{{background|inherit}}}" colspan="2">{{{1|}}}</th></tr>}}</onlyinclude>
<onlyinclude>{{#if: {{{1|}}}|<tr><th style="font-size:125%;text-align:center;{{{style|}}}" colspan="2">{{{1|}}}</th></tr>}}</onlyinclude>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 00:41, 14 March 2024

Documentation

Infobox above
Green infobox above

This is a template for infobox titles. It takes an unnamed argument, which is the title text. It can also take the parameter style, with CSS for the title.