User:SatyrTN/Split

Long text units may be cumbersome to edit for a number of reasons, among them limitations in the browser's edit widget, memory limits on handheld devices, and internet bandwidth issues for extremely long pages. Therefore, such text units should be split up and the parts moved to sub pages.

There are two activities involved in splitting texts. The first is actually copy/pasting the text onto the new pages, the second is linking the separate pages together. The following is a beginners' guide to accomplishing the task:

 Determine the best way to split up sections - usually this is by individual work (poems), chapters, or other sections. See the Style Guide for more information. Note that if the chapters or sections are originally titled and not numbered ( versus  ), you'll need to make notes to correlate the two, as individual sub-pages should be named "Chapter 1" and not "The Dog Returns". This helps keep them in order when viewing categories or lists.   When the sections are organized in your notes or in the "Contents" box, make sure the template is on the current main article. This will help you get started making the subpages. The header for the main article should look like:
 * 1) Find the article you wish to split. The list of long pages and the category of texts to be split is a great place to start.
 * 2) Often, you'll notice a table of contents or similar at the top of the work.  If there isn't one, you'll need to do the following:

Note that only the  parameter is a wikilink, and that the wikilink starts with a slash: "/". Always use the pipe convention for the wikilink:  or, if the section has a section name, , otherwise the slash will show up in the link.

Note also that if you just added the Header template, go ahead and save the page. You should now see:

Click the "edit" link and copy the text that belongs in the first subpage. If you have the capability to have two windows (or tabs) open at the same time, it is easier to have one window with that edit screen open and another one with the current subpage you're working on. Hit your "back" button and follow the broken link to the new subpage (in a new window or tab if possible). Paste the text you copied into the new page. Go back up to the top of the box and put in the template for this subpage. It should look like:

Note that if you have titles for sections, the two parameters "section" and "next" should look like this: | section = The Dog Returns ... | next    = Where is the Cat? Repeat the steps of copying the text from the main page into each new subpage and adding the template as many times as necessary. When all of the subpages are created, verify that you have all the text from the original main page in the new subpages. Now you can delete the text from the main page Be sure to leave the  template, any categories, and any introduction text as is. Add a table of contents (or hyperlink an existing one) or a contents box that looks something like:

You're done! 