Template:Filelistentry: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
m (Testing)
(Add more typebg colors)
Line 3: Line 3:
{{#if: {{{i|}}} | {{!}}data-sort-value="{{{i}}}"|}}| {{#if: {{{indent|}}} |<span style="padding-left: {{#expr: 1.4 * {{{indent}}}}}em"> </span>|}}{{nowrap | {{#if: {{{icon|}}} | {{icon|{{{icon}}}}} | {{icon|file}} }} {{{filename}}} }}
{{#if: {{{i|}}} | {{!}}data-sort-value="{{{i}}}"|}}| {{#if: {{{indent|}}} |<span style="padding-left: {{#expr: 1.4 * {{{indent}}}}}em"> </span>|}}{{nowrap | {{#if: {{{icon|}}} | {{icon|{{{icon}}}}} | {{icon|file}} }} {{{filename}}} }}
{{#if: {{{game|}}} |{{!}}  {{{game}}}  |}}
{{#if: {{{game|}}} |{{!}}  {{{game}}}  |}}
| {{#if: {{{typebg|}}} | style{{=}}"background-color: {{#switch: {{{type}}} | Prototype =  &#35;f2dede | Final = dff0d8 | transparent }}" {{!}} |}} {{{type}}}
| {{#if: {{{typebg|}}} | style{{=}}"background-color: {{#switch: {{{type}}} | Prototype =  &#35;f2dede | Final = &#35;dff0d8 | Revision prototype = &#35;f2f5df | Alternate final = &#35;e9f3dc | Localization prototype = &#35;fcf8e3  | transparent }}" {{!}} |}} {{{type}}}
{{#if: {{{date|}}} | {{!}} {{nowrap| {{{date}}} }} |}}
{{#if: {{{date|}}} | {{!}} {{nowrap| {{{date}}} }} |}}
|data-sort-value="{{{size}}}"| {{#if: {{{size|}}}| {{nowrap | {{#ifexpr: {{{size}}}>=1024 |{{Filesize|{{{size}}}}} | {{{size}}} bytes }} }} |}}
|data-sort-value="{{{size}}}"| {{#if: {{{size|}}}| {{nowrap | {{#ifexpr: {{{size}}}>=1024 |{{Filesize|{{{size}}}}} | {{{size}}} bytes }} }} |}}
{{#if: {{{comment|}}} | {{!}} {{{comment}}} |}}
{{#if: {{{comment|}}} | {{!}} {{{comment}}} |}}
| <small title="CRC-32: {{{crc32}}}&#13;MD5: {{{md5}}}{{#if: {{{shortsha1|}}} | &#13;SHA1: {{{sha1}}} | }}">{{#if: {{{shortsha1|}}} | {{{shortsha1}}} | {{{sha1}}} }}</small>
| <small title="CRC-32: {{{crc32}}}&#13;MD5: {{{md5}}}{{#if: {{{shortsha1|}}} | &#13;SHA1: {{{sha1}}} | }}">{{#if: {{{shortsha1|}}} | {{{shortsha1}}} | {{{sha1}}} }}</small>

Revision as of 23:18, April 10, 2016

|-

| {{{filename}}}

| {{{type}}}

|data-sort-value="{{{size}}}"|

| {{{sha1}}}