Template:Information: Difference between revisions

From MediaWiki
Jump to navigation Jump to search
Dbk (talk | contribs)
No edit summary
Dbk (talk | contribs)
No edit summary
Line 15: Line 15:
<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 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>
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
</tr>
<!-- Source -->
<tr style="vertical-align: top">
<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 missing}} }}</td>
</tr>
</tr>


Line 54: Line 60:


{{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"
        }
    }
}
</templatedata>
</noinclude>

Revision as of 12:03, 23 April 2015

⧼wm-license-information-description⧽
This extension has no description, and may be lacking other information.
Extensions should have a summary to inform others of its function. If you know or have access to such information, please add it as appropriate to this page.
⧼wm-license-information-date⧽
⧼wm-license-information-source⧽
This file is lacking source information.

Please edit this file's description and provide a source.

⧼wm-license-information-author⧽
This file is lacking author information.
⧼wm-license-information-permission⧽
(⧼wm-license-information-permission-reusing-text⧽)
⧼wm-license-information-other-versions⧽



A template for showing data on files

Template parameters

ParameterDescriptionTypeStatus
DescriptionDescription

A description of the file

Stringsuggested
SourceSource

Where the file is from

Stringsuggested
DateDate

File creation date

Datesuggested
AuthorAuthor

Who made the file

Stringoptional
PermissionPermission

Custom reuse information

Unknownoptional