Template:Post: Difference between revisions

From questden
Jump to navigationJump to search
(Easier if I don't name the caption parameter.)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
The <tt>board</tt> parameter is used to specify the board of the post.  The default is questdis.
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></noinclude><includeonly>[http://tgchan.org/kusaba/thread-for/{{{board|questdis}}}/{{{1}}} {{{2|}}}]</includeonly>
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 21: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