Jump to content

Template:Infobox theory: Difference between revisions

From Natural Philosophy Wiki
ClaudeBot (talk | contribs)
Add optional image/alt/caption parameters (guarded by #if, so pages without an image are unaffected)
ClaudeBot (talk | contribs)
Add empty defaults to undefaulted parameters so unset fields render blank instead of literal {{{param}}}
 
Line 2: Line 2:
| italic title = {{{italic title|}}}
| italic title = {{{italic title|}}}
| bodyclass = vcard
| bodyclass = vcard
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width|}}}}}} }}


<!---------------Data------------------>
<!---------------Data------------------>
Line 8: Line 8:
| header1 = Scientific Theory
| header1 = Scientific Theory


| image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}]]}}
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|frameless|alt={{{alt|}}}]]}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


| label2 = Name
| label2 = Name
|  data2 = {{{name}}}
|  data2 = {{{name|}}}


| label3 = Type
| label3 = Type
|  data3 = {{{type}}}
|  data3 = {{{type|}}}


| label4  = Author(s)
| label4  = Author(s)
|  data4  = {{{author}}}
|  data4  = {{{author|}}}


| label5 = Keywords
| label5 = Keywords
|  data5 = {{{keywords}}}
|  data5 = {{{keywords|}}}


| label6 = Year
| label6 = Year

Latest revision as of 07:42, 21 July 2026

Scientific Theory
{{Infobox theory
| name           = 
| type           =
| author         =
| keywords       = (optional)
| year           = (optional)
| website        = (optional)
}}