Template:Split article/doc
This is a documentation subpage for Template:Split article. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Material from Titans was split to Fall of the Titans (Jordaens) on 4 March 2006. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted so long as the latter page exists. Please leave this template in place to link the article histories and preserve this attribution. The former page's talk page can be accessed at Talk:Titans. |
When copying material from one Wikipedia article to another, you can put this template on the talk page of both articles, to indicate that its page history contains the attribution to Wikipedian contributors of the material that lies elsewhere.
Notes also need to be put in edit summaries of both articles; see Wikipedia:Splitting#Procedure.
Usage
[edit]Do not wikilink |to=
and |from=
— these are automatically linked for you.
{{Split article
| from = name of page material was removed from
| from_oldid = permanent link url or revisionid from which the material was copied
| to = name of page material was copied to
| diff = url or either a single revisionid or a diff of two revisionids separated by a slash showing the addition of the material
| date = date and time material was moved
}}
The |to=
and |date=
fields are required. If |to=
is not provided, the template will refuse to show its usual text.
The |from=
, |from_oldid=
, and |diff=
fields are optional, but using them makes it easier for readers and editors to trace the split. Where the page was created with the split material as the first edit, the diff parameter cannot be accessed in the normal radio button, comparison mode in the page history. Instead, navigate to the permanent link for the first edit, and copy the "oldid". For example, where the end of the URL is &oldid=271444811
, the revisionid is 271444811
. When using two revisionids, the oldid should be first, followed by a slash and the diff. If you have trouble using the revisionids, you can use the whole URL.
This template can be placed on the talk page of the article that was split and the talk page of the new article receiving the split content. When placing the template on the new article receiving the split content, provide the |from=
parameter for proper attribution. If the receiving article already had content, you may wish to use {{Merged-from}}, instead.
Multiple splits
[edit]Additional splits from the same article can be specified by adding a number after each variable, so the second split would use |to2=
, |date2=
, |from_oldid2=
and |diff2=
and so on:
{{Split article
| from = name of page material was removed from
| to =
| from_oldid =
| diff =
| date =
| to2 =
| from_oldid2 =
| diff2 =
| date2 =
| to3 =
| from_oldid3 =
| diff3 =
| date3 =
}}
The template can support any number of splits, as long as the numbers that go after each parameter are consecutive. If |to3=
is provided but |to2=
is not, only |to1=
will show up.
The |collapse=
parameter can be used to collapse some or all of the listed items. Set |collapse=yes
to collapse all items, or |collapse=4
to hide all entries below |date4=
for instance.
Errors
[edit]Errors and warnings about template usage are tracked using the following tracking categories:
- Category:Pages with split article errors (5)
- Category:Pages with split article warnings (0)
- Category:Pages using split article with unknown parameters (15)
TemplateData
[edit]Talk page notice used to indicate that a page's history contains splits and require attribution to contributors elsewhere
Parameter | Description | Type | Status | |
---|---|---|---|---|
Collapse | collapse | Whether to collapse values. Set to "yes" to collapse all by default, or a number at which all rows after that number will be collapsed.
| String | optional |
From | from | Page that split content originally came from | Page name | required |
To 1 | to to1 | Target page of an article split | Unknown | required |
Diff 1 | diff diff1 | Revision ID of the revision which added the split content into the target page | Number | suggested |
Date 1 | date date1 | Date on which the split occurred
| Date | suggested |
From revision 1 | from_oldid from_oldid1 | Revision ID of the page at the time of the split | Number | suggested |
To 2 | to2 | Target page of an article split | Unknown | suggested |
Diff 2 | diff2 | Revision ID of the revision which added the split content into the target page | Number | suggested |
Date 2 | date2 | Date on which the split occurred
| Date | suggested |
From revision 2 | from_oldid2 | Revision ID of the page at the time of the split | Number | suggested |
To 3 | to3 | Target page of an article split | Unknown | optional |
Diff 3 | diff3 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 3 | date3 | Date on which the split occurred
| Date | optional |
From revision 3 | from_oldid3 | Revision ID of the page at the time of the split | Number | optional |
To 4 | to4 | Target page of an article split | Unknown | optional |
Diff 4 | diff4 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 4 | date4 | Date on which the split occurred
| Date | optional |
From revision 4 | from_oldid4 | Revision ID of the page at the time of the split | Number | optional |
To 5 | to5 | Target page of an article split | Unknown | optional |
Diff 5 | diff5 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 5 | date5 | Date on which the split occurred
| Date | optional |
From revision 5 | from_oldid5 | Revision ID of the page at the time of the split | Number | optional |
To 6 | to6 | Target page of an article split | Unknown | optional |
Diff 6 | diff6 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 6 | date6 | Date on which the split occurred
| Date | optional |
From revision 6 | from_oldid6 | Revision ID of the page at the time of the split | Number | optional |
To 7 | to7 | Target page of an article split | Unknown | optional |
Diff 7 | diff7 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 7 | date7 | Date on which the split occurred
| Date | optional |
From revision 7 | from_oldid7 | Revision ID of the page at the time of the split | Number | optional |
To 8 | to8 | Target page of an article split | Unknown | optional |
Diff 8 | diff8 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 8 | date8 | Date on which the split occurred
| Date | optional |
From revision 8 | from_oldid8 | Revision ID of the page at the time of the split | Number | optional |
To 9 | to9 | Target page of an article split | Unknown | optional |
Diff 9 | diff9 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 9 | date9 | Date on which the split occurred
| Date | optional |
From revision 9 | from_oldid9 | Revision ID of the page at the time of the split | Number | optional |
To 10 | to10 | Target page of an article split | Unknown | optional |
Diff 10 | diff10 | Revision ID of the revision which added the split content into the target page | Number | optional |
Date 10 | date10 | Date on which the split occurred
| Date | optional |
From revision 10 | from_oldid10 | Revision ID of the page at the time of the split | Number | optional |
Demo | demo nocat | Disables tracking categories if enabled | Boolean | optional |
See also
[edit]- Wikipedia:Article size
- {{Copied}}
- {{Merged-from}}
- {{Merged-to}}
- {{Split}}