Template:Infobox video game: Difference between revisions
no edit summary
NeonWabbit (talk | contribs) (Created page with "{{main other|{{short description|2=noreplace|{{if both|{{{released|{{{release|}}}}}}|{{#invoke:String|match|{{{released|{{{release|}}}}}}|[12]%d%d%d|match=1|nomatch=}}|{{#invoke:String|match|{{{released|{{{release|}}}}}}|[12]%d%d%d|match=1|nomatch=}} video game|Video game}}}}}}{{#invoke:infobox|infoboxTemplate <!-- Start and styling --> | child = {{{child|}}} | subbox = {{{subbox|}}} | bodyclass = ib-video-game hproduct {{#ifeq:{{{collapsible|}}}|ye...") |
NeonWabbit (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
<!-- Start of content --> | <!-- Start of content --> | ||
| label2 = | | label2 = Developer(s) | ||
| data2 = {{{developer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P178|qid={{{qid|}}}|name=developer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{developer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P178}}}}}}}}} | | data2 = {{{developer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P178|qid={{{qid|}}}|name=developer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{developer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P178}}}}}}}}} | ||
| label3 = | | label3 = Publisher(s) | ||
| data3 = {{{publisher|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P123|qid={{{qid|}}}|name=publisher|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{publisher|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P123}}}}}}}}} | | data3 = {{{publisher|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P123|qid={{{qid|}}}|name=publisher|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{publisher|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P123}}}}}}}}} | ||
| label4 = | | label4 = Director(s) | ||
| data4 = {{{director|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P57|qid={{{qid|}}}|name=director|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{director|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P57}}}}}}}}} | | data4 = {{{director|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P57|qid={{{qid|}}}|name=director|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{director|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P57}}}}}}}}} | ||
| label5 = | | label5 = Producer(s) | ||
| data5 = {{{producer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P162|qid={{{qid|}}}|name=producer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{producer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P162}}}}}}}}} | | data5 = {{{producer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P162|qid={{{qid|}}}|name=producer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{producer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P162}}}}}}}}} | ||
| label6 = | | label6 = Designer(s) | ||
| data6 = {{{designer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P287|qid={{{qid|}}}|name=designer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{designer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P287}}}}}}}}} | | data6 = {{{designer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P287|qid={{{qid|}}}|name=designer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{designer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P287}}}}}}}}} | ||
| label7 = | | label7 = Programmer(s) | ||
| data7 = {{{programmer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P943|qid={{{qid|}}}|name=programmer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{programmer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P943}}}}}}}}} | | data7 = {{{programmer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P943|qid={{{qid|}}}|name=programmer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{programmer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P943}}}}}}}}} | ||
| label8 = | | label8 = Artist(s) | ||
| data8 = {{{artist|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P3080|qid={{{qid|}}}|name=artist|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{artist|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3080}}}}}}}}} | | data8 = {{{artist|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P3080|qid={{{qid|}}}|name=artist|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{artist|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P3080}}}}}}}}} | ||
| label9 = | | label9 = Writer(s) | ||
| data9 = {{{writer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P50|qid={{{qid|}}}|name=writer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{writer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P50}}}}}}}}} | | data9 = {{{writer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P50|qid={{{qid|}}}|name=writer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{writer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P50}}}}}}}}} | ||
| label10 = | | label10 = Composer(s) | ||
| data10 = {{{composer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P86|qid={{{qid|}}}|name=composer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{composer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P86}}}}}}}}} | | data10 = {{{composer|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P86|qid={{{qid|}}}|name=composer|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{composer|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P86}}}}}}}}} | ||
Line 47: | Line 47: | ||
| data11 = {{{series|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P179|qid={{{qid|}}}|name=series|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|prefix=''|postfix=''|{{{series|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P179}}}}}}}}} | | data11 = {{{series|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P179|qid={{{qid|}}}|name=series|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|prefix=''|postfix=''|{{{series|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P179}}}}}}}}} | ||
| label12 = | | label12 = Engine | ||
| data12 = {{{engine|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P408|qid={{{qid|}}}|name=engine|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{engine|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P408}}}}}}}}} | | data12 = {{{engine|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P408|qid={{{qid|}}}|name=engine|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{engine|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P408}}}}}}}}} | ||
| label13 = | | label13 = Platform(s) | ||
| data13 = {{{platform|{{{platforms|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P400|qid={{{qid|}}}|name=platform|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{platform|{{{platforms|}}}}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P400}}}}}}}}}}}} | | data13 = {{{platform|{{{platforms|{{If first display both|{{#invoke:WikidataIB|getValue|rank=best|P400|qid={{{qid|}}}|name=platform|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{platform|{{{platforms|}}}}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P400}}}}}}}}}}}} | ||
Line 56: | Line 56: | ||
| data14 = {{{released|{{{release|}}}}}} | | data14 = {{{released|{{{release|}}}}}} | ||
| label15 = | | label15 = Genre(s) | ||
| data15 = {{{genre|{{If first display both|{{#invoke:String2 |ucfirst |{{#invoke:WikidataIB|getValue|rank=best|P136|qid={{{qid|}}}|name=genre|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|shortname=yes|{{{genre|}}} }} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P136}}}}}}}}} | | data15 = {{{genre|{{If first display both|{{#invoke:String2 |ucfirst |{{#invoke:WikidataIB|getValue|rank=best|P136|qid={{{qid|}}}|name=genre|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|shortname=yes|{{{genre|}}} }} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P136}}}}}}}}} | ||
Line 62: | Line 62: | ||
| data16 = {{{modes|{{If first display both|{{#invoke:String2 |ucfirst |{{#invoke:WikidataIB|getValue|rank=best|P404|qid={{{qid|}}}|name=modes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|shortname=yes|{{{modes|}}} }} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P404}}}}}}}}} | | data16 = {{{modes|{{If first display both|{{#invoke:String2 |ucfirst |{{#invoke:WikidataIB|getValue|rank=best|P404|qid={{{qid|}}}|name=modes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|shortname=yes|{{{modes|}}} }} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P404}}}}}}}}} | ||
| label17 = | | label17 = Arcade system | ||
| data17 = {{{arcade system|{{If first display both|{{#invoke:WikidataIB|getQualifierValue|P2670|pval=Q631229|qual=P31|qid={{{qid|}}}|name=arcade_system|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{arcade system|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2670|Q631229}}}}}}}}} | | data17 = {{{arcade system|{{If first display both|{{#invoke:WikidataIB|getQualifierValue|P2670|pval=Q631229|qual=P31|qid={{{qid|}}}|name=arcade_system|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|yes}}}|noicon={{{noicon|no}}}|list=ubl|sorted=yes|{{{arcade system|}}} }}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2670|Q631229}}}}}}}}} | ||