Template:Citeq: Difference between revisions
From questden
Jump to navigationJump to search
(Making this complain if the arguments are missing, since that'll cause broken links.) |
mNo edit summary |
||
Line 6: | Line 6: | ||
You can also specify an optional <code>board</code> argument, e.g. <code>board=questdis</code>. | 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><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
.