Template:Infobox: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="width: 23em; text-align: left; font-size: 90%; border-spacing: 3px; border: 1px solid #a2a9b1; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;"
<includeonly>{{Infobox module
! colspan="2" style="font-size:110%; text-align: center" | ''{{{title}}}''
<!-- Start and styling -->
|-
| child          = {{{child|}}}
{{#if: {{{boxart|}}} |
| subbox        = {{{subbox|}}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[image:{{{boxart}}}|220px]]
| bodystyle      = float: {{{align|right}}}; width: {{#if:{{{width|}}}|{{{width|}}}|22em}}; font-size: 90%; text-align: left; border-spacing: 3px;
{{!}}-
| bodyclass      = hproduct
|}}
| labelstyle    = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->;
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | Developer(s)
| datastyle      = line-height:1.3em;
| style="line-height: 1.3;" | {{{developer|}}}
| aboveclass    = fn
|-
| abovestyle    = font-size:110%;font-style:italic;
{{#if:{{{publisher|}}}|! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" {{!}} Publisher(s)
| autoheaders    = y
{{!}} style="line-height: 1.3;" {{!}} {{{publisher}}}
| headerstyle    = background:#eceff3
{{!}}-|}}
 
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | Release date(s)
<!-- Title -->
| style="line-height: 1.3;" | {{#dateformat:{{{released|}}}|mdy}}
| above          = {{{title|{{PAGENAMEBASE}}}}}
|-
 
{{#if:{{{latestrelease|}}}|! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" {{!}} Latest release
<!-- Image -->
{{!}} style="line-height: 1.3;" {{!}} {{{latestrelease}}}
| image          = {{#if:{{{boxart|}}}|[[image:{{{boxart}}}|220px]]|}}
{{!}}-|}}
| captionstyle  = font-size: 95%;
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | Platform(s)
| caption        = {{#if:{{{boxart|}}}|{{{caption|}}}|}}
| style="line-height: 1.3;" | {{{platform|}}}
 
|-
<!-- Start of content -->
{{#if:{{{predecessor|}}}|! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" {{!}} Predecessor
| label2  = Developer(s)
{{!}} style="line-height: 1.3;" {{!}} {{{predecessor}}}
| data2  = {{{developer|}}}
{{!}}-|}}
 
{{#if:{{{sequel|}}}|! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" {{!}} Sequel
| label3  = Publisher(s)
{{!}} style="line-height: 1.3;" {{!}} {{{sequel}}}
| data3  = {{{publisher|}}}
{{!}}-|}}
 
! colspan="2" style="font-size:110%; text-align: center; background-color: #eceff3;" | Gameplay Info
| label4  = Director(s)
|-
| data4  = {{{director|}}}
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | [[Piece preview|Next piece]]s
 
| style="line-height: 1.3;" | {{{preview|}}}
| label5  = Producer(s)
|-
| data5  = {{{producer|}}}
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | [[Playfield]] dimensions
 
| style="line-height: 1.3;" | {{{playfield|}}}
| label6  = Designer(s)
|-
| data6  = {{{designer|}}}
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | [[Hold piece]]
 
| style="line-height: 1.3;" | {{{hold|}}}
| label7  = Programmer(s)
|-
| data7  = {{{programmer|}}}
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | Hard [[drop]]
 
| style="line-height: 1.3;" | {{{hard|}}}
| label8  = Artist(s)
|-
| data8  = {{{artist|}}}
! style="white-space: nowrap; padding-right: 0.65em; vertical-align: top;" | [[Rotation system]]
 
| style="line-height: 1.3;" | {{{system|}}}
| label9  = Writer(s)
|-
| data9  = {{{writer|}}}
{{#if: {{{title-scrn|}}}
 
  | {{#if: {{{ingame-scrn|}}}
| label10 = Composer(s)
      | {{!}} style="text-align: center;" {{!}} [[image:{{{title-scrn}}}{{!}}138px]] {{!}}{{!}} style="text-align: center;" {{!}} [[image:{{{ingame-scrn}}}{{!}}138px]]
| data10  = {{{composer|}}}
      | {{!}} colspan="2" style="text-align: center;" {{!}} [[image:{{{ingame-scrn}}}{{!}}220px]]
 
    }}
| label11 = Series
  | {{#if: {{{ingame-scrn|}}}
| data11  = {{{series|}}}
      | {{!}} colspan="2" style="text-align: center;" {{!}} [[image:{{{ingame-scrn}}}{{!}}220px]]
 
      |
| label12 = Engine
    }}
| data12  = {{{engine|}}}
 
| label13 = Platform(s)
| data13  = {{{platform|}}}
 
| label14 = Release
| data14  = {{{released|}}}
 
| label15 = Latest release
| data15  = {{{latestrelease|}}}
 
| label16  = Predecessor
| data16  = {{{predecessor|}}}
 
| label17  = Sequel
| data17  = {{{sequel|}}}
 
| header18 = Gameplay info
| label19 = [[Piece preview|Next piece]]s |   data19 = {{{preview|}}}
| label20 = [[Playfield]] size            |   data20 = {{{playfield|}}}
| label21 = [[Hold piece]]               |   data21 = {{{hold|}}}
| label22 = [[drop|Hard drop]]           |   data22 = {{{hard|}}}
| label23 = [[Rotation system]]           |   data23 = {{{system|}}}
 
| header24 = _BLANK_
| data25 = {{#ifeq: {{{vertical-images|}}} | yes
| {{Photo montage
| color = transparent
| border = 0
| spacing = 3
| size = 280
| photo1a = {{{title-scrn|}}}
| photo2a = {{{ingame-scrn|}}}
}}
}}
|}<noinclude><pre>{{Infobox |title =  
| {{Photo montage
|developer =  
| color = transparent
|publisher =  
| border = 0
|released =  
| spacing = 3
|platform =  
| size = 280
|preview =  
| photo1a = {{{title-scrn|}}}
|playfield =  
| photo1b = {{{ingame-scrn|}}}
|hold =  
}}
|hard =  
}}
|system =  
 
|boxart =  
| data26 = {{{sub-game|}}}
|title-scrn =  
| data27 = {{{sub-game2|}}}
|ingame-scrn =  
| data28 = {{{sub-game3|}}}
}}</pre></noinclude>
| data29 = {{{sub-game4|}}}
| data30 = {{{sub-game5|}}}
| data31 = {{{sub-game6|}}}
| data32 = {{{sub-game7|}}}
| data33 = {{{sub-game8|}}}
| data34 = {{{sub-game9|}}}
| data35 = {{{sub-game10|}}}
 
}}{{#ifeq: {{{force-italic|}}} | true | {{italic title|force=true}} | {{italic title}} }}</includeonly><noinclude><pre>{{Infobox
<!-- Image -->
| boxart  =
| caption =  
 
<!-- Game credits -->
| developer =  
| publisher =
| director  =
| producer  =
| designer  =
| programmer =
| artist    =
| writer    =
| composer  =
 
<!-- Release info -->
| series        =
| engine        =
| platform      =  
| released     =  
| latestrelease =
| predecessor  =
| sequel        =  
 
<!-- Gameplay info -->
| preview   =  
| playfield =  
| hold     =  
| hard     =  
| system   =  
 
<!-- Screenshots -->
| vertical-images =  
| title-scrn     =  
| ingame-scrn     =  
}}</pre>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 11:01, 14 February 2023

{{Infobox
<!-- Image -->
| boxart  = 
| caption = 

<!-- Game credits -->
| developer  = 
| publisher  = 
| director   = 
| producer   = 
| designer   = 
| programmer = 
| artist     = 
| writer     = 
| composer   = 

<!-- Release info -->
| series        = 
| engine        = 
| platform      = 
| released      = 
| latestrelease = 
| predecessor   = 
| sequel        = 

<!-- Gameplay info -->
| preview   = 
| playfield = 
| hold      = 
| hard      = 
| system    = 

<!-- Screenshots -->
| vertical-images = 
| title-scrn      = 
| ingame-scrn     = 
}}