Template:Infosplit/doc

From MattWiki
Jump to: navigation, search

This is a helper template for {{Information}} and similar templates.

Purpose

This template allows the entry of multiple sources into source/author/date/permission/description lines

Syntax

Basic syntax

{{Infosplit
| (file info)
| (original media info)
| (subject of media info)
}}

These are three anonymous parameters

  • first parameter — enter information pertaining to the file uploaded to Wikipedia here
  • second parameter — enter information pertaining to the media the file is a copy of here
  • third parameter — enter information pertaining to the subject represented in the media here
Example
This media Crop of photo created by User:XYZ
Original work Sculpture photobook created by author ABC
Subject work
of original work
Sculptures created by sculptor MNO

Extended syntax

{{Infosplit
| (file info)
| original = (change name of original field)
| (original media info)
| subject = (change name of subject field)
| (subject of media info)
}}

There are two named parameters for extended definition

  • {{{original}}} – change the name of the Original work field
  • {{{subject}}} – change the name of the Subject work field
Example
This media Crop of photo created by User:XYZ
Photograph Sculpture photobook created by author ABC
Sculpture Sculptures created by sculptor MNO

Examples

{{Information
|description= ABCD
|source= EFGH
|date= {{infosplit
 | IJKL
 | MNOP
 }}
|author= {{Infosplit
 | QRST
 | UVWX
 | YZ
 }}
|permission= 
}}
Description

ABCD

Source

EFGH

Date
This media IJKL
Original work MNOP
Author
This media QRST
Original work UVWX
Subject work
of original work
YZ
Permission
(Reusing this file)

See below.


See also