Template:Basic Infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><table class="infobox" style="background-color: #f8f9fa !important;"><tr><th colspan="2" class="infobox-header" style="font-size: 125%; padding: 0.6em; text-align: center; background-color: #cedff2 !important;">{{{name|{{PAGENAME}}}}}</th></tr><tr><td colspan="2" style="padding: 0 1px; background-color: #f8f9fa !important;"><hr style="height: 1px; background-color: #aaa; border: none; margin: 0;" /></td></tr>{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; padding: 0.8em 0; background-color: #f8f9fa !important;">[[File:{{{image}}}|250px]]{{#if:{{{caption|}}}|<br/><small>{{{caption}}}</small>}}</td></tr><tr><td colspan="2" style="padding: 0 1px; background-color: #f8f9fa !important;"><hr style="height: 1px; background-color: #aaa; border: none; margin: 0;" /></td></tr>}}{{#if:{{{occupation|}}}|<tr><th scope="row" style="text-align: left; padding: 8px 12px; width: 40%; font-size: 90%; background-color: #f8f9fa !important;">Occupation</th><td style="padding: 8px 12px; font-size: 90%; background-color: #f8f9fa !important;">{{{occupation}}}</td></tr>}}{{#if:{{{location|}}}|<tr><th scope="row" style="text-align: left; padding: 8px 12px; font-size: 90%; background-color: #f8f9fa !important;">Location</th><td style="padding: 8px 12px; font-size: 90%; background-color: #f8f9fa !important;">{{{location}}}</td></tr>}}{{#if:{{{footnotes|}}}|<tr><td colspan="2" style="padding: 0 1px; background-color: #f8f9fa !important;"><hr style="height: 1px; background-color: #aaa; border: none; margin: 0;" /></td></tr><tr><td colspan="2" style="font-size: 85%; text-align: center; padding: 10px; background-color: #f8f9fa !important;">{{{footnotes}}}</td></tr>}}</table></includeonly> | ||
<table class="infobox" style=" | <noinclude> | ||
== Usage == | |||
Copy and paste the following code to add this infobox to an article: | |||
<pre> | |||
{{Basic Infobox | |||
| name = | |||
| image = | |||
| caption = | |||
| occupation = | |||
| location = | |||
| footnotes = | |||
}} | |||
</pre> | |||
== Example == | |||
<pre> | |||
{{Basic Infobox | |||
| name = Nimisha Zakaria | |||
| image = nimi.png | |||
| caption = Nimisha photographed around the early 1900s | |||
| occupation = Primogen | |||
| location = San Francisco, California | |||
| footnotes = One of many Malkavian Primogens, best known for her cruel affect towards non-Malkavians and extensive list of boons. | |||
}} | |||
</pre> | |||
{{Basic Infobox | |||
| name = Nimisha Zakaria | |||
| image = nimi.png | |||
| caption = Nimisha photographed around the early 1900s | |||
| occupation = Primogen | |||
| location = San Francisco, California | |||
| footnotes = One of many Malkavian Primogens, best known for her cruel affect towards non-Malkavians and extensive list of boons. | |||
}} | |||
</noinclude> | |||
</ | |||
Latest revision as of 18:20, 13 May 2026
Usage
Copy and paste the following code to add this infobox to an article:
{{Basic Infobox
| name =
| image =
| caption =
| occupation =
| location =
| footnotes =
}}
Example
{{Basic Infobox
| name = Nimisha Zakaria
| image = nimi.png
| caption = Nimisha photographed around the early 1900s
| occupation = Primogen
| location = San Francisco, California
| footnotes = One of many Malkavian Primogens, best known for her cruel affect towards non-Malkavians and extensive list of boons.
}}