Difference between revisions of "Template:Information table"

From HPC Wiki
Jump to navigation Jump to search
(Mukund-pondkule-6a11@uni-paderborn.de moved page Template to Template:Box)
Tag: New redirect
 
(Removed redirect to Template:Box)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:Box]]
+
 
 +
<div class="hproduct">
 +
 
 +
<table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4">
 +
 
 +
<!-- Description -->
 +
{{#if:{{{description|{{{Description|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_desc" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
 +
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} }}</span></td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Date -->
 +
{{#if:{{{date|{{{Date|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_date" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Date</td>
 +
<td>{{ #if: {{{date|{{{Date|}}} }}} | {{{date|{{{Date|}}} }}} }}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Source -->
 +
{{#if:{{{source|{{{Source|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_src" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">File source</td>
 +
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} }}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Author -->
 +
{{#if:{{{author|{{{Author|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_aut" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Author</td>
 +
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} }}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Permission -->
 +
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">license-information-permission<br /><small></small></td>
 +
<td>{{ #if: {{{permission|{{{Permission|}}} }}} | {{{permission|{{{Permission|}}} }}} }}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Other versions -->
 +
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
 +
|  =
 +
| - =
 +
| none =
 +
| #default =
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_ver" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other Versions</td>
 +
<td>
 +
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Other fields -->
 +
{{#if:{{{other fields|{{{Other Fields|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_oth" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other fields</td>
 +
<td>{{ #if: {{{other_fields|{{{Other_Fields|}}} }}} | {{{other_fields|{{{Other_Fields|}}} }}} }}</td>
 +
</tr>
 +
}}
 +
 
 +
</table>
 +
{{#if:{{{License|{{{license|}}} }}}|[[Category:Information template using 'License' parameter]]}}
 +
</div>

Revision as of 12:55, 18 September 2020

Description
Date
File source
Author
license-information-permission
Other Versions
Other fields