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:
<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;">
+
<noinclude>
{{{text|TEST}}}
+
== Usage ==
</div><noinclude>
+
{{infobox
{{documentation|content=
+
|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>
  
<templatedata>
+
<table class="infobox" style="text-align: left; width: 400px; font-size: 100%; border-radius:10px; border: 1px black solid; overflow:hidden;">
{
+
{{#if:{{{logo|}}}||
"params": {
+
<tr>
"accentcolor": {
+
<th class="infobox-title" colspan="2" style="text-align: center;"><b>{{{title|{{PAGENAME}}}}}</b></th>
"label": {
+
</tr>}}
"en": "Accent color",
+
{{#if:{{{logo|}}}|
"de": "Akzentfarbe"
+
<tr>
},
+
<th class="infobox-logo" colspan="2" style="text-align: center;">[[File:{{{logo}}}|300px]]</th>
"description": {
+
</tr>}}
"en": "HEX color code",
+
<tr><th><br></th></tr>
"de": "HEX Farbcode"
+
{{#if:{{{category|}}}|
},
+
<tr>
"example": "#0174DF",
+
<th class="infobox-category" colspan="2" style="min-width:15em;">{{{category}}}</th>
"type": "string",
+
</tr>}}
"autovalue": "#0174DF"
+
{{#if:{{{platform|}}}|
},
+
<tr>
"backgroundcolor": {
+
<td class="infoboxtd1strow"><i class="fa-solid fa-microchip"></i> <b>Hardware:</b></td>
"label": {
+
<td>{{{platform}}}</td>
"en": "Background color",
+
</tr>}}
"de": "Hintergrund(farbe)"
+
{{#if:{{{download|}}}|
},
+
<tr>
"description": {
+
<td class="infoboxtd1strow"><i class="fa-solid fa-download"></i> <b>Download:</b></td>
"en": "HEX Code or HTML settings",
+
<td>{{{download}}}</td>
"de": "HEX Code oder HTML Settings"
+
</tr>}}
},
+
{{#if:{{{license|}}}|
"example": "transparent",
+
<tr>
"type": "string",
+
<td class="infoboxtd1strow"><i class="fa-solid fa-money-bill-wave"></i> <b>License:</b></td>
"autovalue": "transparent"
+
<td>{{{license}}}</td>
},
+
</tr>}}
"width": {
+
{{#if: {{{players|}}}{{{type|}}}|
"label": {
+
<tr>
"en": "Width",
+
<th class="infobox-subtitle" colspan="2" style="text-align: center;">Game info</th>
"de": "Breite"
+
</tr>}}
},
+
{{#if:{{{developer|}}}|
"description": {
+
<tr>
"en": "Width of the box",
+
<td class="infoboxtd1strow"><i class="fa-solid fa-pen-to-square"></i> <b>Developer:</b></td>
"de": "Breite der Box"
+
<td>{{{developer}}}</td>
},
+
</tr>}}
"type": "string",
+
{{#if:{{{release|}}}|
"autovalue": "auto"
+
<tr>
},
+
<td class="infoboxtd1strow"><i class="fa-solid fa-calendar-days"></i> <b>Released:</b></td>
"textalignment": {
+
<td>{{{release}}}</td>
"label": {
+
</tr>}}
"en": "Text-alignment",
+
{{#if:{{{players|}}}|
"de": "Textausrichtung"
+
<tr>
},
+
<td class="infoboxtd1strow"><i class="fa-solid fa-users"></i> <b>Players:</b></td>
"description": {
+
<td>{{{players}}}</td>
"en": "Alginment of the text",
+
</tr>}}
"de": "Ausrichtung des Textes"
+
{{#if:{{{type|}}}|
},
+
<tr>
"example": "center",
+
<td class="infoboxtd1strow"><i class="fa-solid fa-bullseye"></i> <b>Type:</b></td>
"type": "string",
+
<td>{{{type}}}</td>
"autovalue": "left"
+
</tr>}}
},
+
{{#if:{{{titleshot|}}}|
"text": {
+
<tr>
"label": {
+
<th class="infobox-image" colspan="2" style="text-align: center;">[[File:{{{titleshot}}}|300px]]</th>
"en": "Text",
+
</tr>}}
"de": "Text"
+
{{#if:{{{gameplayshot|}}}|
},
+
<tr>
"description": {
+
<th class="infobox-image" colspan="2" style="text-align: center;">[[File:{{{gameplayshot}}}|frameless|300px]]</th>
"en": "The text you want to display",
+
</tr>}}
"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|}}}|
 +
<tr>
 +
<td colspan="2" style="text-align: center;"">{{#ratepage:{{{gamename}}}||200}}</td>
 +
</tr>
 
}}
 
}}
</noinclude>
+
</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