Changes

Jump to navigation Jump to search
6,481 bytes added ,  09:28, 30 November 2016
no edit summary
Line 1: Line 1: −
<noinclude>{{heavily used template}}</noinclude><div class="hproduct commons-file-information-table">
+
<div class="hproduct">
<table class="fileinfotpl-type-information toccolours vevent mw-content-{{Dir|{{int:lang}}}}" 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: top">
<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 {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
 
<td class="description">
 
<td class="description">
 
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
 
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
Line 15: Line 15:  
<!-- Date -->
 
<!-- Date -->
 
<tr style="vertical-align: top">
 
<tr style="vertical-align: top">
<td id="fileinfotpl_date" class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-date}}</td>
+
<td {{ #if: {{{date|{{{Date|}}} }}} | id="fileinfotpl_date" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Date</td>
<td lang="{{int:lang}}">{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
+
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
 
</tr>
 
</tr>
    
<!-- Source -->
 
<!-- Source -->
 
<tr style="vertical-align: top">
 
<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|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td>
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td>
+
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
 
</tr>
 
</tr>
    
<!-- Author -->
 
<!-- Author -->
 
<tr style="vertical-align: top">
 
<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|}}} }}} | id="fileinfotpl_aut" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Author</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Author missing}} }}</td>
+
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
 
</tr>
 
</tr>
   Line 34: Line 34:  
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 
<tr style="vertical-align: top">
 
<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 id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Permission</td>
 
<td>
 
<td>
 
{{{permission|{{{Permission|}}} }}}
 
{{{permission|{{{Permission|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Resource_link -->
 +
{{#if:{{{resource_link|{{{Resource_link|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Resource link</td>
 +
<td>
 +
{{{resource_link|{{{Resource_link|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Name -->
 +
{{#if:{{{name|{{{Name|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Name</td>
 +
<td>
 +
{{{name|{{{Name|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Alt names -->
 +
{{#if:{{{alt_names|{{{Alt_names|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Alt names</td>
 +
<td>
 +
{{{alt_names|{{{Alt_names|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Content org -->
 +
{{#if:{{{content_org|{{{Content_org|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Content org</td>
 +
<td>
 +
{{{content_org|{{{Content_org|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Teaches -->
 +
{{#if:{{{teaches|{{{Teaches|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Teaches</td>
 +
<td>
 +
{{{teaches|{{{Teaches|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Based on URl -->
 +
{{#if:{{{based_on_url|{{{Based_on_url|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Based on url</td>
 +
<td>
 +
{{{based_on_url|{{{Based_on_url|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Requires -->
 +
{{#if:{{{requires|{{{Requires|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Requires</td>
 +
<td>
 +
{{{requires|{{{Requires|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Assessment -->
 +
{{#if:{{{assessment|{{{Assessment|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Assessment</td>
 +
<td>
 +
{{{assessment|{{{Assessment|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Time required-->
 +
{{#if:{{{time_required|{{{Time_required|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Time required</td>
 +
<td>
 +
{{{time_required|{{{Time_required|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Tags Telugu-->
 +
{{#if:{{{tags_telugu|{{{Tags_telugu|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Tags(Keywords) Telugu</td>
 +
<td>
 +
{{{tags_telugu|{{{Tags_telugu|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Tags English-->
 +
{{#if:{{{tags_english|{{{Tags_english|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Tags(Keywords) English</td>
 +
<td>
 +
{{{tags_english|{{{Tags_english|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Translation Of-->
 +
{{#if:{{{translation_of|{{{Translation_of|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Translation Of</td>
 +
<td>
 +
{{{translation_of|{{{Translation_of|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Adaptation-->
 +
{{#if:{{{adaptationup|{{{Adaptationup|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Adaptation</td>
 +
<td>
 +
{{{adaptationup|{{{Adaptationup|}}} }}}
 +
</td>
 +
</tr>
 +
}}
 +
 +
<!-- Contributor -->
 +
{{#if:{{{contributorup|{{{Contributorup|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Contributor</td>
 +
<td>
 +
{{{contributorup|{{{Contributorup|}}} }}}
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 48: Line 188:  
| #default =  
 
| #default =  
 
<tr style="vertical-align: top">
 
<tr style="vertical-align: top">
<td id="fileinfotpl_ver" class="fileinfo-paramfield" lang="{{int:lang}}">{{int:wm-license-information-other-versions}}</td>
+
<td id="fileinfotpl_ver" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other versions</td>
 
<td>
 
<td>
 
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
 
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
Line 59: Line 199:     
</table>
 
</table>
</div>{{Infobox template tag}}{{#ifexpr:{{Years since|1={{ISOyear| {{{date|{{{Date|}}} }}} }}|error=0 }}>200 | {{Works created more than 200 years ago}} }}<!--
+
</div><noinclude>
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}}
 
{{documentation|Template:Information/doc}}
    +
 +
<templatedata>
 +
{
 +
"description": "A template for showing data on files",
 +
"params": {
 +
"Description": {
 +
"label": "Description",
 +
"description": "A description of the file",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"Source": {
 +
"label": "Source",
 +
"description": "Where the file is from",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"Date": {
 +
"label": "Date",
 +
"description": "File creation date",
 +
"type": "date",
 +
"suggested": true
 +
},
 +
"Author": {
 +
"label": "Author",
 +
"description": "Who made the file",
 +
"type": "string"
 +
},
 +
"Permission": {
 +
"label": "Permission",
 +
"description": "Custom reuse information"
 +
},
 +
"description": {},
 +
"other_fields_1": {},
 +
"Other_fields_1": {},
 +
"other fields 1": {},
 +
"Other fields 1": {},
 +
"date": {},
 +
"source": {},
 +
"author": {},
 +
"permission": {},
 +
"demo": {},
 +
"resource_link": {},
 +
"Resource_link": {
 +
"label": "Resource link",
 +
"description": "Link on repository",
 +
"type": "string"
 +
},
 +
"name": {},
 +
"Name": {
 +
"label": "Name",
 +
"description": "Chapter / Concept  name",
 +
"type": "string"
 +
},
 +
"alt_names": {},
 +
"Alt_names": {},
 +
"teaches": {},
 +
"Teaches": {
 +
"description": "What topic",
 +
"type": "string"
 +
},
 +
"based_on_url": {},
 +
"Based_on_url": {},
 +
"requires": {},
 +
"Requires": {
 +
"label": "Requires",
 +
"description": "Pre-requisites for resource",
 +
"type": "string"
 +
},
 +
"assessment": {},
 +
"Assessment": {
 +
"label": "Assessment",
 +
"description": "Skills/ concepts"
 +
},
 +
"time_required": {},
 +
"Time_required": {
 +
"label": "Time required",
 +
"description": "Classroom time"
 +
},
 +
"other_versions": {},
 +
"Other_versions": {},
 +
"other versions": {},
 +
"Other versions": {},
 +
"other_fields": {},
 +
"Other_fields": {},
 +
"other fields": {},
 +
"Other fields": {},
 +
"content_org": {},
 +
"Content_org": {},
 +
"tags_telugu": {},
 +
"Tags_telugu": {
 +
"description": "Tags or keywords in Telugu"
 +
},
 +
"tags_english": {},
 +
"Tags_english": {
 +
"description": "Tags or keywords in English"
 +
},
 +
"translation_of": {},
 +
"Translation_of": {
 +
"description": "Translation"
 +
},
 +
"adaptationup": {},
 +
"Adaptationup": {
 +
"description": "Adaptation"
 +
},
 +
"contributorup": {},
 +
"Contributorup": {
 +
"description": "Contributors"
 +
}
 +
}
 +
}
 +
</templatedata>
 
</noinclude>
 
</noinclude>

Navigation menu