Jump to content

Template:Infobox video game: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
zero reason to check for blanks
adjust auto-generated short description pattern match to 1DDD or 2DDD from just DDDD, which matches output of embedded templates incorrectly to codes like UNIQ--ref-00000003-QINU
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{main other|{{short description|2=noreplace|{{if both|{{{released|{{{release|}}}}}}|{{#invoke:String|match|{{{released|{{{release|}}}}}}|%d%d%d%d|match=1|nomatch=}}|{{#invoke:String|match|{{{released|{{{release|}}}}}}|%d%d%d%d|match=1|nomatch=}} video game|Video game}}}}}}{{#invoke:infobox|infoboxTemplate
{{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 -->
<!-- Start and styling -->
| child = {{{child|}}}
| child = {{{child|}}}
Line 72: Line 72:
<!-- 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|ignoreblank=1|_VALUE_{{PAGENAME}}]]}}|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 | fetchwikidata | genre | image | image_size | image_upright | italic title | modes | noicon | onlysourced | platform | platforms | producer | programmer | publisher | qid | refs | release | released | series | state | subbox | suppressfields | title | writer }}<includeonly>{{main other|{{#if:{{safesubst:#invoke:Check for unknown parameters|check|unknown=1|preview=1|embedded|image}}|[[Category:Articles using Infobox video game using locally defined parameters]]|[[Category:Articles with infoboxes completely from Wikidata]]}}}}{{#if:{{{image|}}}|[[Category:Articles using Wikidata infoboxes with locally defined images]]}}</includeonly><noinclude><!-- NOTE: The {{#if:1| ... }} syntax allows for list markup to be included in the data fields -->
}}{{#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 | fetchwikidata | genre | image | image_size | image_upright | italic title | modes | noicon | onlysourced | platform | platforms | producer | programmer | publisher | qid | refs | release | released | series | state | subbox | suppressfields | title | writer }}<includeonly>{{main other|{{#if:{{safesubst:#invoke:Check for unknown parameters|check|unknown=1|preview=1|embedded|image}}|[[Category:Articles using Infobox video game using locally defined parameters]]|[[Category:Articles with infoboxes completely from Wikidata]]}}}}{{#if:{{{image|}}}|[[Category:Articles using Wikidata infoboxes with locally defined images]]}}</includeonly><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 11:38, 14 December 2022