Difference between revisions of "Template:Post"

From questden
(Right, let's see if I can make this ITQ documenting thing faster / easier)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Creates a text link to a post on the board given the post number.
+
<noinclude>Creates a text link to a post on the board given the post number.
  
 
Useful for avoiding cluttering up the raw text of articles with walls of near identical urls.  Use [[Template:Citeq]] for citing posts.
 
Useful for avoiding cluttering up the raw text of articles with walls of near identical urls.  Use [[Template:Citeq]] for citing posts.
  
Functions very much like the [[Template:Fanart|fanart template]], with the same <tt>board</tt> and <tt>caption</tt> parameters.  The default board is questdis.</noinclude><includeonly>[http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}} {{{caption|}}}]</includeonly>
+
The <tt>board</tt> parameter is used to specify the board of the post.  The default is questdis.
 +
 
 +
The text of the link can be specified.  If not specified, it will default to a numbered link of the form <tt>[n]</tt>
 +
 
 +
==Examples==
 +
:{|
 +
| <code><nowiki>{{post|10}}</nowiki></code>
 +
| {{post|10}}
 +
|-
 +
| <code><nowiki>{{post|board=quest|171|Text}}</nowiki></code>
 +
| {{post|board=quest|171|Text}}
 +
|}
 +
 
 +
</noinclude><includeonly><span style="white-space:nowrap">[http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}} {{{2|}}}]</span></includeonly><noinclude>[[Category:Templates]]<noinclude>

Latest revision as of 22:29, 16 October 2015

Creates a text link to a post on the board given the post number.

Useful for avoiding cluttering up the raw text of articles with walls of near identical urls. Use Template:Citeq for citing posts.

The board parameter is used to specify the board of the post. The default is questdis.

The text of the link can be specified. If not specified, it will default to a numbered link of the form [n]

Examples

{{post|10}} [1]
{{post|board=quest|171|Text}} Text