Difference between revisions of "Template:Game"

From Hyperdimension Neptunia Wiki
Jump to navigation Jump to search
 
(5 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]]</div>}} {{#if:{{{caption1|}}}{{{image1|}}}|{{{caption1}}}}}
+
{{#if:{{{image1|}}}|<div class="infobox-image"><figure>[[File:{{{image1}}}|300px]]{{#if:{{{caption1|}}}|<figcaption class="infobox-caption">{{{caption1}}}</figcaption>}}</figure></div>}}
<table>{{#if:{{{predecessor|}}}{{{successor|}}}{{{platform|}}}{{{release_date(s)|}}}{{{order_in_series|}}}|<tr><td class="infobox-subtitle">Timeline</td></tr>}}
+
<table>{{#if:{{{predecessor|}}}{{{successor|}}}{{{platform|}}}{{{release_date(s)|}}}{{{order_in_series|}}}|<tr><td class="infobox-subtitle" colspan="2">Timeline</td></tr>}}
 
{{#if:{{{predecessor|}}}|<tr>
 
{{#if:{{{predecessor|}}}|<tr>
 
     <th>Predecessor</th>
 
     <th>Predecessor</th>
Line 23: Line 23:
 
     <td>{{{order_in_series}}}</td>
 
     <td>{{{order_in_series}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{genre|}}}{{{companies|}}}{{{ratings|}}}{{{hdn_wiki_score|}}}|<tr><td class="infobox-subtitle">Game Info</td></tr>}}
+
{{#if:{{{genre|}}}{{{companies|}}}{{{ratings|}}}{{{hdn_wiki_score|}}}|<tr><td class="infobox-subtitle" colspan="2">Game Info</td></tr>}}
 
{{#if:{{{genre|}}}|<tr>
 
{{#if:{{{genre|}}}|<tr>
 
     <th>Genre</th>
 
     <th>Genre</th>
Line 59: Line 59:
 
}}
 
}}
 
</pre>
 
</pre>
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 07:43, 7 April 2021

Game

Example usage:

{{Game
|title1=Example
|image1=Example
|caption1=Example
|predecessor=Example
|successor=Example
|platform=Example
|release_date(s)=Example
|order_in_series=Example
|genre=Example
|companies=Example
|ratings=Example
|hdn_wikia_score=Example
}}