Template:Citeq: Difference between revisions

From questden
Jump to navigationJump to search
(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.)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
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>]{{#if:{{{thread|}}}|{{#if:{{{post|}}}||<span style="color: red">POST MISSING</span>}}|<span style="color: red">THREAD MISSING</span>}}</sup></includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:12, 16 October 2015

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.