User:NapoliRoma/ref-templates

From Wikipedia, the free encyclopedia

Contents

[edit] template:cite web

<ref>{{cite web
  |url = 
  |title = 
  |accessdate = 2008-06-08
  |author = 
  |last = 
  |first = 
  |authorlink = 
  |coauthors = 
  |date = 
  |work = 
  |publisher = 
  |pages = 
  |quote = 
}}</ref>

[edit] template:cite press release

<ref>{{cite press release
  |url = 
  |title = 
  |accessdate = 2008-06-08
  |date = 
  |publisher = 
  |quote = 
}}</ref>

[edit] template:cite newsgroup

<ref>{{cite newsgroup 
  | title = 
  | author = 
  | date = 
  | newsgroup = 
  | url = 
  | accessdate = 2008-06-08
}}</ref>

[edit] template:cite news

<ref>{{cite news
  | authorlink = 
  | author = 
  | coauthors = 
  | title = 
  | url = 
  | work = 
  | publisher = 
  | pages = 
  | page = 
  | date = 
  | accessdate = 2008-06-08
  | quote = 
}}</ref>

[edit] Haven't rolled my own yet

[edit] Succession box

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
Jonathan Schwartz
Preceded by
Scott McNealy
President of Sun Microsystems
1999 - 2002
Succeeded by
Scott McNealy
Preceded by
Christopher Galvin
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]]

[edit] A common summary

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

[edit] Vandalism template

==Warnings==
===June 2008===
#{{subst:uw-vandalism1|NeXT}}--~~~~