Template:Citeq: Difference between revisions

From questden
Jump to navigationJump to search
(Forgot TLD, add usage)
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
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>
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.