Difference between revisions of "Template:Infobox"

From Sinden Lightgun
Jump to navigation Jump to search
(Replaced content with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#...")
Tag: Replaced
 
(101 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<div class="infobox">
<noinclude>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
== Usage ==
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
{{infobox
<table>{{#if:{{{param1|}}}|<tr>
|title = Title of the game
<th>Parameter 1</th>
|logo = Logo Png
<td>{{{param1}}}</td>
|category = Windows Game, Arcade game, Console Game,
</tr>}}{{#if:{{{param2|}}}|<tr>
|gamename = Template:Infobox
<th>Parameter 2</th>
<!-- Game Name (same as page) for the Voting widget -->
<td>{{{param2}}}</td>
|platform = Console or Arcade board (SNES , Naomi)
</tr>}}{{#if:{{{param3|}}}|<tr>
|download = link to DL: [URL/ Text]
<th>Parameter 3</th>
|developer = Developer
<td>{{{param3}}}</td>
|license = Commercial, free, demo
</tr>}}{{#if:{{{param4|}}}|<tr>
|players = 1 Player, 2 Players
<th>Parameter 4</th>
|release = release date
<td>{{{param4}}}</td>
|type = Rail shooter, Skill shooter, Gallery shooter
</tr>}}{{#if:{{{param5|}}}|<tr>
|titleshot = titlescreen.jpg
<th>Parameter 5</th>
|gameplayshot = gameplayscreenshot.jpg
<td>{{{param5}}}</td>
|note = Requires patches, requires special files
</tr>}}</table>
}}
</div>
</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>
<th class="infobox-title" colspan="2" style="text-align: center;"><b>{{{title|{{PAGENAME}}}}}</b></th>
</tr>}}
{{#if:{{{logo|}}}|
<tr>
<th class="infobox-logo" colspan="2" style="text-align: center;">[[File:{{{logo}}}|300px]]</th>
</tr>}}
<tr><th><br></th></tr>
{{#if:{{{category|}}}|
<tr>
<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>}}
{{#if:{{{download|}}}|
<tr>
<td class="infoboxtd1strow"><i class="fa-solid fa-download"></i> <b>Download:</b></td>
<td>{{{download}}}</td>
</tr>}}
{{#if:{{{license|}}}|
<tr>
<td class="infoboxtd1strow"><i class="fa-solid fa-money-bill-wave"></i> <b>License:</b></td>
<td>{{{license}}}</td>
</tr>}}
{{#if: {{{players|}}}{{{type|}}}|
<tr>
<th class="infobox-subtitle" colspan="2" style="text-align: center;">Game info</th>
</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|}}}|
<tr>
<td class="infoboxtd1strow"><i class="fa-solid fa-users"></i> <b>Players:</b></td>
<td>{{{players}}}</td>
</tr>}}
{{#if:{{{type|}}}|
<tr>
<td class="infoboxtd1strow"><i class="fa-solid fa-bullseye"></i> <b>Type:</b></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>}}

{{#if:{{{note|}}}|
<tr>
<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>
}}
{{#if:{{{gamename|}}}|
<tr>
<td colspan="2" style="text-align: center;"">{{#ratepage:{{{gamename}}}||200}}</td>
</tr>
}}
</table>

Latest revision as of 20:12, 30 January 2023


Usage


Windows Game, Arcade game, Console Game,
Hardware: Console or Arcade board (SNES , Naomi)
Download: link to DL: [URL/ Text]
License: Commercial, free, demo
Game info
Developer: Developer
Released: release date
Players: 1 Player, 2 Players
Type: Rail shooter, Skill shooter, Gallery shooter
300px
300px
Note: Requires patches, requires special files









Infobox