Template:Cite web: Difference between revisions

    From Nonbinary Wiki
    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>

    Revision as of 19:00, 2 March 2006

    Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif This template is a simpler replacement for template:web reference. It provides lower case parameters only.

    Usage

    {{cite web
     | last = 
     | first = 
     | authorlink = 
     | coauthors = 
     | year = 
     | url = 
     | title = 
     | format = 
     | work = 
     | publisher = 
     | accessdate = 
     | accessyear = 
    }}
    

    Required parameters

    • url: URL of online item.
    • title: Title of online item.
    • accessdate: Date (Month Day) when item was accessed. Should be ISO 8601 YYYY-MM-DD format.
      • accessyear: Year when item was accessed. (Optional if ISO 8601 date used)

    Optional parameters

    • author: Author
      • last works with first to produce last, first
      • authorlink works either with author or with last & first to link to the appropriate article
      • coauthors: allows additional authors
    • year: Date published.
    • format: Format, i.e. PDF. HTML implied if not specified.
    • work: If this item is part of a larger work, name of that work.
    • publisher: Publisher, if any.


    Template:Esoteric