Difference between revisions of "Template:Information"

From FIThydrowiki
Jump to navigation Jump to search
what>OrenBochman
(imp)
 
 
(56 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{heavily used template}}</noinclude><div class="hproduct">
+
<div class="hproduct">
<table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4">
+
<table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4">
  
 
<!-- Description -->
 
<!-- Description -->
<tr style="vertical-align: top">
+
<tr style="vertical-align: center">
<td id="fileinfotpl_desc" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-description}}</td>
+
<td class="fileinfo-paramfield" style="background: #2cb4da; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold; color: white"> Description</td>
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}</span></td>
+
<td class="description">
</tr>
+
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | }}
 
+
</td>
<!-- Other fields 1 -->
 
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
 
 
 
<!-- Date -->
 
<tr style="vertical-align: top">
 
<td id="fileinfotpl_date" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-date}}</td>
 
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
 
</tr>
 
 
 
<!-- Source -->
 
<tr style="vertical-align: top">
 
<td id="fileinfotpl_src" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-source}}</td>
 
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td>
 
 
</tr>
 
</tr>
  
 
<!-- Author -->
 
<!-- Author -->
<tr style="vertical-align: top">
+
<tr style="vertical-align: center">
<td id="fileinfotpl_aut" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-author}}</td>
+
<td class="fileinfo-paramfield" style="background: #2cb4da; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold; color: white"> Author</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
+
<td class="author">
</tr>
+
{{ #if: {{{author|{{{Author|}}} }}} | {{{Author|{{{author|}}} }}} | }}
 
 
<!-- 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">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
 
<td>
 
{{{permission|{{{Permission|}}} }}}
 
 
</td>
 
</td>
 
</tr>
 
</tr>
}}
 
  
<!-- Other versions -->
+
<!-- Source -->
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
+
<tr style="vertical-align: center">
|  =
+
<td class="fileinfo-paramfield" style="background: #2cb4da; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold; color: white"> Source</td>
| - =
+
<td class="description">
| none =
+
{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | }}
| #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">{{int:wm-license-information-other-versions}}</td>
 
<td>
 
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
 
 
</td>
 
</td>
 
</tr>
 
</tr>
}}
 
 
<!-- Other fields -->
 
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
 
  
 
</table>
 
</table>
 
</div><noinclude>
 
</div><noinclude>
 
{{documentation|Template:Information/doc}}
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:21, 24 October 2019

Description
Author
Source