Differenze tra le versioni di "Template:Information"

Da FountainPen.
Jump to navigation Jump to search
Riga 1: Riga 1:
{| class="toccolours" style="width: 100%; margin: 0.5em auto;"
+
<div class="hproduct commons-file-information-table">
! style="background: #ddd; text-align: right; padding-right: 0.4em; width: 20%;" | Description
+
<table class="fileinfotpl-type-information toccolours vevent mw-content-{{Dir|{{int:lang}}}}" style="width: 100%; direction: {{Dir|{{int:lang}}}};" cellpadding="4">
|
+
 
{{{Description}}}
+
<!-- Description -->
|-
+
<tr style="vertical-align: top">
! style="background: #ddd; padding-right: 0.4em; text-align: right;" | Source
+
<td {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-description}}<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td>
|
+
<td class="description">
{{{Source}}}
+
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
|-
+
</td>
! style="background: #ddd; padding-right: 0.4em; text-align: right;" | Author
+
</tr>
|
+
 
{{{Author}}}
+
<!-- Other fields 1 -->
|-
+
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
! style="background: #ddd; padding-right: 0.4em; text-align: right;" | Permission
+
 
|
+
<!-- Date -->
{{{Permission}}}
+
<tr style="vertical-align: top">
|}<noinclude>
+
<td id="fileinfotpl_date" class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-date}}</td>
Template per creare una tabella di informazioni, usato principalmente nelle pagine di foto e scansioni di pubblicità per inserire dati di base (autore e descrizione).
+
<td lang="{{int:lang}}">{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
 +
</tr>
 +
 
 +
<!-- Source -->
 +
<tr style="vertical-align: top">
 +
<td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-source}}</td>
 +
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td>
 +
</tr>
 +
 
 +
<!-- Author -->
 +
<tr style="vertical-align: top">
 +
<td {{#switch: {{{author|{{{Author|}}} }}} |- |-- |= |#default= id="fileinfotpl_aut" }} class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-author}}</td>
 +
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Author missing}} }}</td>
 +
</tr>
 +
 
 +
<!-- Permission -->
 +
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" lang="{{int:lang}}">{{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>
 +
</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" class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-other-versions}}</td>
 +
<td>
 +
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Other fields -->
 +
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
 +
 
 +
</table>
 +
</div><!--
 +
Parameter maintenance
 +
-->{{#invoke:TemplatePar|check
 +
|opt=
 +
description= Description=
 +
date= Date=
 +
source= Source=
 +
author= Author=
 +
permission= Permission=
 +
other_versions= Other_versions= other versions= Other versions=
 +
other_fields= Other_fields= other fields= Other fields=
 +
other_fields_1= Other_fields_1= other fields 1= Other fields 1=
 +
demo=
 +
|cat= Pages using Information template with incorrect parameter
 +
|errNS= 6 10
 +
|template= [[Template:Information]]
 +
}}<noinclude>
 +
 
 +
{{documentation|Template:Information/doc}}
  
[[Category:Instruction Templates]]
 
[[Category:Documents Templates]]
 
[[Category:Ads Templates]]
 
 
</noinclude>
 
</noinclude>

Versione delle 01:39, 5 mag 2015

⧼wm-license-information-description⧽

Template:Description missing

⧼wm-license-information-date⧽ Template:ISOdate
⧼wm-license-information-source⧽ Template:Source missing
⧼wm-license-information-author⧽ Template:Author missing
⧼wm-license-information-permission⧽
(⧼wm-license-information-permission-reusing-text⧽)
⧼wm-license-information-other-versions⧽

{{#invoke:TemplatePar|check

|opt= description= Description= date= Date= source= Source= author= Author= permission= Permission= other_versions= Other_versions= other versions= Other versions= other_fields= Other_fields= other fields= Other fields= other_fields_1= Other_fields_1= other fields 1= Other fields 1= demo= |cat= Pages using Information template with incorrect parameter |errNS= 6 10 |template= Template:Information }}

Template:Documentation