Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
(→Usage) |
|||
(74 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <table class="infobox" style="text-align: left; width: | + | <noinclude> |
+ | <noinclude> | ||
+ | == Usage == | ||
+ | {{infobox | ||
+ | |title = Title of the game | ||
+ | |logo = Logo Png | ||
+ | |category = Windows Game, Arcade game, Console Game, | ||
+ | |gamename = Template:Infobox | ||
+ | <!-- Game Name (same as page) for the Voting widget --> | ||
+ | |platform = Console or Arcade board (SNES , Naomi) | ||
+ | |download = link to DL: [URL/ Text] | ||
+ | |developer = Developer | ||
+ | |license = Commercial, free, demo | ||
+ | |players = 1 Player, 2 Players | ||
+ | |release = release date | ||
+ | |type = Rail shooter, Skill shooter, Gallery shooter | ||
+ | |titleshot = titlescreen.jpg | ||
+ | |gameplayshot = gameplayscreenshot.jpg | ||
+ | |note = Requires patches, requires special files | ||
+ | }} | ||
+ | </noinclude> | ||
+ | |||
+ | <table class="infobox" style="text-align: left; width: 400px; font-size: 100%; border-radius:10px; border: 1px black solid; overflow:hidden;"> | ||
+ | {{#if:{{{logo|}}}|| | ||
<tr> | <tr> | ||
<th class="infobox-title" colspan="2" style="text-align: center;"><b>{{{title|{{PAGENAME}}}}}</b></th> | <th class="infobox-title" colspan="2" style="text-align: center;"><b>{{{title|{{PAGENAME}}}}}</b></th> | ||
− | </tr> | + | </tr>}} |
+ | {{#if:{{{logo|}}}| | ||
<tr> | <tr> | ||
− | <th class="infobox- | + | <th class="infobox-logo" colspan="2" style="text-align: center;">[[File:{{{logo}}}|300px]]</th> |
− | </tr> | + | </tr>}} |
+ | <tr><th><br></th></tr> | ||
{{#if:{{{category|}}}| | {{#if:{{{category|}}}| | ||
<tr> | <tr> | ||
<th class="infobox-category" colspan="2" style="min-width:15em;">{{{category}}}</th> | <th class="infobox-category" colspan="2" style="min-width:15em;">{{{category}}}</th> | ||
+ | </tr>}} | ||
+ | {{#if:{{{platform|}}}| | ||
+ | <tr> | ||
+ | <td class="infoboxtd1strow"><i class="fa-solid fa-microchip"></i> <b>Hardware:</b></td> | ||
+ | <td>{{{platform}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{download|}}}| | {{#if:{{{download|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow"><b> | + | <td class="infoboxtd1strow"><i class="fa-solid fa-download"></i> <b>Download:</b></td> |
<td>{{{download}}}</td> | <td>{{{download}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{license|}}}| | {{#if:{{{license|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow"><b>License:</b></td> | + | <td class="infoboxtd1strow"><i class="fa-solid fa-money-bill-wave"></i> <b>License:</b></td> |
<td>{{{license}}}</td> | <td>{{{license}}}</td> | ||
</tr>}} | </tr>}} | ||
+ | {{#if: {{{players|}}}{{{type|}}}| | ||
<tr> | <tr> | ||
<th class="infobox-subtitle" colspan="2" style="text-align: center;">Game info</th> | <th class="infobox-subtitle" colspan="2" style="text-align: center;">Game info</th> | ||
− | </tr> | + | </tr>}} |
+ | {{#if:{{{developer|}}}| | ||
+ | <tr> | ||
+ | <td class="infoboxtd1strow"><i class="fa-solid fa-pen-to-square"></i> <b>Developer:</b></td> | ||
+ | <td>{{{developer}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{release|}}}| | ||
+ | <tr> | ||
+ | <td class="infoboxtd1strow"><i class="fa-solid fa-calendar-days"></i> <b>Released:</b></td> | ||
+ | <td>{{{release}}}</td> | ||
+ | </tr>}} | ||
{{#if:{{{players|}}}| | {{#if:{{{players|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow"><b> | + | <td class="infoboxtd1strow"><i class="fa-solid fa-users"></i> <b>Players:</b></td> |
<td>{{{players}}}</td> | <td>{{{players}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow"><b>Type:</b></td> | + | <td class="infoboxtd1strow"><i class="fa-solid fa-bullseye"></i> <b>Type:</b></td> |
<td>{{{type}}}</td> | <td>{{{type}}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{titleshot|}}}| | ||
+ | <tr> | ||
+ | <th class="infobox-image" colspan="2" style="text-align: center;">[[File:{{{titleshot}}}|300px]]</th> | ||
+ | </tr>}} | ||
+ | {{#if:{{{gameplayshot|}}}| | ||
+ | <tr> | ||
+ | <th class="infobox-image" colspan="2" style="text-align: center;">[[File:{{{gameplayshot}}}|frameless|300px]]</th> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{note|}}}| | {{#if:{{{note|}}}| | ||
<tr> | <tr> | ||
− | <td class="infobox-note" colspan="2" style="text-align: center; font-size: 0.85em;"><b>Note: </b>{{{note}}}</td> | + | <td class="infobox-note" colspan="2" style="text-align: center; font-size: 0.85em;"><i class="fa-solid fa-note-sticky"></i> <b>Note: </b>{{{note}}}</td> |
− | </tr>}} | + | </tr> |
+ | }} | ||
+ | {{#if:{{{gamename|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2" style="text-align: center;"">{{#ratepage:{{{gamename}}}||200}}</td> | ||
+ | </tr> | ||
+ | }} | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 20:12, 30 January 2023
Usage