Difference between revisions of "Template:Citeq"

From questden
(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.)
(Support board override)
Line 4: Line 4:
 
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><includeonly><sup>[http://tgchan.org/kusaba/quest/res/{{{thread}}}.html#{{{post}}} <nowiki>[</nowiki>ref<nowiki>]</nowiki>]</sup></includeonly>
+
You can also specify an optional <code>board</code> argument, e.g. <code>board=questdis</code>.
 +
 
 +
</noinclude><includeonly><sup>[http://tgchan.org/kusaba/{{{board|quest}}}/res/{{{thread}}}.html#{{{post}}} <nowiki>[</nowiki>ref<nowiki>]</nowiki>]</sup></includeonly>

Revision as of 22:02, 18 November 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.

You can also specify an optional board argument, e.g. board=questdis.