Difference between revisions of "Template:Infobox"

From Sinden Lightgun
Jump to navigation Jump to search
 
(103 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<div style="background:{{{accentcolor|#0174DF}}}; color:white; width:146px;padding-left:0.5em; margin-left:0.5em; border:.1em solid {{{accentcolor|#0174DF}}};">[[File:OOjs UI icon info.svg|20px]] '''INFORMATION''' </div>
<noinclude>
<div style="background:{{{backgroundcolor|transparent}}}; width:{{{width|auto}}}; border-left:1em solid {{{accentcolor|#0174DF}}}; border:.1em solid {{{accentcolor|#0174DF}}}; box-sizing:border-box; padding-left:0.5em; margin-left:0.5em; text-align:{{{textalignment|left}}}; overflow:hidden;">
== Usage ==
{{{text|TEST}}}
{{infobox
</div><noinclude>
|title = Title of the game
{{documentation|content=
|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;">
<templatedata>
{{#if:{{{logo|}}}||
{
<tr>
"params": {
<th class="infobox-title" colspan="2" style="text-align: center;"><b>{{{title|{{PAGENAME}}}}}</b></th>
"accentcolor": {
</tr>}}
"label": {
{{#if:{{{logo|}}}|
"en": "Accent color",
<tr>
"de": "Akzentfarbe"
<th class="infobox-logo" colspan="2" style="text-align: center;">[[File:{{{logo}}}|300px]]</th>
},
</tr>}}
"description": {
<tr><th><br></th></tr>
"en": "HEX color code",
{{#if:{{{category|}}}|
"de": "HEX Farbcode"
<tr>
},
<th class="infobox-category" colspan="2" style="min-width:15em;">{{{category}}}</th>
"example": "#0174DF",
</tr>}}
"type": "string",
{{#if:{{{platform|}}}|
"autovalue": "#0174DF"
<tr>
},
<td class="infoboxtd1strow"><i class="fa-solid fa-microchip"></i> <b>Hardware:</b></td>
"backgroundcolor": {
<td>{{{platform}}}</td>
"label": {
</tr>}}
"en": "Background color",
{{#if:{{{download|}}}|
"de": "Hintergrund(farbe)"
<tr>
},
<td class="infoboxtd1strow"><i class="fa-solid fa-download"></i> <b>Download:</b></td>
"description": {
<td>{{{download}}}</td>
"en": "HEX Code or HTML settings",
</tr>}}
"de": "HEX Code oder HTML Settings"
{{#if:{{{license|}}}|
},
<tr>
"example": "transparent",
<td class="infoboxtd1strow"><i class="fa-solid fa-money-bill-wave"></i> <b>License:</b></td>
"type": "string",
<td>{{{license}}}</td>
"autovalue": "transparent"
</tr>}}
},
{{#if: {{{players|}}}{{{type|}}}|
"width": {
<tr>
"label": {
<th class="infobox-subtitle" colspan="2" style="text-align: center;">Game info</th>
"en": "Width",
</tr>}}
"de": "Breite"
{{#if:{{{developer|}}}|
},
<tr>
"description": {
<td class="infoboxtd1strow"><i class="fa-solid fa-pen-to-square"></i> <b>Developer:</b></td>
"en": "Width of the box",
<td>{{{developer}}}</td>
"de": "Breite der Box"
</tr>}}
},
{{#if:{{{release|}}}|
"type": "string",
<tr>
"autovalue": "auto"
<td class="infoboxtd1strow"><i class="fa-solid fa-calendar-days"></i> <b>Released:</b></td>
},
<td>{{{release}}}</td>
"textalignment": {
</tr>}}
"label": {
{{#if:{{{players|}}}|
"en": "Text-alignment",
<tr>
"de": "Textausrichtung"
<td class="infoboxtd1strow"><i class="fa-solid fa-users"></i> <b>Players:</b></td>
},
<td>{{{players}}}</td>
"description": {
</tr>}}
"en": "Alginment of the text",
{{#if:{{{type|}}}|
"de": "Ausrichtung des Textes"
<tr>
},
<td class="infoboxtd1strow"><i class="fa-solid fa-bullseye"></i> <b>Type:</b></td>
"example": "center",
<td>{{{type}}}</td>
"type": "string",
</tr>}}
"autovalue": "left"
{{#if:{{{titleshot|}}}|
},
<tr>
"text": {
<th class="infobox-image" colspan="2" style="text-align: center;">[[File:{{{titleshot}}}|300px]]</th>
"label": {
</tr>}}
"en": "Text",
{{#if:{{{gameplayshot|}}}|
"de": "Text"
<tr>
},
<th class="infobox-image" colspan="2" style="text-align: center;">[[File:{{{gameplayshot}}}|frameless|300px]]</th>
"description": {
</tr>}}
"en": "The text you want to display",
"de": "Anzuzeigender Text"
},
"type": "string",
"autovalue": "",
"required": true,
"suggested": true
}
},
"description": {
"de": "Informations-Infobox",
"en": "Information-Infobox"
}
}
</templatedata>


{{#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|}}}|
</noinclude>
<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