Difference between revisions of "Template:Filetype"

From Creative Commons
Jump to: navigation, search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>
{{Translations|
+
{| style="width:70%; font-size:90%; border:1px solid #aaaaaa; background-color:#f9f9f9; color:black; margin-bottom:0.5em; padding:0.2em; clear:both; text-align:left;" align="center" border="1" cellpadding="4" cellspacing="0"
  articles=Template:Pt:Tipo de ficheiro
+
! style="text-align: center; background-color:#ccccff;" colspan="3" |<big>File Type Information</big>
}}
+
|-
 +
! Supports embedding license URL:
 +
| [[supports_license_url::{{{license_url}}}]]
 +
|-
 +
! Supports embedding [[Web Statement|web statement]]:
 +
| [[supports_web_statement::{{{web_statement}}}]]
 +
|-
 +
! Supports embedding [[CCPlus|more permissions]]:
 +
| [[supports_more_permissions::{{{more_permissions}}}]]
 +
|-
 +
! Metadata Location:
 +
| {{#if: {{{metadata_location|}}} | [[Metadata location::{{{metadata_location}}}]] | (unknown) }}
 +
|-
 +
! Metadata Format:
 +
| {{#if: {{{metadata_format|}}} | [[Metadata format::{{{metadata_format}}}]] | (unknown) }}
 +
|}<br />
 +
 
 +
[[Category:Filetype]]
 +
</includeonly><noinclude>
 
The Filetype template annotates a page with semantic information about which Creative Commons "features" are supported for a given filetype.
 
The Filetype template annotates a page with semantic information about which Creative Commons "features" are supported for a given filetype.
  
Line 18: Line 36:
  
 
<code>license_url</code>, <code>web_statement</code>, and <code>more_permissions</code> can be either <code>True</code> or <code>False</code>.  <code>metadata_location</code> and <code>metadata_format</code> are free-form strings.
 
<code>license_url</code>, <code>web_statement</code>, and <code>more_permissions</code> can be either <code>True</code> or <code>False</code>.  <code>metadata_location</code> and <code>metadata_format</code> are free-form strings.
</noinclude><includeonly>
 
{| style="width: 50em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: center; clear: both; text-align:left;" border="1" cellpadding="4" cellspacing="0"
 
!style="text-align: center; background-color:#ccccff;" colspan="3" |<big>File Type Information</big>
 
|-
 
! Supports embedding license URL:
 
| [[supports_license_url::{{{license_url}}}]]
 
|-
 
! Supports embedding [[Web Statement|web statement]]:
 
| [[supports_web_statement::{{{web_statement}}}]]
 
|-
 
! Supports embedding [[CCPlus|more permissions]]:
 
| [[supports_more_permissions::{{{more_permissions}}}]]
 
|-
 
! Metadata Location:
 
| {{#if: {{{metadata_location|}}} | [[Metadata location::{{{metadata_location}}}]] | (unknown) }}
 
|-
 
! Metadata Format:
 
| {{#if: {{{metadata_format|}}} | [[Metadata format::{{{metadata_format}}}]] | (unknown) }}
 
|}
 
  
[[Category:Pt:Tipo de ficheiro]]
+
{{Translations
</includeonly>
+
| articles = Template:Pt:Tipo de ficheiro
 +
}}
 +
</noinclude>

Latest revision as of 14:41, 29 April 2011

The Filetype template annotates a page with semantic information about which Creative Commons "features" are supported for a given filetype.

Use the template by including the following text in the page:


  {{Filetype|
    license_url=True|
    web_statement=True|
    more_permissions=False|
    metadata_location=Application Block|
    metadata_format=XMP
  }}

license_url, web_statement, and more_permissions can be either True or False. metadata_location and metadata_format are free-form strings.