Template:Prototype: Difference between revisions

m Fix property visibility
m Simplify a bit
Line 1: Line 1:
<includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px"
<includeonly>{| cellpadding="0" cellspacing="0" class="infobox" style="margin-left:1em" width="{{ #if: {{{boxwidth|}}} | {{{boxwidth}}} | 262 }}px"
|  style="text-align: center;" | {{#ifeq:{{{titlescreen|}}}|IMAGE_NAME.png| [[Category:Missing title screens]] |
|  style="text-align: center;" |  
{{#if: {{{noscreen|}}} |  | {{imageexists
{{#if: {{{noscreen|}}} |  | {{imageexists
| file   = {{#if: {{{titlescreen|}}} | {{{titlescreen}}} | {{PAGENAME}}-title.png }}
| file = {{#if: {{{titlescreen|}}} | {{{titlescreen}}} | {{PAGENAME}}-title.png }}
| maxwidth = 320
| maxwidth = 320
| caption= Title Screen
| caption= Title Screen
| missingcat   = Missing title screens
| missingcat = Missing title screens
}}}}}}
}}}}
|-class="infobox-title"
|-class="infobox-title"
! {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}
! {{PAGENAME}}
|-
|-
|style="padding: 10px; line-height: 1.5em;" |
|style="padding: 10px; line-height: 1.5em;" |