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>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
imported>Multichill
Line 1: Line 1:
<noinclude>{{heavily used template}}</noinclude><div class="hproduct">
<noinclude>{{heavily used template}}</noinclude>{| class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:Lang}}}};" cellpadding="2"
<table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4">
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |{{int:wm-license-information-description}}
 
|<span class="summary" style="display:none">{{PAGENAME}}</span>
<!-- Description -->
{{ #if: {{{description|{{{Description|}}}}}} | {{{description|{{{Description|}}}}}} | {{Description missing}} }}
<tr style="vertical-align: top">
|- valign="top"
<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>
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | {{int:wm-license-information-date}}
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}</span></td>
|
</tr>
{{ISOdate|{{{date|{{{Date|}}}}}}}}
 
|- valign="top"
<!-- Other fields 1 -->
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | {{int:wm-license-information-source}}
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
|
 
{{ #if: {{{source|{{{Source|}}}}}} | {{Parse source|{{{source|{{{Source|}}}}}}}} | {{Source missing}} }}
<!-- Date -->
|- valign="top"
<tr style="vertical-align: top">
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | {{int:wm-license-information-author}}
<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>
{{ #if: {{{author|{{{Author|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}
</tr>
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | {{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small>
<!-- Source -->
|
<tr style="vertical-align: top">
{{ #if: {{{permission|{{{Permission|}}}}}} | {{#switch: {{lc:{{{permission|{{{Permission|}}}}}}}}
<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|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
| yes
</tr>
| see below
 
| see below. = {{int:wm-license-information-permission-see-below}}
<!-- Author -->
| #default = {{{permission|{{{Permission|}}}}}}
<tr style="vertical-align: top">
}} | {{int:wm-license-information-permission-see-below}} }}{{#switch: {{lc:{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}}}
<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>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
</tr>
 
<!-- 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>
</tr>
}}
 
<!-- Other versions -->
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
|  =
|  =
| - =
| - =
| no =
| none =
| none =
| #default =  
| #default = <tr valign="top"><th style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_ver">{{int:wm-license-information-other-versions}}</th><td>
<tr style="vertical-align: top">
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}}</td></tr>}}
<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>
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}}
<td>
|}<noinclude>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
</td>
</tr>
}}


<!-- Other fields -->
{{documentation}}
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}


</table>
[[Category:Infobox templates| ]]
</div><!--
[[Category:Autotranslated templates|Information]]
--><noinclude>
[[Category:Templates generating hCalendars|Information]]
{{documentation}}
</noinclude>
</noinclude>

Revision as of 14:37, 28 January 2012

Template:Heavily used template{| class="toccolours vevent" style="width: 100%; direction: ltr;" cellpadding="2" ! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |⧼wm-license-information-description⧽ | Template:Description missing |- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | ⧼wm-license-information-date⧽ |

|- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | ⧼wm-license-information-source⧽ | Template:Source missing |- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | ⧼wm-license-information-author⧽ | Template:Author missing |- valign="top" ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | ⧼wm-license-information-permission⧽
(Reusing this file) | ⧼wm-license-information-permission-see-below⧽

|}

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