Difference between revisions of "Template:GameInfobox"
Jump to navigation
Jump to search
m |
ShunFishman (talk | contribs) |
||
(43 intermediate revisions by 8 users not shown) | |||
Line 5: | Line 5: | ||
margin: 10px; | margin: 10px; | ||
border-radius: 3px; | border-radius: 3px; | ||
− | width: {{{width| | + | width: {{{width|300px}}}; |
background: {{{background|#f8f8f8}}}; | background: {{{background|#f8f8f8}}}; | ||
text-align: center; | text-align: center; | ||
Line 12: | Line 12: | ||
<div class="infobox-title" | <div class="infobox-title" | ||
style="text-align:center; | style="text-align:center; | ||
+ | padding: 5px; | ||
+ | margin: 8px; | ||
+ | margin-left: -9px; | ||
+ | margin-top: -9px; | ||
+ | margin-right: -9px; | ||
+ | color: white; | ||
+ | background-color: {{{bordercolor|black}}}; | ||
"> | "> | ||
− | '''{{{title|{{PAGENAME}}}}}'''</div>{{#if:{{{image|}}}| | + | '''<big><big>{{{title|{{PAGENAME}}}}}</big></big>'''</div>{{#if:{{{image|}}}| |
<div class="infobox-image" | <div class="infobox-image" | ||
Line 21: | Line 28: | ||
text-align:center; | text-align:center; | ||
margin:auto; | margin:auto; | ||
− | border: solid | + | border: solid {{{innerbordercolor|}}} 2px; |
"> | "> | ||
− | [[File:{{{image}}}| | + | [[File:{{{image}}}|{{{imagescalepx|200px}}}]]</div>}} |
+ | <small>{{{imagecaption|Game title screen}}}</small> | ||
+ | <table style="text-align: left;">{{#if:{{{developer|}}}|<tr> | ||
+ | <th style="text-align: left;">Developer: </th> | ||
+ | <td style="text-align: left;">{{{developer}}}</td> | ||
+ | </tr>}}{{#if:{{{publisher|}}}|<tr> | ||
+ | <th style="text-align: left;">Publisher: </th> | ||
+ | <td style="text-align: left;">{{{publisher}}}</td> | ||
+ | </tr>}}{{#if:{{{officialsite|}}}|<tr> | ||
+ | <th style="text-align: left;">Official site:</th> | ||
+ | <td style="text-align: left;">{{{officialsite}}}</td> | ||
+ | </tr>}}{{#if:{{{director|}}}|<tr> | ||
+ | <th style="text-align: left;">Director: </th> | ||
+ | <td style="text-align: left;">{{{director}}}</td> | ||
+ | </tr>}}{{#if:{{{producer|}}}|<tr> | ||
+ | <th style="text-align: left;">Producer: </th> | ||
+ | <td style="text-align: left;">{{{producer}}}</td> | ||
+ | </tr>}}{{#if:{{{planning|}}}|<tr> | ||
+ | <th style="text-align: left;">Planning: </th> | ||
+ | <td style="text-align: left;">{{{planning}}}</td> | ||
+ | </tr>}}{{#if:{{{music|}}}|<tr> | ||
+ | <th style="text-align: left;">Music: </th> | ||
+ | <td style="text-align: left;">{{{music}}}</td> | ||
+ | </tr>}}{{#if:{{{program|}}}|<tr> | ||
+ | <th style="text-align: left;">Program: </th> | ||
+ | <td style="text-align: left;">{{{program}}}</td> | ||
+ | </tr>}}{{#if:{{{art|}}}|<tr> | ||
+ | <th style="text-align: left;">Art: </th> | ||
+ | <td style="text-align: left;">{{{art}}}</td> | ||
+ | </tr>}}{{#if:{{{designer|}}}|<tr> | ||
+ | <th style="text-align: left;">Designer: </th> | ||
+ | <td style="text-align: left;">{{{designer}}}</td> | ||
+ | </tr>}}{{#if:{{{releasedate|}}}|<tr> | ||
+ | <th style="text-align: left;">Release date: </th> | ||
+ | <td style="text-align: left;">{{{releasedate}}}</td> | ||
+ | </tr>}}{{#if:{{{previousgame|}}}|<tr> | ||
+ | <th style="text-align: left;">Previous game:</th> | ||
+ | <td style="text-align: left;">{{{previousgame}}}</td> | ||
+ | </tr>}}{{#if:{{{nextgame|}}}|<tr> | ||
+ | <th style="text-align: left;">Next game:</th> | ||
+ | <td style="text-align: left;">{{{nextgame}}}</td> | ||
+ | </tr>}}{{#if:{{{rating|}}}|<tr> | ||
+ | <th style="text-align: left;">Age Rating:</th> | ||
+ | <td style="text-align: left;">{{{rating}}}</td> | ||
+ | </tr>}}</table> | ||
+ | </div><noinclude> | ||
+ | == Optional parameters for the infobox == | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |'''{{{bordercolor}}}''' ||The color of the infobox border and header. Try to choose something related to the game's theme. | ||
+ | |- | ||
+ | | '''{{{background}}}''' || The main color/background color of the infobox. Try to choose something ''light'' and related to the game's theme that won't make the content hard to read. | ||
+ | |- | ||
+ | | '''{{{innerbordercolor}}}''' || Color for a very faint border around the game's image. Try to choose a highlight color related to the game or just use the {{{background}}} color.<br />Wikimedia software uses standard #RRGGBB (R = red, G = green, B = blue) web color values. FF = highest, 00 = lowest. It's pretty hard to read anything on a background darker than say d5 in all fields. | ||
+ | |- | ||
+ | | '''{{{width}}}''' || The width of the infobox in pixels. Probably just leave it as is. | ||
+ | |- | ||
+ | | '''{{{title}}}''' || Probably just leave it as is as it will automatically be filled in with the page name. | ||
+ | |- | ||
+ | | '''{{{image}}}''' || An image that will be placed in the center of the box. | ||
+ | |- | ||
+ | | '''{{{imagecaption}}}''' || A caption for the central image | ||
+ | |- | ||
+ | | '''{{{officialsite}}}''' || A link to the game's official website if any. <br />For instance, <code><nowiki>|officialsite = [https://www.8ing.co.jp/museum/prd/sipu/ 8ing Museum]</nowiki></code> | ||
+ | |- | ||
+ | | '''{{{releasedate}}}''' || For release date info including different regions if available. | ||
+ | |- | ||
+ | | '''{{{previousgame}}}''' || An internal wikilink to the previous game in the series or by this dev. | ||
+ | |- | ||
+ | | '''{{{nextgame}}}''' || An internal wikilink to the next game in the series or by this dev. | ||
+ | |- | ||
+ | | '''{{{developer}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{publisher}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{producer}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{planning}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{music}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{program}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{art}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{designer}}}''' || Game credits if available. | ||
+ | |- | ||
+ | | '''{{{rating}}}''' || Age Rating(s) | ||
+ | |} | ||
− | + | == code == | |
− | < | + | <pre> |
− | + | {{GameInfobox | |
− | + | |bordercolor = | |
− | + | |background = | |
− | + | |innerbordercolor = | |
− | + | |width = | |
− | + | |title = | |
− | + | |image = | |
− | + | |imagecaption = | |
− | + | |officialsite = | |
− | + | |releasedate = | |
− | + | |previousgame = | |
− | + | |nextgame = | |
− | + | |developer = | |
− | + | |publisher = | |
− | </ | + | |producer = |
− | </ | + | |planning = |
+ | |music = | ||
+ | |program = | ||
+ | |art = | ||
+ | |designer = | ||
+ | |rating = | ||
+ | }} | ||
+ | </pre> | ||
+ | </noinclude> |
Latest revision as of 16:37, 20 December 2023
GameInfobox
Game title screen
Optional parameters for the infobox
{{{bordercolor}}} | The color of the infobox border and header. Try to choose something related to the game's theme. |
{{{background}}} | The main color/background color of the infobox. Try to choose something light and related to the game's theme that won't make the content hard to read. |
{{{innerbordercolor}}} | Color for a very faint border around the game's image. Try to choose a highlight color related to the game or just use the {{{background}}} color. Wikimedia software uses standard #RRGGBB (R = red, G = green, B = blue) web color values. FF = highest, 00 = lowest. It's pretty hard to read anything on a background darker than say d5 in all fields. |
{{{width}}} | The width of the infobox in pixels. Probably just leave it as is. |
{{{title}}} | Probably just leave it as is as it will automatically be filled in with the page name. |
{{{image}}} | An image that will be placed in the center of the box. |
{{{imagecaption}}} | A caption for the central image |
{{{officialsite}}} | A link to the game's official website if any. For instance, |officialsite = [https://www.8ing.co.jp/museum/prd/sipu/ 8ing Museum]
|
{{{releasedate}}} | For release date info including different regions if available. |
{{{previousgame}}} | An internal wikilink to the previous game in the series or by this dev. |
{{{nextgame}}} | An internal wikilink to the next game in the series or by this dev. |
{{{developer}}} | Game credits if available. |
{{{publisher}}} | Game credits if available. |
{{{producer}}} | Game credits if available. |
{{{planning}}} | Game credits if available. |
{{{music}}} | Game credits if available. |
{{{program}}} | Game credits if available. |
{{{art}}} | Game credits if available. |
{{{designer}}} | Game credits if available. |
{{{rating}}} | Age Rating(s) |
code
{{GameInfobox |bordercolor = |background = |innerbordercolor = |width = |title = |image = |imagecaption = |officialsite = |releasedate = |previousgame = |nextgame = |developer = |publisher = |producer = |planning = |music = |program = |art = |designer = |rating = }}