Difference between revisions of "Template:Citeq"

From questden
(Forgot TLD, add usage)
(Showing the post number is kind of pointless and just makes this noiser. Removing. Also don't give demo that will be an invalid URL.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template cites a quest (or questarch) thread as a source. At the moment it doesn't do the whole Mediawiki references dance and just tries to make a link to the post. It needs to know the thread number as well as the post number to do this.
+
This template cites a quest (or questarch) thread as a source. At the moment it doesn't do the whole Mediawiki references dance (those need [http://www.mediawiki.org/wiki/Extension:Cite/Cite.php an extension]) and just tries to make a link to the post. It needs to know the thread number as well as the post number to do this.
  
 
Usage: <code><nowiki>{{citeq|thread=N|post=M}}</nowiki></code> where N is the first post of the thread.
 
Usage: <code><nowiki>{{citeq|thread=N|post=M}}</nowiki></code> where N is the first post of the thread.
  
</noinclude><sup>[http://tgchan.org/kusaba/quest/res/{{{thread}}}.html#{{{post}}} <nowiki>[</nowiki>{{{post}}}<nowiki>]</nowiki>]</sup>
+
</noinclude><includeonly><sup>[http://tgchan.org/kusaba/quest/res/{{{thread}}}.html#{{{post}}} <nowiki>[</nowiki>ref<nowiki>]</nowiki>]</sup></includeonly>

Revision as of 14:27, 1 October 2010

This template cites a quest (or questarch) thread as a source. At the moment it doesn't do the whole Mediawiki references dance (those need an extension) and just tries to make a link to the post. It needs to know the thread number as well as the post number to do this.

Usage: {{citeq|thread=N|post=M}} where N is the first post of the thread.