Difference between revisions of "Template:Landmass"
Jump to navigation
Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title1|{{PAGENAME}}}}}</div> {{#if:{{{image1|}}}|<div class="infobox-image">[[File:{{{image1}}}|300px]]</div>}}{{#if:{{{cap...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title1|{{PAGENAME}}}}}</div> | <div class="infobox-title">{{{title1|{{PAGENAME}}}}}</div> | ||
− | {{#if:{{{image1|}}}|<div class="infobox-image">[[File:{{{image1}}}|300px]] | + | {{#if:{{{image1|}}}|<div class="infobox-image"><figure>[[File:{{{image1}}}|300px]]{{#if:{{{caption1|}}}|<figcaption class="infobox-caption">{{{caption1}}}</figcaption>}}</figure></div>}} |
− | <table>{{#if:{{{cpu|}}}{{{other_residents|}}}{{{ | + | <table>{{#if:{{{cpu|}}}{{{other_residents|}}}{{{consoles|}}}{{{mascots|}}}|<tr><td class="infobox-subtitle" colspan="2">Timeline</td></tr>}} |
{{#if:{{{cpu|}}}|<tr> | {{#if:{{{cpu|}}}|<tr> | ||
<th>CPU(s)</th> | <th>CPU(s)</th> | ||
Line 11: | Line 11: | ||
<td>{{{other_residents}}}</td> | <td>{{{other_residents}}}</td> | ||
</tr>}} | </tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{consoles|}}}|<tr> |
<th>Consoles Represented</th> | <th>Consoles Represented</th> | ||
− | <td>{{{ | + | <td>{{{consoles}}}</td> |
</tr>}} | </tr>}} | ||
{{#if:{{{mascots|}}}|<tr> | {{#if:{{{mascots|}}}|<tr> | ||
Line 33: | Line 33: | ||
|cpu=Example | |cpu=Example | ||
|other_residents=Example | |other_residents=Example | ||
− | | | + | |consoles=Example |
|mascots=Example | |mascots=Example | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 07:41, 7 April 2021
Landmass
Example usage:
{{Landmass |title1=Example |image1=Example |caption1=Example |cpu=Example |other_residents=Example |consoles=Example |mascots=Example }}