Template:Infobox/section/doc

From Nguhcraft Wiki
Jump to navigation Jump to search

Header 1 with section
abcdef

This is like a header except it has a second unnamed parameter where you can put the following contents so that the header only displays when there is actual content after it. Here is an example of the usage, taken from the infobox on the right:

{{Infobox|
{{Infobox/section|Header 1 with section|style=background:lightgreen|
{{Infobox/row|abc|def}}
}}
{{Infobox/section|Header 2 with no section|
{{Infobox/row|abc|}} <!-- This row has no data so it does not display -->
}}
}}