Difference between revisions of "Template:Infobox header"
Jump to navigation
Jump to search
(I like this style, so I plan to use it for some videogame articles. may save the necessity of having to create more templates) |
(smaller) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {| border=1 style="float:right;width: 300px; margin-left:0.5em; margin-bottom:0.5em;font-size: | + | {| border=1 style="float:right;width: 300px; margin-left:0.5em; margin-bottom:0.5em;font-size: 90%" cellpadding=2 cellspacing=0 |
!colspan="2" style="background:{{{bg|#ffbfff}}};color:{{{color|#000}}};padding:5px;font-size:120%"|{{{title|{{PAGENAME}}}}} | !colspan="2" style="background:{{{bg|#ffbfff}}};color:{{{color|#000}}};padding:5px;font-size:120%"|{{{title|{{PAGENAME}}}}} | ||
|- | |- | ||
| − | |colspan="2" style=" | + | |colspan="2" style="text-align:center"|{{{image|''No image has been added yet!''}}} |
|- | |- | ||
<noinclude> | <noinclude> | ||
| Line 14: | Line 14: | ||
==Example== | ==Example== | ||
| − | <code><nowiki>{{infobox header|title=Lorem ipsum|bg=lightblue|color=red|image=[[File:800px-Crop Book of Isaiah 2006-06-06.jpg|200px]]<br>A Holy Bible opened to the book of Isaiah}} | + | <code><nowiki>{{infobox header|title=Lorem ipsum|bg=lightblue|color=red|image=[[File:800px-Crop Book of Isaiah 2006-06-06.jpg|200px]]<br>A Holy Bible opened to the book of Isaiah}}</nowiki></code> |
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 22:11, February 15, 2024
| Infobox header | |
|---|---|
| No image has been added yet! |
Parameters
titleaffects the title of the page. By default it displays the page name itself.bgchanges the background color of the infobox headercolorchanges the text color of the infobox headerimageis for adding an image, and a caption if needed. By default it displays a message saying that no image has been added yet.
Example
{{infobox header|title=Lorem ipsum|bg=lightblue|color=red|image=[[File:800px-Crop Book of Isaiah 2006-06-06.jpg|200px]]<br>A Holy Bible opened to the book of Isaiah}}