Template:Infobox game: Difference between revisions

Jump to navigation Jump to search
Reverting to the original version, as the changes made to this template were not done in the correct way and were not fully accepted by the community yet. We have gotten permission to revert these if we wish.
imported>Mechemik
m (Protected "Template:Infobox game": Widely-used template (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
imported>SimDestroyer
(Reverting to the original version, as the changes made to this template were not done in the correct way and were not fully accepted by the community yet. We have gotten permission to revert these if we wish.)
Line 1:
<!---*****OVERALL DESIGN CODE*****--->
{{infobox game true
{|infoboxtheme class={{#switch:"metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{name|basegame}}}|{{{name<includeonly>|</includeonly>}}} }} }} }}|ts1=The-Sims|ts2=The-Sims-2|ts3=The-Sims-3|ts4=The-Sims-4|urbz=Urbz|medieval=Medieval|social=Social }}" cellpadding="1.5"
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{name<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
|name = {{{name|{{PAGENAME}}}}}
{{!}}-
|image = {{{image|}}}
<!---*****BOX ART AND CAPTION*****--->
|caption = {{{caption|}}}
{{#if:{{{image<includeonly>|</includeonly>}}} |
|developer = {{{developer|}}}
{{!}} class="metainfobox-image" colspan="2" {{!}} {{{image}}}
|publisher = {{{publisher|}}}
{{!}}-
|distributor = {{{distributor|}}}
{{!}} class="metainfobox-caption" colspan="2" {{!}} {{#if:{{{caption|}}}|{{{caption}}}|Box art for {{{name|{{PAGENAME}} }}} }} }}
|designer = {{{designer|}}}
{{!}}-
|ratings = {{{ratings|}}}
<!---*****DEVELOPMENT INFO*****--->
|series = {{{series|}}}
{{#ifeq: {{#expr: {{#if:{{{developer|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{publisher|}}}|1|0}} or {{#if:{{{distributor|}}}|1|0}} or {{#if:{{{designer|}}}|1|0}} or {{#if:{{{ratings|}}}|1|0}} or {{#if:{{{series|}}}|1|0}} or {{#if:{{{release|}}}|1|0}} }} | 1 |
|release = {{{release|}}}
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{name<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}} Development
|engine = {{{engine|}}}
{{!}}-
|aspect ratio = {{{aspect ratio|}}}
{{#if:{{{developer<includeonly>|</includeonly>}}} |
|resolution = {{{resolution|}}}
{{!}} [[wikipedia:Video game developer|Developer(s)]]
|version = {{{version|}}}
|platform ={{!}} {{{platform|developer}}}
{{!}}-
|modes = {{{modes|}}}
|media = {{{media|}}}
|requirements = {{{requirements|}}}
|input = {{{input|}}}
|genre = {{{genre|}}}
|theme = {{{theme|}}}
|creature = {{{creature|}}}
|neighbor = {{{neighbor|}}}
|world = {{{world|}}}
|gameplay addition ={{{gameplay addition|}}}
|related pages = {{{related pages|}}}
}}
{{#if:{{{publisher<includeonly>|</includeonly>}}} |
<noinclude>
{{!}} [[wikipedia:Video game publisher|Publisher(s)]]
This template calls the Game infobox. This is so themes can still match CSS without having to mass edit pages/add a new field. That said, please note, if you ever need to edit/add a field to this infobox, you'll need to add it here AND to the actual template at [[Template:Infobox game true]].
{{!}} {{{publisher}}}
[[Category:Portable infobox templates]]
{{!}}-
</noinclude>
}}
{{#if:{{{distributor<includeonly>|</includeonly>}}} |
{{!}} Distributor(s)
{{!}} {{{distributor}}}
{{!}}-
}}
{{#if:{{{designer<includeonly>|</includeonly>}}} |
{{!}} [[wikipedia:Game designer|Designer(s)]]
{{!}} {{{designer}}}
{{!}}-
}}
{{#if:{{{ratings<includeonly>|</includeonly>}}} |
{{!}} [[wikipedia:Video game content rating system|Ratings]]
{{!}} {{{ratings}}}
{{!}}-
}}
{{#if:{{{series<includeonly>|</includeonly>}}} |
{{!}} Series
{{!}} {{{series}}}
{{!}}-
}}
{{#if:{{{release<includeonly>|</includeonly>}}} |
{{!}} Release date(s)
{{!}} {{{release}}}
{{!}}-
}}
}}
<!---*****TECHNICAL INFO*****--->
{{#ifeq: {{#expr: {{#if:{{{engine|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{aspect ratio|}}}|1|0}} or {{#if:{{{resolution|}}}|1|0}} or {{#if:{{{version|}}}|1|0}} or {{#if:{{{platform|}}}|1|0}} or {{#if:{{{modes|}}}|1|0}} or {{#if:{{{media|}}}|1|0}} or {{#if:{{{requirements|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{name<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}} Technical information
{{!}}-
{{#if:{{{engine<includeonly>|</includeonly>}}} |
{{!}} [[Game engine|Engine]]
{{!}} {{{engine}}}
{{!}}-
}}
{{#if:{{{aspect ratio<includeonly>|</includeonly>}}} |
{{!}} [[wikipedia:Aspect ratio|Aspect ratio]]
{{!}} {{{aspect ratio}}}
{{!}}-
}}
{{#if:{{{resolution<includeonly>|</includeonly>}}} |
{{!}} [[wikipedia:Display resolution|Native resolution]]
{{!}} {{{resolution}}}
{{!}}-
}}
{{#if:{{{version<includeonly>|</includeonly>}}} |
{{!}} [[Patch notes|Version]]
{{!}} {{{version}}}
{{!}}-
}}
{{#if:{{{platform<includeonly>|</includeonly>}}} |
{{!}} [[wikipedia:Video game#Platforms|Platform(s)]]
{{!}} {{{platform}}}
{{!}}-
}}
{{#if:{{{modes<includeonly>|</includeonly>}}} |
{{!}} Mode(s)
{{!}} {{{modes}}}
{{!}}-
}}
{{#if:{{{media<includeonly>|</includeonly>}}} |
{{!}} Media
{{!}}{{{media}}}
{{!}}-
}}
{{#if:{{{requirements<includeonly>|</includeonly>}}} |
{{!}} System requirements
{{!}} {{{requirements}}}
{{!}}-
}}
{{#if:{{{input<includeonly>|</includeonly>}}} |
{{!}} Input methods
{{!}} {{{input}}}
{{!}}-
}}
}}
<!---******GAME FEATURES*****--->
{{#ifeq: {{#expr: {{#if:{{{theme|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{genre|}}}|1|0}} or {{#if:{{{creature|}}}|1|0}} or {{#if:{{{neighbor|}}}|1|0}} or {{#if:{{{world|}}}|1|0}} or {{#if:{{{gameplay addition|}}}|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{name<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2" {{!}} Game features
{{!}}-
{{#if:{{{genre<includeonly>|</includeonly>}}} |
{{!}}[[wikipedia:Video game genres|Genres]]
{{!}} {{{genre}}}
{{!}}-
}}
{{#if:{{{theme<includeonly>|</includeonly>}}} |
{{!}} {{!}}[[Theme|Themes]]
{{!}} {{{theme}}}
{{!}}-
}}
{{#if:{{{creature<includeonly>|</includeonly>}}} |
{{!}}[[Life state|Creatures]]
{{!}}{{{creature}}}
{{!}}-
}}
{{#if:{{{neighbor<includeonly>|</includeonly>}}} |
{{!}} [[Neighborhood]]s
{{!}} {{{neighbor}}}
{{!}}-
}}
{{#if:{{{world<includeonly>|</includeonly>}}} |
{{!}} [[World]]s
{{!}} {{{world}}}
{{!}}-
}}
{{#if:{{{gameplay addition<includeonly>|</includeonly>}}} |
{{!}} Gameplay additions
{{!}}{{{gameplay addition}}}
{{!}}-
}}
}}
<!---*****LINKS*****--->
{{#ifeq: {{#expr: <noinclude>1 or </noinclude>{{#ifexist: {{PAGENAME}}/cheats|1|0}} or {{#ifexist: {{PAGENAME}}/Patch|1|0}} or {{#ifexist: Game guide:{{PAGENAME}} walkthrough|1|0}} }} | 1 |
{{!}} class="metainfobox-header {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{{name<includeonly>|</includeonly>}}} }} }} }} }}" colspan="2"{{!}} Related pages
{{!}}-
{{#ifexist: {{PAGENAME}}/Patch |
{{!}} colspan="2" {{!}} [[{{PAGENAME}}/Patch|Patches and updates]]
{{!}}-
}}
{{#ifexist: {{PAGENAME}}/cheats |
{{!}} colspan="2" {{!}} [[{{PAGENAME}}/cheats|Cheats]]
{{!}}-
}}
{{#ifexist: Game guide:{{PAGENAME}} walkthrough |
{{!}} colspan="2" {{!}} [[Game guide:{{PAGENAME}} walkthrough|Game walkthrough]]
{{!}}-
}}
}}
|}<includeonly>{{Checkfns|[[Category:Games (fanon)]]}}</includeonly><noinclude>{{Documentation}}[[Category:Metainfobox templates|Game]]</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu