Template:Infobox video game: Difference between revisions
From Research Realm
(we don't use wikidata as far as i know) |
mNo edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Infobox | ||
<!-- Start and styling --> | <!-- Start and styling --> | ||
| child = {{{child|}}} | | child = {{{child|}}} | ||
Line 9: | Line 9: | ||
<!-- Title --> | <!-- Title --> | ||
| above = <includeonly>{{{title|{{ | | above = <includeonly>{{{title|{{{name|{{PAGENAMEBASE}}}}}}}}</includeonly> | ||
<!-- Image --> | <!-- Image --> | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image= | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|border={{{border|}}}|suppressplaceholder=yes}} | ||
| caption = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption| | | caption = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption|}}}}} | ||
<!-- Start of content --> | <!-- Start of content --> | ||
| label2 = [[Wikipedia:Video game developer|Developer(s)]] | | label2 = [[Wikipedia:Video game developer|Developer(s)]] | ||
| data2 = {{{developer|{{If first display both | | data2 = {{{developer|{{If first display both|{{{developer|}}}}}}}} | ||
| label3 = [[Wikipedia:Video game publisher|Publisher(s)]] | | label3 = [[Wikipedia:Video game publisher|Publisher(s)]] | ||
| data3 = {{{publisher|{{If first display both | | data3 = {{{publisher|{{If first display both|{{{publisher|}}}}}}}} | ||
| label4 = [[Wikipedia:Video game creative director|Director(s)]] | | label4 = [[Wikipedia:Video game creative director|Director(s)]] | ||
| data4 = {{{director|{{If first display both | | data4 = {{{director|{{If first display both|{{{director|}}}}}}}} | ||
| label5 = [[Wikipedia:Video game producer|Producer(s)]] | | label5 = [[Wikipedia:Video game producer|Producer(s)]] | ||
| data5 = {{{producer|{{If first display both | | data5 = {{{producer|{{If first display both|{{{producer|}}}}}}}} | ||
| label6 = [[Wikipedia:Video game designer|Designer(s)]] | | label6 = [[Wikipedia:Video game designer|Designer(s)]] | ||
| data6 = {{{designer|{{If first display both | | data6 = {{{designer|{{If first display both|{{{designer|}}}}}}}} | ||
| label7 = [[Wikipedia:Video game programmer|Programmer(s)]] | | label7 = [[Wikipedia:Video game programmer|Programmer(s)]] | ||
| data7 = {{{programmer|{{If first display both | | data7 = {{{programmer|{{If first display both|{{{programmer|}}}}}}}} | ||
| label8 = [[Wikipedia:Video game artist|Artist(s)]] | | label8 = [[Wikipedia:Video game artist|Artist(s)]] | ||
| data8 = {{{artist|{{If first display both | | data8 = {{{artist|{{If first display both|{{{artist|}}}}}}}} | ||
| label9 = [[Wikipedia:Video game writer|Writer(s)]] | | label9 = [[Wikipedia:Video game writer|Writer(s)]] | ||
| data9 = {{{writer|{{If first display both | | data9 = {{{writer|{{If first display both|{{{writer|}}}}}}}} | ||
| label10 = [[Wikipedia:Video game composer|Composer(s)]] | | label10 = [[Wikipedia:Video game composer|Composer(s)]] | ||
| data10 = {{{composer|{{If first display both | | data10 = {{{composer|{{If first display both|{{{composer|}}}}}}}} | ||
| label11 = Series | | label11 = Series | ||
| data11 = {{{series|{{If first display both | | data11 = {{{series|{{If first display both|{{{series|}}}}}}}} | ||
| label12 = [[Wikipedia:Game engine|Engine]] | | label12 = [[Wikipedia:Game engine|Engine]] | ||
| data12 = {{{engine|{{If first display both | | data12 = {{{engine|{{If first display both|{{{engine|}}}}}}}} | ||
| label13 = [[Wikipedia:Computing platform|Platform(s)]] | | label13 = [[Wikipedia:Computing platform|Platform(s)]] | ||
| data13 = {{{platform|{{{platforms|{{If first display both | | data13 = {{{platform|{{{platforms|{{If first display both|{{{platform|{{{platforms|}}}}}}}}}}}}}} | ||
| label14 = Release | | label14 = Release | ||
Line 57: | Line 57: | ||
| label15 = [[Wikipedia:Video game genre|Genre(s)]] | | label15 = [[Wikipedia:Video game genre|Genre(s)]] | ||
| data15 = {{{genre|{{If first display both|{{#invoke:String2 |ucfirst | | data15 = {{{genre|{{If first display both|{{#invoke:String2 |ucfirst |{{{genre|}}}}}}}}}} | ||
| label16 = Mode(s) | | label16 = Mode(s) | ||
| data16 = {{{modes|{{If first display both|{{#invoke:String2 |ucfirst | | data16 = {{{modes|{{If first display both|{{#invoke:String2 |ucfirst |{{{modes|}}}}}}}}}} | ||
| label17 = [[Wikipedia:Arcade system board|Arcade system]] | | label17 = [[Wikipedia:Arcade system board|Arcade system]] | ||
| data17 = {{{arcade system|{{If first display both | | data17 = {{{arcade system|{{If first display both|{{{arcade system|}}}}}}}} | ||
<!-- For embedded infoboxes --> | <!-- For embedded infoboxes --> | ||
| data30 = {{{embedded|}}} | | data30 = {{{embedded|}}} | ||
<!-- Checking code and closing --> | <!-- Checking code and closing --> | ||
}}{{main other|{{#ifeq:{{lc:{{{italic title|}}}}}|no||{{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}}} | }}{{main other|{{#ifeq:{{lc:{{{italic title|}}}}}|no||{{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox video game with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=1|preview=Page using [[Template:Infobox video game]] with unknown parameter "_VALUE_"| alt | arcade system | artist | caption | border | child | collapsible | commons | composer | designer | developer | director | embedded | engine | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox video game with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=1|preview=Page using [[Template:Infobox video game]] with unknown parameter "_VALUE_"| alt | arcade system | artist | caption | border | child | collapsible | commons | composer | designer | developer | director | embedded | engine | genre | image | image_size | image_upright | italic title | modes | platform | platforms | producer | programmer | publisher | release | released | series | state | subbox | suppressfields | title | writer }}<noinclude><!-- NOTE: The {{#if:1| ... }} syntax allows for list markup to be included in the data fields --> | ||
{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --> | {{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 06:50, 16 May 2024
This template and its description were copied from Wikipedia. The original template can be found here. |
This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force . |
This template uses Lua: |
This template uses TemplateStyles: |
This is an infobox for video games. It was copied from Wikipedia; see the description there for more information.
Usage
{{Infobox video game | collapsible = | state = | italic title = | title = | image = | alt = | caption = | developer = | publisher = | series = | engine = | platforms = | released = | genre = | modes = | arcade system = | director = | producer = | designer = | programmer = | artist = | writer = | composer = }}