Jump to content

Template:Cite web: Difference between revisions

updated usage section. removed boolor call
m>The Cunctator
(Putting usage in template)
m>Ligulem
(updated usage section. removed boolor call)
Line 36: Line 36:
   |then= ({{{year|}}})
   |then= ({{{year|}}})
}}{{qif
}}{{qif
   |test={{boolor
   |test={{{author|}}}{{{year|}}}
    |1={{{author|}}}
    |2={{{year|}}}}}
   |then=.}}{{qif
   |then=.}}{{qif
   |test={{booland
   |test={{booland
Line 63: Line 61:
== Usage ==
== Usage ==
  '''<nowiki>{{cite web
  '''<nowiki>{{cite web
  | author =  
  | last =
| first =
| authorlink =
| coauthors =  
  | year =  
  | year =  
  | url =  
  | url =  
Line 82: Line 83:
=== Optional parameters ===
=== Optional parameters ===
* '''author''': Author
* '''author''': Author
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article
** '''coauthors''': allows additional authors
* '''year''': Date published.
* '''year''': Date published.
* '''format''': Format, i.e. PDF.  HTML implied if not specified.
* '''format''': Format, i.e. PDF.  HTML implied if not specified.
* '''work''': If this item is part of a larger work, name of that work.
* '''work''': If this item is part of a larger work, name of that work.
* '''publisher''': Publisher, if any.
* '''publisher''': Publisher, if any.


{{esoteric}}
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Citation templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.