Template:CiteGeneral/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} __NOTOC__ This template is used to cite sources. It is specifically for web sites. ==Usage== ;Common form for cases where little is known about authorship of the page (with current date) <code><nowiki>{{CiteGeneral|url=|title=|accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki>}}</nowiki></code> ;Using author (with current date) <code><nowiki>{{CiteGeneral|url=|title=|author=|date=|acces...")
 
No edit summary
 
Line 26: Line 26:
|work =
|work =
|publisher =
|publisher =
|mw.pages =
|pages =
|language =
|language =
|archiveurl =
|archiveurl =

Latest revision as of 11:32, 17 October 2024

This is a documentation subpage for Template:CiteGeneral.
It contains usage information, categories, and other content that is not part of the original template page.
Template:CiteGeneral invokes function generalref in Module:References using Lua.

This template is used to cite sources. It is specifically for web sites.

Usage

Common form for cases where little is known about authorship of the page (with current date)

{{CiteGeneral|url=|title=|accessdate=2024-11-28}}

Using author (with current date)

{{CiteGeneral|url=|title=|author=|date=|accessdate=2024-11-28|publisher=|archiveurl=|archivedate=|quote=}}

All parameters
{{CiteGeneral
|url = 
|title = 
|accessdate = 
|author = 
|last = 
|first = 
|authorlink = 
|coauthors = 
|date = 
|year = 
|month = 
|format = 
|work = 
|publisher = 
|pages = 
|language = 
|archiveurl = 
|archivedate = 
|quote = 
}}

Required parameters

  • url: URL of online item.
  • title: Title of online item.

Standard parameters

The following parameters are standard across all citation templates.

notes

Optional. This parameter allows you to add text beginning one space after the end of the citation. Having no formatting (meaning you will have to format it yourself), this area can be used for anything you require.

name

Optional. If you want to use this reference more than once, you must name it the first time you use it, then whenever you want to use it again, add {{NamedRef|name}} wherever you want it to re-appear.

group

Optional. This can be used to put the reference into a specific group, to separate it from other types of reference. See here for more on reference groups.