User:Lion-hearted85/sandbox

Tools
Edit suggestions

Summary

 * in the source/reference list, add a book using cite book|... (list of book details)
 * in the text, use sfn|author last name|year|p=page(s) to cite a listed book (example: sfn|Sakamoto|2000|pp=70–73)
 * for explanatory footnotes use efn instead. The default labels are lowercase letters (a b c) but other styles can be chosen
 * See an example here for sfn/efn.

Reference listing

 * See an example here for refn.

Fixed column width
Use nowrap on specific text in the column to set a minimum width equivalent to the text width. Alternatively, use style="white-space: nowrap;".

Only the column 1 source code is shown in this example.

Manual method for long dates
Set column width to 93px to accommodate long dates in tables. (The month producing the longest text is "November").

Side by side tables
To render Wikitables side by side, put them in a blank table with the number of columns desidered. To have the table headers aligned, content is aligned on top vertically. See example 1 and 2:

Example 1: Population history

Example 2: MIDI CC

Alternate method
To render two tables left- and right-aligned (not adjacent), use col with 99% and 1% widths, or similar (this is a workaround):

Result

Table syntax: full guide

 * Advanced: Cell diagonal split
 * For collapsible tables: prevent captions to wrap
 * Table captions are introduced with |+ . Add the  template to the caption text.
 * |+ Very long caption 
 * Other table types: table with row highlighting
 * {| class= "wikitable mw-datatable" |} – classic wikitable style
 * {| class= "mw-datatable" |} – different header colours, left alignment by default

Stack
Use stack (see documentation) when:
 * a pile of stacked elements on one side (eg. on the right) prevents that another element is placed on the other side (e.g., on the left)
 * stacked images or items, which are supposed to be in line with text, are pushed to the bottom of the paragraph

Stack is used on the pile of items that prevents the other item to be placed as intended.

In the following example, the pile on the right (Item 1a + Item 1b) use stack to let Item 2 be placed correctly on the left:

Note: layout problems can occur in this case: The infobox can prevent Image1 (on the right) to be placed to its expected position (it will be placed under the infobox); all subsequent items in the wikicode will be placed no higher than Image1's position.

To avoid this problem, all items on the left (such Image2) must be placed before Image1 (stacking with the infobox) in the wikicode.

Interlanguage link
Use to create a wikilink to a Wikipedia of another language when an article doesn't exist in the English Wikipedia. For example,

produces: 

Note that this will link directly to the English Wikipedia when an article will be created in the future. Cewbot will remove the template in that case. However, this will not happen if the English Wikipedia page is a redirect.

Add parameter "preserve=1" or "display=1" at the bottom to force the display of interlanguage links even if the English Wikipedia article exists.

Interwiki link (eg from Commons to Wikipedia)
Link to the English Wikipedia

Link to the Italian Wikipedia (w+"i", change "i" for other languages)

Alternate syntax

Maps in infoboxes
To show one or more maps in infoboxes, use the pushpin_map parameter:

A pre-rendered map must be used. See Template:Location map/List for a list of all the maps available.

Separate different maps with #. Maps will be selectable through option buttons (see example).

Music album article structure
See Album article style advice

For track listing, see this section (see also: Template:Track listing)

In the track listing template, column width is divided equally by default (excluding track number and length columns). To better fit content, set column width with |title_width= |writing_width= |music_width |lyrics_width |extra_width=.

To fit a longer list of writers, set for example: |title_width=33% |writing_width=67% — remaining columns (track number and length) will be set to the minimum needed.

Other templates
Under "Licensing" ( ==== ), add "author" parameter to "self" template:

Or replace the line with this:

To wikilink the author line, a special page must be created containing the wikilinked text. For instance:

Add also this line linked to a special page:

The special page will contain this code:

Plot
Reviewing: Paris, Texas (film)

Edit summary: integrating a little detail back to the plot. I have used a previous article's revision as a reference and checked the film itself.

Travis Henderson walks alone through the West Texas desert in a fugue state, before stumbling into a building and losing consciousness. A German doctor examines him and determines he is mute, but discovers he possesses a telephone number and calls it. The call is answered by Walt Henderson, Travis' brother from Los Angeles. Walt has not seen or had contact with Travis for four years, and agrees to travel to Terlingua, Texas, to retrieve him. His French wife, Anne, is concerned about the matter, as they have adopted Travis' son, Hunter, with Hunter's biological mother Jane also missing. Walt reaches Terlingua and finds Travis wandering from the clinic where he was found. The two brothers begin driving back to Los Angeles.

During their return trip, Walt begins to question the still silent Travis more forcefully about his disappearance. Travis is visibly moved when Walt mentions his son, and tears flow from his eyes. On the second day of their journey, with Walt becoming increasingly frustrated with Travis' muteness, Travis finally utters the name "Paris", asking to go there. Walt mistakenly assumes he means Paris, France. Farther down the road, Travis shows Walt a photograph of empty property in Paris, Texas, which he had purchased, believing he was conceived in that town based on the stories told by her mother.

The brothers reach Los Angeles, where Travis is reunited with Anne and Hunter. Hunter, aged seven, has very little memory of his father and is wary of Travis until the family watches home movies from days when they were all together. Hunter realizes that Travis still loves Jane. As Hunter and Travis become reacquainted, Anne reveals to Travis that Jane has had contact with her and makes monthly deposits into a bank account for Hunter. Anne has traced the deposits to a bank in Houston. Travis realizes he can possibly see Jane if he is at the Houston bank on the day of the next deposit, only a few days away. He acquires a new vehicle and borrows money from Walt. When he tells Hunter he is leaving, Hunter wishes to go with him, though he does not have Walt or Anne's permission.

Travis and Hunter drive to Houston; their relationship grows closer as Hunter recounts the Big Bang and the origins of Earth, and Travis shares his memories with him. When they arrive at the Houston bank, Hunter identifies his mother in a car, making a drive-in deposit. He calls for Travis via walkie-talkie, and they follow her car to a peep-show club where she works. While Hunter waits outside, Travis goes in, finding the business has rooms with one-way mirrors, where clients converse with strippers via telephone. He eventually sees Jane, though she cannot see him, and leaves after several minutes of awkward silence.

The next day, Travis leaves Hunter at the Méridien Hotel in downtown Houston, with a message that he feels obliged to reunite mother and son, as he feels responsible for separating them in the first place. Travis returns to the peep show. Seeing Jane again, and with her seemingly unaware of who he is, he tells her a story, ostensibly about other people. He describes a man and younger girl who meet, marry and have a child. Then explains how the couple's love turns from being joyful to stifling, with the man descending into alcoholism and suffocating the young wife with jealousy and control, while she suffers from baby blues. The girl desires to leave the family while the man, loathing himself, dreams of withdrawing to an unknown place "without language or streets". A fire in the trailer home, after an incident of domestic abuse, [check if redundant] finally parts the family.

Jane realizes she is speaking with Travis, and that he is recounting the story of their relationship. He tells her that Hunter is in Houston and needs his mother. Jane has longed to be reunited with her boy, and that night enters the hotel room where Hunter is waiting, while Travis watches from the parking lot. As Jane embraces Hunter, Travis climbs into his vehicle and drives away.