User:NapoliRoma/ref-templates

From Wikipedia, the free encyclopedia

template:cite web[edit]

<ref>{{cite web
  |url = 
  |title = 
  |access-date = 2024-05-05
  |author = 
  |last = 
  |first = 
  |authorlink = 
  |coauthors = 
  |date = 
  |work = 
  |publisher = 
  |website = 
  |pages = 
  |quote = 
}}</ref>
  |archive-url = 
  |archive-date = 
  |access-date = 2024-05-05
  |url-status = live / unfit / usurped

(url-status is "dead" by default)

template:cite press release[edit]

<ref>{{cite press release
  |url = 
  |title = 
  |access-date = 2024-05-05
  |date = 
  |publisher = 
  |quote = 
}}</ref>

template:cite newsgroup[edit]

<ref>{{cite newsgroup 
  | title = 
  | author = 
  | date = 
  | newsgroup = 
  | url = 
  | access-date = 2024-05-05
}}</ref>

template:cite news[edit]

<ref>{{cite news
 | authorlink = 
 | author1 = 
 | author2 = 
 | title = 
 | url = 
 | work = 
 | publisher = 
 | pages = 
 | page = 
 | date = 
 | access-date = 2024-05-05
 | quote = 
}}</ref>

template:cite book[edit]

<ref>{{cite book
 |last1       = 
 |first1      = 
 |last2       = 
 |first2      = 
 |authorlink1 = 
 |authorlink2 = 
 |date        = 
 |title       = 
 |publisher   = 
 |isbn        = 
 |quote       = 
}}</ref>

template:cite gnis[edit]

<ref>{{cite gnis
 |id          = 
 |name        = 
 |access-date = 2024-05-05
}}</ref>

template:dead link[edit]

Place immediately before </ref>:

{{dead link|date=May 2024}}

Haven't rolled my own yet[edit]

Succession box[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[edit]

{{webarchive
 |url = 
 |date = 
 |title = 
}}

Multiple issues[edit]

{{Multiple issues|
 {{Primary sources|date=May 2024}}
 {{Ambox|date=May 2024}}
}}

template:inflation[edit]

(equivalent to ${{format price|{{inflation|US-GDP|NNNN|YYYY|r=-5}}}} in {{inflation/year|US-GDP}}).{{inflation/fn|US-GDP}}

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:LEADSENTENCE]], [[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.

Vandalism template[edit]

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