Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.
Difference between revisions of "User:Alex95/Sandbox"
From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
(→Template:Infobox game: Updating. Should try to get this implemented at some point.) |
(Cleaning up convoluted coding. I don't like having important parameters hidden, they should be immediate apparent as it's supposed to be basic info at a glance. Interwiki links will be hidden until used, otherwise template will be very long.) |
||
Line 1: | Line 1: | ||
==Templates within Templates that could just be one Template== | ==Templates within Templates that could just be one Template== | ||
*{{t|Infobox Begin}} | *{{t|Infobox Begin}} | ||
Line 8: | Line 7: | ||
*{{t|Game color 1}} | *{{t|Game color 1}} | ||
*{{t|Game color 2}} | *{{t|Game color 2}} | ||
=[[Template:Infobox game]] | ===Ignored parameters=== | ||
*class | |||
*boarder | |||
*style1 | |||
*style2 | |||
*subject | |||
*style | |||
*colors | |||
*Info1name, Info1details, and such | |||
Ignoring these will not cause the template to break, but will result in leftover code. | |||
===Additional parameters=== | |||
*Interwiki links | |||
=Templates= | |||
;[[Template:Infobox game]] | |||
{| class="game infobox infobox" cellpadding=2 cellspacing=2 float-{{{align|right}}} width=280px style="border:1px solid green; border-radius: 11px; background-color:#CCFF00; padding: 2px;" | {| class="game infobox infobox" cellpadding=2 cellspacing=2 float-{{{align|right}}} width=280px style="border:1px solid green; border-radius: 11px; background-color:#CCFF00; padding: 2px;" | ||
|- | |- | ||
Line 19: | Line 31: | ||
|-style="vertical-align: top" | |-style="vertical-align: top" | ||
| | | | ||
{| | {| style="border:1px solid green; background-color:#32CD32; margin:0;" width="100%" | ||
! colspan="2"| Details | ! colspan="2"| Details | ||
|-style="text-align:center;" | |-style="text-align:center;" | ||
!style="background-color:#CCFF00;" | Developer | |||
!style="background-color:#CCFF00;" | |style="background-color:#CCFF00; text-align:left;" | {{{developer}}} | ||
|- | |||
!style="background-color:#CCFF00;" | Publisher | |||
|style="background-color:#CCFF00;" | {{{publisher}}} | |||
!style="background-color:#CCFF00;" | |- | ||
!style="background-color:#CCFF00;" | Console(s) | |||
|style="background-color:#CCFF00;" |{{{console}}} | |||
|- | |||
!style="background-color:#CCFF00;" | !style="background-color:#CCFF00;" | Release date(s) | ||
|style="background-color:#CCFF00;" |{{{release}}} | |||
|- | |||
!style="background-color:#CCFF00;" |Genre | |||
!style="background-color:#CCFF00;" | |style="background-color:#CCFF00;" |{{{genre}}} | ||
|- | |||
!style="background-color:#CCFF00;" |Rating(s) | |||
|style="background-color:#CCFF00;" |{{{ratings}}} | |||
!style="background-color:#CCFF00;" | |||
!style="background-color:#CCFF00" | |||
{{#if:{{{other_info|}}} | | {{#if:{{{other_info|}}} | | ||
{{!-}} | {{!-}} | ||
Line 50: | Line 56: | ||
{{!}}style="background-color:#CCFF00;" {{!}}{{{other_info}}}|}} | {{!}}style="background-color:#CCFF00;" {{!}}{{{other_info}}}|}} | ||
|} | |} | ||
{| | {| style="border:1px solid green; background-color:#32CD32; margin:0;" width="100%" | ||
! colspan="3" bgcolor="#32CD32"| Chronology | ! colspan="3" bgcolor="#32CD32"| Chronology | ||
|- | |- | ||
|style="background-color:#CCFF00;" rowspan="2" | ← ''{{{prev-release|N/A}}}'' | |||
|style="background-color:#CCFF00;" | '''''{{{title|{{PAGENAME}}}}}''''' | |||
|style="background-color:#CCFF00;" rowspan="2" | ''{{{next-release|N/A}}}'' → | |||
|} | |} | ||
{| | {| style="border:1px solid green; background-color:#32CD32; margin:0;" width="100%" | ||
! colspan="2" bgcolor="#32CD32"| On partnered sites | ! colspan="2" bgcolor="#32CD32"| On partnered sites | ||
|- | |- | ||
Line 269: | Line 273: | ||
{{Infobox game | {{Infobox game | ||
|align = Changes the alignment of the template, if necessary. Default is set to "right". | |align = Changes the alignment of the template, if necessary. Default is set to "right". | ||
|title = Changes the title of the infobox if it is different from the | |title = Changes the title of the infobox and the title in Chronology if it is different from the page name. Otherwise, it uses the article's full title. | ||
|image = Provide the file name without "File:" to display an image. If no image is specified, an image asking for one to be uploaded is displayed. | |image = Provide the file name without "File:" to display an image. If no image is specified, an image asking for one to be uploaded is displayed. | ||
|image_size = Changes the image size. | |image_size = Changes the image size. | ||
Line 279: | Line 283: | ||
|genre = The game's genre. | |genre = The game's genre. | ||
|rating = The game's rating(s) in all regions. | |rating = The game's rating(s) in all regions. | ||
|other_information = Any other information that you think is useful and doesn't fit in another parameter. | |other_information = Any other information that you think is useful and doesn't fit in another parameter. Will appear on template if filled out. | ||
|prev_release = The previous game released before the subject, if any. | |prev_release = The previous game released before the subject, if any. | ||
|next_release = The next game released after the subject, if any. | |next_release = The next game released after the subject, if any. | ||
Line 360: | Line 364: | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 00:11, 5 August 2023
Templates within Templates that could just be one Template
- {{Infobox Begin}}
- {{Infobox Table}}
- {{Infobox-External}}
- {{Infobox End}}
- {{Game color border}}
- {{Game color 1}}
- {{Game color 2}}
Ignored parameters
- class
- boarder
- style1
- style2
- subject
- style
- colors
- Info1name, Info1details, and such
Ignoring these will not cause the template to break, but will result in leftover code.
Additional parameters
- Interwiki links
Templates
Usage
This infobox template is used on video game pages.
Parameters
{{Infobox game |align = Changes the alignment of the template, if necessary. Default is set to "right". |title = Changes the title of the infobox and the title in Chronology if it is different from the page name. Otherwise, it uses the article's full title. |image = Provide the file name without "File:" to display an image. If no image is specified, an image asking for one to be uploaded is displayed. |image_size = Changes the image size. |caption = Provides an image caption. |developer = The game's developer. |publisher = The game's publisher. |console = The console(s) the game released on. |release = Release date(s) and region(s) the game released on. |genre = The game's genre. |rating = The game's rating(s) in all regions. |other_information = Any other information that you think is useful and doesn't fit in another parameter. Will appear on template if filled out. |prev_release = The previous game released before the subject, if any. |next_release = The next game released after the subject, if any. |armswiki-pagename = The following are interwiki links to their respective site. |bulbapedia-pagename = |dragaliawiki-pagename = |dqwiki-pagename = |drawntolife-pagename = |fireemblem-pagename = |fzero-pagename = |goldensun-pagename = |harddrop-pagename = |icaruspedia-pagename = |inkipedia-pagename = |khwiki-pagename = |kovopedia-pagename = |metroidwiki-pagename = |mdfw-pagename = |nookipedia-pagename = |nwiki-pagename = |pikipedia-pagename = |smashwiki-pagename = |starfywiki-pagename = |mariowiki-pagename = |switcher = |sw-pagename = |ukikipedia = |warswiki-pagename = |wikibound-pagename = |wikirby-pagename = |zeldawiki-pagename = }}
Blank template
Remove the parameters you don't need.
{{Infobox game |align = |title = |image = |image_size = |caption = |developer = |publisher = |console = |release = |genre = |rating = |other_information = |prev_release = |next_release = |armswiki-pagename = |bulbapedia-pagename = |dragaliawiki-pagename = |dqwiki-pagename = |drawntolife-pagename = |fireemblem-pagename = |fzero-pagename = |goldensun-pagename = |harddrop-pagename = |icaruspedia-pagename = |inkipedia-pagename = |khwiki-pagename = |kovopedia-pagename = |metroidwiki-pagename = |mdfw-pagename = |nookipedia-pagename = |nwiki-pagename = |pikipedia-pagename = |smashwiki-pagename = |starfywiki-pagename = |mariowiki-pagename = |switcher = |sw-pagename = |ukikipedia = |warswiki-pagename = |wikibound-pagename = |wikirby-pagename = |zeldawiki-pagename = }}