Jump to content

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?

[edit]

Two commas or none

Citation templates

[edit]

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

[edit]

Provide a page number for a reference.
[ref]{{rp|37}}
gives
[ref]: 37 

[edit]

Special:Diff/older-id/newer-id

[edit]

"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

[edit]

To show this...

... 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

[edit]

Size

[edit]
  • <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

[edit]
  • <ins>Underlining</ins> ==> Underlining

Font and color

[edit]
  • 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
gives
purple text
and so on for various other colors.

Hard return

[edit]

"<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

Image e.g.

[edit]

The "Tesla's famous telegram image" is under this section, and not under the "how to keep images...." section just below.

Maček's telegram to Tesla
Tesla's telegram to Maček
Tesla's famous telegram exchange with Vladko Maček is preserved in the Technical Museum in Zagreb, Croatia

How to keep images in a given section?

[edit]

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

[edit]

Tracklisting examples

[edit]

Table of Contents

[edit]

Forcing addition of TOC

[edit]

Put __TOC__ above sections

Linking to a section in absence of TOC

[edit]

Just put in # after URL followed by the title of the section, with underlines replacing spaces between words

[edit]

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

[edit]

<!--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

[edit]

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

[edit]

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

[edit]

use <pre> ...(text here)... </pre>
as at Reese's Puffs:
here (permalink)

Template:spaced ndash

[edit]

Hey{{spaced ndash}}check this out

Hey – check this out

also

Hey{{--}}check this out

Hey—check this out



Template:Outdent

[edit]

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

[edit]

<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

He shoots, he scores, he falls wanking to the floor on this boldly experimental jazz odyssey.

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

[edit]

{{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

[edit]

{{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)
The discussion above 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.



More hiding text with Template:Track listing

[edit]

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:

"Special Collectors Edition" Disc 2
No.TitleLength
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

[edit]

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

[edit]

Template: Not verified in body -- for unverified stuff in lead sections that otherwise accurately follow/summarize article body

Citation needed templates...

[edit]

CN with text span: Template CN with parameters

[edit]

Use Template:Citation needed as, e.g., from Muscle Shoals, Alabama (version: [1]):

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

[edit]

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

[edit]

use Template:Not verified in body

Interesting note template

[edit]

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

[edit]

Creating a new footnote

[edit]

As just below; example diff at LFTR

Easily converting article text into a footnote

[edit]

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}}

example diff

Or just use "efn |" and "Notelist" as above (n.b.: is above deprecated?). [2]

Tables of band members &c.

[edit]

See diff of my Meat Puppets edit

Ref section: embedding; keeping refs under one subheader on talk page

[edit]

NOTE - needs revising; ain't subheader-specific (anymore?). --23:43, 10 September 2022 (UTC)

h/t User:MrBill13 at Talk:Acupuncture

Embedding refs in a section, and keeping refs under ref tag rather than in article

how it looks

[edit]
Ernst is not the only person to comment on Vicker's meta-analyis. Which of these comments, published in JAMA Internal Medicine, warrant inclusion? An "Invited Commentary" (this seems to give some weight) by Andrew L. Alvins, Needling the status quo: Comment on “Acupuncture for chronic pain” which has the text, "The conclusion that most of acupuncture's observed clinical is mediated by placebo effects..." and "...critics correctly note that a new pharmaceutical agent that fails to show superiority over placebo will not be approved. Why should the bar be lowered for acupuncture?"[9] Placing acupuncture in perspective by Ziegelstein which questions the lack of context in comparison of effect size (and has another point behind the paywall).[10] Acupuncture's elephant in the room by Barrett and London which points out the difference between study and practice[11] as does Complexity of sham acupuncture (Huang et al.) which also notes some issues with the sham controls.[12]
In terms of weight Vicker's reply to Ernst mentioned ONLY ONE study among those in the meta-analysis this does not support the entire analysis as using double blinded studies that overcome the placebo effect. As above Alvins seems to have the same opinion as Ernst. I know in general we use substantially stronger MEDRS but criticism of the meta-analysis published in the journal which published it seems applicable. Note Vickers also had a reply in JAMA Internal Medicine to the above (I don't have access to it right now).
Regarding the balance of meta analysis vs Ernst's commentary I think you have a valid point we should be able to reach some consensus on editing down the material from Ernst. I do think material in the notes section should be allowed but I remain open to input on that (everything else too for that matter).
refs
  1. ^ "Rolling Stone's "The 100 Greatest Guitarists of All Time" Do you agree?". The Insider. Retrieved 2010-05-17.
  2. ^ The 50 Greatest Guitarists... Ever!. Gigwise. Retrieved 26 June 2010.
  3. ^ Top ten greatest guitarists of all time. Virgin Media. Retrieved 26 June 2010.
  4. ^ "The Axe Factor". BBC. Retrieved 26 June 2010.
  5. ^ "Top 50 Guitarists of All Time". Gibson.com. Retrieved 21 September 2010.
  6. ^ "100 Greatest Guitarists: Jonny Greenwood". Retrieved 2011-12-01.
  7. ^ http://www.spin.com/articles/spins-100-greatest-guitarists-all-time?page=7
  8. ^ http://www.bbc.co.uk/6music/events/theaxefactor/
  9. ^ Alvins, AL (2012). "Needling the status quo: Comment on 'Acupuncture for chronic pain'". Invited commentary. JAMA Internal Medicine. 172 (19): 1454–5. doi:10.1001/archinternmed.2012.4198. PMID 22965282.
  10. ^ Ziegelstein, RC (2013). "Placing acupuncture in perspective". Editor's correspondence. JAMA Internal Medicine. 173 (8): 713–4. doi:10.1001/jamainternmed.2013.3785. PMID 23609578.
  11. ^ Barrett, S; London, WM (2013). "Acupuncture's elephant in the room". Editor's correspondence. JAMA Internal Medicine. 173 (8): 712–3. doi:10.1001/jamainternmed.2013.3743. PMID 23609576.
  12. ^ Huang, W; Kutner, N; Bliwise, D (2013). "Complexity of sham acupuncture". Editor's correspondence. JAMA Internal Medicine. 173 (8): 713. doi:10.1001/jamainternmed.2013.3782. PMID 23609577.

how it's done -- with nowiki (just 1st two refs shown)

[edit]

<nowiki> {{reflist|close=m|refs= <ref name= "Alvins2012">{{cite journal |last= Alvins |first= AL |title= Needling the status quo: Comment on 'Acupuncture for chronic pain' |department= Invited commentary |journal= JAMA Internal Medicine |year= 2012 |volume= 172 |issue= 19 |pages= 1454-5 |pmid= 22965282 |doi= 10.1001/archinternmed.2012.4198}}</ref> <ref name= "Ziegelstein2013">{{cite journal |last= Ziegelstein |first= RC |title= Placing acupuncture in perspective |department= Editor's correspondence |journal= JAMA Internal Medicine |year= 2013 |volume= 173 |issue= 8 |pages= 713-4 |doi= 10.1001/jamainternmed.2013.3785 |pmid= 23609578}}</ref> }} </nowiki>

Tree List

[edit]

From Martin Kulldorff, used in infobox template.

{{Tree list}} * [[Mathematical sciences]] ** [[Operations research]] {{tree list/end}}

gives

References &c.

[edit]
[edit]

Reflinks bot -- adds {{citeweb}} to pages with bare url's (latter presumably inside ref tags, but dunno): WP:REFLINKS

Reflist and references

[edit]

Need {{Reflist}} or <references/> ...using former

Need to use {{Reflist|group=lower-alpha}} or <references group="lower-alpha"/> ... using former

Notes, and refs at bottom

[edit]

e.g., see Eris (dwarf planet)

Harvard numbering

[edit]

e.g. Nicola Tesla

Seifer 2001, p. 18

Other kinds of refs

[edit]

See Ram (album) for "n.b." type refs -- adding a parenthetical-type comment that also cites a ref. Specific template.

Template: Reference page (redux)

[edit]

Provide a page number for a reference. [ref]{{rp|37}}
gives
[ref]: 37 

Template:SuperScriptLinked

[edit]

How did I do the example ref immediately above?
{{SuperScriptLinked|example|ref}}
gives
[ref] Or, typical usage for humorous purposes:
{{SuperScriptLinked|sarcasm|sarcasm}}
gives
[sarcasm]

[edit]

Unfortunately, as of March 12 2015, Template:SuperScriptLinked effectively inserts a hard return, so:
Hello.{{SuperScriptLinked|sarcasm|sarcasm}} Hooray!
gives
Hello.[sarcasm] Hooray!

So its use is kinda limited. For sarcasm, instead use this with sarcasm already wikilinked):
<sup>''<nowiki>[sarcasm]</nowiki>

n.b - the above is the same as the following, except that one must add "nowiki" brackets around the outermost brackets so that the two inner pairs will generate a wikilink:
<sup>[[[sarcasm]]]</sup>

so, do this:
Hello.<sup>''<nowiki>[sarcasm] Hooray!</nowiki>
which, after making the wl for "sarcasm", gives
Hello.[sarcasm] Hooray!

For the exact text to copy -- which I can't show here owing to embedded nowiki tags recursing in an undesired way-- open !special section and copy/paste from it:

!special section

[edit]

without space, looks fine, but must copy-paste from raw wikitext:

[sarcasm]

end !special section

One can avoid having to open the above special section by inserting a space between the outermost brackets and the inner two generating the wikilink, and then remove the spaces when pasting (or, just use as is, if one doesn't mind the result looking less tight):
Hello.<sup>''[ [[sarcasm]] ]''</sup> Hooray!
which gives
Hello.[ sarcasm ] Hooray!

Subscript

[edit]

Predictable from superscript, i.e. <sup>, above...
H<sub>2</sub>O
gives
H2O



User Preferences

[edit]

General: WP:CUSTOM

Signature

[edit]

See WP:SIG#CustomSig. Link for changing signature: Special:Preferences; change the field "Signature".