This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Information: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Marc
No edit summary
imported>Jarekt
Making Permission field optional and swithing from HTML/wiki table mix to HTML tables, as discussed in Template_talk:Information#Edit_request. Also adding other_fields_1 field
Line 1: Line 1:
{| style="width: 100%; margin: 0.5em auto; background-color:#f4f4f4; border: 1px solid #888" cellpadding="2"
<noinclude>{{heavily used template}}</noinclude><div class="hproduct">
|-
<table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4">
! colspan=2 style="background: #EEF3E2;  border-bottom: 1px solid #888; text-align: left; vertical-align: middle; padding-right: 0.4em; àwidth: 15%" | {{int:Languages}} : {{switch lang}}
 
|-
<!-- Description -->
! style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em; width: 15%" |{{int:Description}}
<tr style="vertical-align: top">
|{{ #if: {{{Description|}}}{{{description|}}} | {{{Description|}}}{{{description|}}} | <span style="color:red">DESCRIPTION MISSING</span> }}
<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><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}</span></td>
! style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em; width: 15%" |{{int:Author}}
</tr>
|{{ #if: {{{Author|}}}{{{author|}}} | {{{Author|}}}{{{author|}}} | <span style="color:red">AUTHOR MISSING</span> }}
 
|-
<!-- Other fields 1 -->
! style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em" |{{int:Date}}
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
|{{ #if: {{{Date|}}}{{{date|}}} | {{{Date|}}}{{{date|}}} | <span style="color:red">DATE MISSING</span> }}
 
|-
<!-- Date -->
! style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em; width: 15%" |{{int:Source}}
<tr style="vertical-align: top">
|{{ #if: {{{Source|}}}{{{source|}}} | {{{Source|}}}{{{source|}}} | <span style="color:red">SOURCE MISSING</span> }}
<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>
! style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em; width: 15%" |{{int:Licensing}}
</tr>
|
 
{{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} [[Category:Permission]] | }}
<!-- Source -->
{{ #switch: {{{Licensing}}}
<tr style="vertical-align: top">
  | PD-Canada = {{int:PD-Canada}}
<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>
  | PD-old-70 = {{int:PD-old-70}}
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
  | GFDL = {{int:GFDL}}
</tr>
  | CC-BY = {{int:CC-BY}}
 
  | CC-BY-SA = {{int:CC-BY-SA}}
<!-- Author -->
  | CC-BY-ND = {{int:CC-BY-ND}}
<tr style="vertical-align: top">
  | CC-BY-NC = {{int:CC-BY-NC}}
<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>
  | CC-BY-NC-SA = {{int:CC-BY-NC-SA}}
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
  | CC-BY-NC-ND = {{int:CC-BY-NC-ND}}
</tr>
  | PD ineligible = {{int:PD ineligible}}
 
  | #default = {{ #if: {{{licensing|}}} | {{{licensing}}} | <span style="color:red">LICENSE MISSING</span> <includeonly>[[Category:Medias without license]]</includeonly> }}
<!-- Permission -->
}}
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
|-
<tr style="vertical-align: top">
! style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em; width: 15%" |{{int:Other versions}}
<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>
|{{ #if: {{{other versions|}}} | {{{other versions}}} | }}
<td>
|}
{{{permission|{{{Permission|}}} }}}
<noinclude>
</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">{{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><!--
--><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 13:22, 27 January 2012

Template:Heavily used template

⧼wm-license-information-description⧽ Template:Description missing
⧼wm-license-information-date⧽
⧼wm-license-information-source⧽ Template:Source missing
⧼wm-license-information-author⧽ Template:Author missing
⧼wm-license-information-permission⧽
(Reusing this file)
⧼wm-license-information-other-versions⧽
Documentation


{{Information
| Description =
| Author =
| Date =
| Source =
| Permission = 
| Other versions =
}}

Permission is

  • PD-Canada
  • PD-old-70
  • GFDL
  • CC-BY
  • CC-BY-SA
  • PD ineligible
  • or your text