Difference between revisions of "Template:Cite blog/Documentation"

From GodWiki
Jump to navigation Jump to search
m (Rapid documentation of parameters, including the new |page= parameter.)
m ("page number", singular. (Pretty sure you can't link to multiple pages. :-D ))
Line 13: Line 13:
 
:The blog post name, if you want it displayed in the citation text.
 
:The blog post name, if you want it displayed in the citation text.
  
;{{para|page|<var>page numbers</var>}}
+
;{{para|page|<var>page number</var>}}
 
:If supplied, the link will link to the specified page of comments, and the citation text will include a reference to comments page specified.
 
:If supplied, the link will link to the specified page of comments, and the citation text will include a reference to comments page specified.
  

Revision as of 02:46, 5 January 2019

Description

A convenience template for citing or referencing Godville Blog posts in Godwiki articles.

Usage

Simply provide the number of the blog post being referenced, and the mention will be formatted and linked to that post. If you omit the post number, it will create a general link to the blog.

Parameters

First unnamed parameter
The blog post number.
Second unnamed parameter
The blog post name, if you want it displayed in the citation text.
|page=page number
If supplied, the link will link to the specified page of comments, and the citation text will include a reference to comments page specified.

Examples

Wikicode Renders as
{{Cite blog|89|Bingo!}} Godville Blog, post 89: Bingo!
{{Cite blog|117}} Godville Blog, post 117
{{Cite blog}} Godville Blog

The template is especially useful in citations (hence the name).

This code
Strange things are afoot in the world of Godville!<ref>{{Cite blog|1|Greetings!}}</ref>

==References==
<references/>
will be presented as

Strange things are afoot in the world of Godville![1]

References