Jump to content

User:NapoliRoma/ref-templates

From Wikipedia, the free encyclopedia
<ref>{{cite web
  |url = 
  |title = 
  |website = 
  |access-date = 2024-11-21
  |author = 
  |last = 
  |first = 
  |authorlink = 
  |coauthors = 
  |date = 
  |publisher = 
  |pages = 
  |quote = 
}}</ref>
  |archive-url = 
  |archive-date = 
  |access-date = 2024-11-21
  |url-status = live / unfit / usurped

(url-status is "dead" by default)

<ref>{{cite press release
  |url = 
  |title = 
  |access-date = 2024-11-21
  |date = 
  |publisher = 
  |quote = 
}}</ref>
<ref>{{cite newsgroup 
  | title = 
  | author = 
  | date = 
  | newsgroup = 
  | url = 
  | access-date = 2024-11-21
}}</ref>
<ref>{{cite news
 | authorlink = 
 | author1 = 
 | author2 = 
 | title = 
 | url = 
 | work = 
 | publisher = 
 | pages = 
 | page = 
 | date = 
 | access-date = 2024-11-21
 | quote = 
}}</ref>
<ref>{{cite book
 |last1       = 
 |first1      = 
 |last2       = 
 |first2      = 
 |authorlink1 = 
 |authorlink2 = 
 |date        = 
 |title       = 
 |publisher   = 
 |isbn        = 
 |quote       = 
}}</ref>
<ref>{{cite gnis
 |id          = 
 |name        = 
 |access-date = 2024-11-21
}}</ref>

Place immediately before </ref>:

{{dead link|date=November 2024}}

Haven't rolled my own yet

[edit]

Not a ref template, but let's play...

Example, for Ed Zander prior to 2008:

{{s-start}}
 {{s-new}}
 {{s-ttl|title = COO of [[Sun Microsystems]]
   |years = 1998 - 2002}}
 {{s-aft|after = [[Jonathan I. Schwartz|Jonathan Schwartz]]}}

 {{s-bef|before = [[Scott McNealy]]}}
 {{s-ttl|title = President of Sun&nbsp;Microsystems
   |years = 1999 - 2002}}
 {{s-aft|after = [[Scott McNealy]]}}

 {{s-bef|before = [[Christopher Galvin]]}}
 {{s-ttl|title = CEO of [[Motorola]]
   |years = 2004 - present}}
 {{s-inc}}
{{s-end}}

Produces

New title COO of Sun Microsystems
1998 - 2002
Succeeded by
Preceded by President of Sun Microsystems
1999 - 2002
Succeeded by
Preceded by CEO of Motorola
2004 - present
Incumbent

Some example parameters:

 {{s-new|first|reason=None recognized before}}
 {{s-inc|recent}}

And I could summarize:

Switch from succession box to [[template:s-start]]
{{webarchive
 |url = 
 |date = 
 |title = 
}}
{{Multiple issues|
 {{Primary sources|date=November 2024}}
 {{Ambox|date=November 2024}}
}}
(equivalent to ${{format price|{{inflation|US-GDP|NNNN|YYYY|r=-5}}}} in {{inflation/year|US-GDP}}).{{inflation/fn|US-GDP}}
[edit]
[[special:diff/oldid|oldid]]

See help:diff#Linking to a diff.

Common summaries

[edit]

rv good faith edit, but "avoiding redirs" is neither necessary nor desirable: see [[Wikipedia:Redirect#Do not "fix" links to redirects that are not broken]]

rv good faith edit, but see [[WP:MOSDAB]] - only one navigable link per line on disambiguation pages

-bolding in lead, per [[WP:BOLDTITLE]], [[WP:LEADSENTENCE]]

-redundant use of article name in section names, per [[MOS:NOBACKREF]]

-redundant material unnecessary for disambiguation, per [[MOS:DABENTRY]]

Fix "This is a list" ([[MOS:THISISALIST]], [[WP:BOLDTITLE]]); this also fixes [[WP:TITLEABSENTBOLD]] as collateral undamage

[[WP:SOB]]/[[WP:SPECIFICLINK]] fixes

Remove redlink from "See also", since you can't also see it ([[MOS:SEEALSO]])

[[MOS:TENSE]] fix -- even discontinued products should be in present tense (although past actions are of course in past tense).

[[WP:SDNOTDEF]] fix -- avoid repeating elements in the title; [[WP:SDNONE]] seems most appropriate here.

Red links are not bad per se; see [[WP:REDLINK]]. "Only remove red links if Wikipedia should not have an article on the subject" is a reasonable rule of thumb.

==Warnings==
===November 2024===
#{{subst:uw-vandalism1|NeXT}}--~~~~

{{Redirect category shell|
{{R from fictional character}}
{{R to section}}
}}

Parking lot

[edit]