Difference between revisions of "Template:GameInfobox"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
|  (Undo revision 2073 by 1ccsDontMatter (talk)) Tag: Undo | ShunFishman (talk | contribs)  | ||
| (23 intermediate revisions by 8 users not shown) | |||
| Line 11: | Line 11: | ||
| <div class="infobox-title" | <div class="infobox-title" | ||
| − | style= "text-align:center; | + | style="text-align:center; | 
| padding: 5px; | padding: 5px; | ||
| − | margin:  | + | margin: 8px; | 
| − | + | margin-left: -9px; | |
| − | + | margin-top: -9px; | |
| + | margin-right: -9px; | ||
| + | color: white; | ||
| + | background-color: {{{bordercolor|black}}}; | ||
| "> | "> | ||
| '''<big><big>{{{title|{{PAGENAME}}}}}</big></big>'''</div>{{#if:{{{image|}}}| | '''<big><big>{{{title|{{PAGENAME}}}}}</big></big>'''</div>{{#if:{{{image|}}}| | ||
| Line 30: | Line 33: | ||
| <small>{{{imagecaption|Game title screen}}}</small> | <small>{{{imagecaption|Game title screen}}}</small> | ||
| <table style="text-align: left;">{{#if:{{{developer|}}}|<tr> | <table style="text-align: left;">{{#if:{{{developer|}}}|<tr> | ||
| − |      <th style="text-align: left;>Developer: </th> | + |      <th style="text-align: left;">Developer: </th> | 
| − |      <td style="text-align: left;>{{{developer}}}</td> | + |      <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> | </tr>}}{{#if:{{{music|}}}|<tr> | ||
| − |      <th style="text-align: left;>Music: </th> | + |      <th style="text-align: left;">Music: </th> | 
| − |      <td style="text-align: left;>{{{music}}}</td> | + |      <td style="text-align: left;">{{{music}}}</td> | 
| </tr>}}{{#if:{{{program|}}}|<tr> | </tr>}}{{#if:{{{program|}}}|<tr> | ||
| − |      <th style="text-align: left;>Program: </th> | + |      <th style="text-align: left;">Program: </th> | 
| − |      <td style="text-align: left;>{{{program}}}</td> | + |      <td style="text-align: left;">{{{program}}}</td> | 
| </tr>}}{{#if:{{{art|}}}|<tr> | </tr>}}{{#if:{{{art|}}}|<tr> | ||
| − |      <th style="text-align: left;>Art: </th> | + |      <th style="text-align: left;">Art: </th> | 
| − |      <td style="text-align: left;>{{{art}}}</td> | + |      <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> | </tr>}}{{#if:{{{releasedate|}}}|<tr> | ||
| − |      <th style="text-align: left;>Release date: </th> | + |      <th style="text-align: left;">Release date: </th> | 
| − |      <td style="text-align: left;>{{{releasedate}}}</td> | + |      <td style="text-align: left;">{{{releasedate}}}</td> | 
| </tr>}}{{#if:{{{previousgame|}}}|<tr> | </tr>}}{{#if:{{{previousgame|}}}|<tr> | ||
| − |      <th style="text-align: left;>Previous game:</th> | + |      <th style="text-align: left;">Previous game:</th> | 
| − |      <td style="text-align: left;>{{{previousgame}}}</td> | + |      <td style="text-align: left;">{{{previousgame}}}</td> | 
| </tr>}}{{#if:{{{nextgame|}}}|<tr> | </tr>}}{{#if:{{{nextgame|}}}|<tr> | ||
| − |      <th style="text-align: left;>Next game:</th> | + |      <th style="text-align: left;">Next game:</th> | 
| − |      <td style="text-align: left;>{{{nextgame}}}</td> | + |      <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> | </tr>}}</table> | ||
| − | </div> | + | </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 =
}}
