Template:Infobox Sandbox: Difference between revisions
AZMindroma (talk | contribs) Added the headerstyle to make the headers darker |
AZMindroma (talk | contribs) Added some comments |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} | | headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker --> | ||
| title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified --> | ||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} <!-- Not adding images is ok too --> | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||