User:Middle 8/tips
From Wikipedia, the free encyclopedia
≠ § ¶
Semi-small text:
- <span style="font-size:0.9em">
- lorem ipsum. Test
- </span>
Is this grammatical rule outdated?
Citation templates
Basic cite web
- <ref name= >{{cite web |url= |title= | work= | date= | accessdate= | last= | first= }}</ref>
The "work" field is written as e.g. [[The Guardian]].
Basic gen'l (h/t BullRangifer)
- <ref name= >{{Citation |last= |first= |date= |title= |publisher= |url= |accessdate= }}</ref>
and with archive
- <ref name= >{{Citation |last= |first= |date= |title= |publisher= |url= |accessdate= |archiveurl = |archivedate= }}</ref>
The |date= format is either YYYY-MM-DD or (e.g.) January 1, 2016.
Template: Reference page
Provide a page number for a reference.
[ref]{{rp|37}}
gives
[ref]: 37
Diffs and old page versions as wikilinks
Special:Diff/older-id/newer-id
"Special:Diff", per this archived user talk thread.
How it's done: Special:Diff/Old/Newer,
i.e., [[Special:Diff/(older version i.e. "oldid")/(newer version)]]
So, for diff: en.wikipedia.org/w/index.php?title=Bill_Bogaard&diff=643919153&oldid=640906762
-- which can also be rendered this way: -- en.wikipedia.org/w/index.php?oldid=640906762&diff=643919153
we do this:
[[Special:Diff/640906762/643919153]]
which gives Special:Diff/640906762/643919153 (which can be pipelinked)
Whatever order the versions appear in the URL for the diff, just put the "oldid" first, i.e., Special:Diff/older-id/newer-id.
Special:PermanentLink/older-id
To show this...
- https://en.wikipedia.org/w/index.php?oldid=691204686 (The Beatles, old version)
... as a wikilink, do this:
[[Special:PermanentLink/691204686]] = Special:PermanentLink/691204686
(...which is the same as https://en.wikipedia.org/wiki/Special:PermanentLink/691204686
Modify text display
Size
- <span style="font-size:0.9em">Here is 0.9 fontsize</span> ==> Here is 0.9 fontsize
- Shortcut to 0.8: <small>Small text</small> ==> Small text
- <span style="font-size:1.1em">Here is 1.1 fontsize</span> ==> Here is 1.1 fontsize
- Shortcut to 1.2: <big>Big text</big> ==> Big text
Note: Can't go beyond one decimal place.
Underline
- <ins>Underlining</ins> ==> Underlining
Font and color
- Template kbd, to display text searches in monospaced font (Courier): {{kbd|yin yang}}
- gives
- yin yang
- Template quote (Green): {{tq|up}}
- gives
up
- Example text (green for goodness, red for wrongness): {{xt|goodness}}, {{!xt|wrongness}}
- gives
- goodness, wrongness
- Template:purple: {{purple|purple text}}
- gives
- purple text
- and so on for various other colors.
Hard return
"<poem>" lets returns in raw text remain; no need for using "<br>" or "<p>":
<poem> I think that I shall never see A poem as lovely as a tree </poem>
gives
I think that I shall never see
A poem as lovely as a tree
Hidden text
aka invisible text: WP:HIDDEN
<!-- Hidden text -->
Convert units
They range in size from {{convert|2|to|120|mm|in|1}}.
gives
They range in size from 2 to 120 millimetres (0.1 to 4.7 in).
Image e.g.
The "Tesla's famous telegram image" is under this section, and not under the "how to keep images...." section just below.
How to keep images in a given section?
note, 3/6/21: take this into account (bot edit to this page)
- Which template makes sure an image stays in the section in which it's placed, rather than push down into the next section? something like {{keepwith}}
Music articles
Tracklisting examples
- Columns: see CSNY 1974 (version)
- Hidden sections: see Press To Play (version)
Table of Contents
Forcing addition of TOC
Put __TOC__ above sections
Linking to a section in absence of TOC
Just put in # after URL followed by the title of the section, with underlines replacing spaces between words
Template:Section link
Use Template:Section link to link to a particular section in an article and insert a "§" (Section marker).
Single section (note resulting wl spans article name, in contrast to multiple sections below):
{{section link|The Beatles|Musical style and development}}
gives
The Beatles § Musical style and development
Multiple sections:
{{section link|The Beatles|Musical style and development|Legacy}}
gives
The Beatles §§ Musical style and development and Legacy
Omit article name (when using in same article):
{{section link||Musical style and development}}
gives
§ Musical style and development
Preserving Wikilinks to sections: one use of WP:COMMENT
<!--If you change this section title, please also change the links to it on the page [[The Cure discography#Extended plays]]. thanks-->
"See Also" type templates
Nice one: {{further|foo}} gives
and Template:further2 is same except you have to put in wikilink brackets, so
{{further2|[[foo]]}} gives
more at: Template:Further
Template:Code -- a sort of alternative to nowiki, with special "code-like" appearance
e.g., from WP:CAT:
simply add the parent category (e.g.: {{code|[[Category:Parent category name]]}} ).
gives
simply add the parent category (e.g.: [[Category:Parent category name]] ).
Pre: Code-like appearance, preserve indents
use <pre> ...(text here)... </pre>
as at Reese's Puffs:
here (permalink)
Template:spaced ndash
Hey{{spaced ndash}}check this out
Hey – check this out
also
Hey{{--}}check this out
Hey—check this out
Template:Outdent
Use {{Outdent|::::}} to de-indent a thread four :'s deep, so --
- all along the
watchtower
Great way to embed a long quote on a talk page without hiding it
<div style="height:15em; overflow:auto; border: 2px solid #c6dbf7">Lorem ipsum dolor sit amet</div>
"height:15em" is good; 0.5 too small, 30 probably too big.
from Talk:Blackstar_(David_Bowie_album)#Avant_garde_jazz_album_-_a_misleading_characterisation - h/t User:Semitransgenic
Source 1: Team Rock, Stephen Dalton, album review
Can lightning strike twice? Bowie’s 2013 comeback album The Next Day was as much a testament to brilliant marketing as musical skill, arriving from nowhere after a decade of silence, secrecy and sinister rumours. It topped the charts globally, earning the legendary rock recluse his first UK No.1 in 20 years, and helped make the David Bowie Is... exhibition a worldwide blockbuster. A sell-out tour without the Thin White Duke even having to leave his New York bunker? Genius.
Due for release on Bowie’s 69th birthday on January 8, Blackstar arrives with a little more notice and background information than The Next Day, but not much. This time, the beloved art-rock godfather cannot depend on the delighted surprise and (frankly) relief that he’s alive and kicking.
With its seven lengthy tracks, this album is leaner and more focused than its predecessor, but also more defiantly arty and less poppy. That said, Bowie’s vocal range and mastery is particularly striking.
Blackstar appears to be the score for Bowie’s hotly anticipated stage musical collaboration Lazarus, which opens off Broadway in December. The drama is based on his most celebrated big-screen outing, in Nicolas Roeg’s The Man Who Fell To Earth, but any narrative parallels are buried behind opaque lyrics.
The album was recorded with various New York-based jazz musicians, rather than Bowie’s regular roster of rock players, though long-time producer Tony Visconti returns, and James Murphy of LCD Soundsystem contributes percussion on two tracks.
Blackstar begins with its title track, a 10-minute mini-symphony of shifting movements and Middle Eastern melodies cloaked in jazzy electronica and muscular beats. Bowie delivers the ominous, quasi-Biblical lyric like an incantation. Then the music changes mood and a beautiful pop ballad emerges from the maelstrom, a lovely elegy about death and renewal, and fallen angels. A daunting musical monolith at first, this dense sonic tapestry reveals more and more treasures with each listen.
Hard-core fans will be disappointed that two Blackstar tracks have already been made public, albeit in alternate versions. The opaquely sketched murder ballad Sue (Or In A Season of Crime) was first released in 2014 in a skittery, brass-heavy, bebop-jazzy drum’n’bass arrangement. This update feels sharper, denser and heavier, with added funk-rock guitar squeals and percussive shudders. Crucially, Bowie’s achingly emotive vocal is terrific on both versions.
Dating from the same single package, ’Tis A Pity She Was A Whore was originally a propulsive, roaring, heavily electronic wall of sound. This new version features more organic instrumentation, with squawking saxophone and lush backing vocals that nudge it closer towards the lightly disguised R&B stompers that shaped much of Bowie’s early career. One of the less convincing tracks here is the six-minute title song to Lazarus, the musical, a fairly unremarkable two-chord churn that drags in its latter stages. Girl Loves Me is another slight affair but at least offers more punch, blending tensile art-funk with electronica and drum’n’bass flourishes.
For all its arty aura, Lazarus climaxes with two rousingly emotional power ballads that remind us Bowie can still turn on that windswept romantic crooner voice. All plaintive piano and wafting saxophone, Dollar Days is soft and soulful and steeped in regret. Lightly jazzy with a long sax fade-out, this could be an outtake from Young Americans.
But the climactic I Can’t Give Everything Away is better, six minutes of heart-swelling widescreen melodrama that builds into an Absolute Beginners-sized epic. Swept along by orchestral strings, a lonely harmonica and liquid guitar solos that recall Robert Fripp’s classic Bowie collaborations, this feels like the sweet reward for sitting through the more ear-bashing experimental tracks.
Much of Bowie’s output for the last 25 years paid lip service to his avant-garde leanings while mostly sticking within fairly straight indie-rock parameters. With Blackstar, he has gone deeper, making his most adventurous and uncompromising album since his classic run of Brian Eno collaborations. Even more than The Next Day, these seven tracks suggest the sounds inside his head are in sync with his long-time soul brother Scott Walker, though thankfully he remains on warmer terms with old-fashioned melody and emotion.
It seems lightning can strike more than twice, because Bowie’s autumnal comeback keeps getting richer and stranger. Old boys keep swinging.cot/cob
{{cot|title=Revolution}} We all want to change the world. {{cob}}
gives
Revolution |
|---|
|
We all want to change the world. |
archiving discussion: archive top, archive bottom
{{archive top|explanatory text}} and {{archive bottom}}
{{archive top|this is bullshit --~~~~}}
Does the Pope poop in the woods? -- Mick Jagger, 13:13, 5 July 2014 (UTC)
- Is a bear Catholic? -- Keith Richards, 13:13, 5 July 2014 (UTC)
{{archive bottom}}
gives
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Does the Pope poop in the woods? -- Mick Jagger, 13:13, 5 July 2014 (UTC)
- Is a bear Catholic? -- Keith Richards, 13:13, 5 July 2014 (UTC)
More hiding text with Template:Track listing
note, 3/6/21: "collapsed" parameter not working??
e.g. from Amnesiac (hit "edit" for clearer view with returns):
{{Track listing | collapsed = yes | headline = "Special Collectors Edition" Disc 2 |title1=The Amazing Sounds Of Orgy |title2=Trans-Atlantic Drawl |title3=Fast-Track |title4=Kinetic |title5=Worrywort |title6=Fog |title7=Cuttooth |title8=Life in a Glasshouse |note8=full length version |title9=You and Whose Army? |note9=live at Canal+ Studios, Paris |title10=Packt Like Sardines in a Crushd Tin Box |note10=live at Canal+ Studios, Paris |title11=Dollars & Cents |note11=live at Canal+ Studios, Paris |title12=I Might Be Wrong |note12=live at Canal+ Studios, Paris |title13=Knives Out |note13=live at Canal+ Studios, Paris |title14=Pyramid Song |note14=live at Canal+ Studios, Paris |title15=Like Spinning Plates |note15=live }}
gives:
| No. | Title | Length |
|---|---|---|
| 1. | "The Amazing Sounds Of Orgy" | |
| 2. | "Trans-Atlantic Drawl" | |
| 3. | "Fast-Track" | |
| 4. | "Kinetic" | |
| 5. | "Worrywort" | |
| 6. | "Fog" | |
| 7. | "Cuttooth" | |
| 8. | "Life in a Glasshouse" (full length version) | |
| 9. | "You and Whose Army?" (live at Canal+ Studios, Paris) | |
| 10. | "Packt Like Sardines in a Crushd Tin Box" (live at Canal+ Studios, Paris) | |
| 11. | "Dollars & Cents" (live at Canal+ Studios, Paris) | |
| 12. | "I Might Be Wrong" (live at Canal+ Studios, Paris) | |
| 13. | "Knives Out" (live at Canal+ Studios, Paris) | |
| 14. | "Pyramid Song" (live at Canal+ Studios, Paris) | |
| 15. | "Like Spinning Plates" (live) |
Page redirect
Hard redirect:
#REDIRECT [[target page]]
See e.g. Tcm, which raw text is:
- #REDIRECT [[TCM]] {{R from other capitalisation}}
Template can vary depending on reason for redirect, e.g.
- #REDIRECT [[Heart (band)#1991–2001: Hiatus and Lovemongers]] {{R to section}}
Template: Not verified in body -- for lead sections
Template: Not verified in body -- for unverified stuff in lead sections that otherwise accurately follow/summarize article body
Citation needed templates...
CN with text span: Template CN with parameters
Use Template:Citation needed as, e.g., from Muscle Shoals, Alabama (version: ):
this:
Like other areas along waterways, this was important to indigenous peoples for {{cn span|thousands of years.|date=February 2022}} The area...
gives:
Like other areas along waterways, this was important to indigenous peoples for thousands of years.[citation needed] The area...
CN with text span: seemingly dedicated template
Template:Citation needed span: Indicates (with light pink background) precisely the span of text to which a fact-tag applies. Don't subst. Shortcuts: {{cn-span}}; {{cns}}
CN for lead mat'l not verified in body
Interesting note template
To list a bunch of refs: {{#tag:ref|See <ref>Ref1</ref><ref>Ref2</ref>|group=lower-alpha}}
See lede of Jonny Greenwood or this stable version.
- For some reason -- in the article but not here -- hovering over the "a" note shows the ref numbers.
- Need both reflist and a special reflist specific to this template -- see ref section below.
Greenwood is consistently named as one of the greatest guitarists of the modern era.[a]
Making footnotes
Creating a new footnote
As just below; example diff at LFTR
Easily converting article text into a footnote
Where there's article text that would better be footnoted, do this:
{{refn | group=n | name= "call-it-what-you-want" | (...whatever text, incl refs & templates, which can be embedded...) }}
and add this at bottom:
==Notes==
{{reflist | group=n}}
Or just use "efn |" and "Notelist" as above (n.b.: is above deprecated?).