Difference between revisions of "Template:Twg ref"

From The Coppermind
Jump to navigation Jump to search
(try])
(moved parameters)
Line 6: Line 6:
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
   
-->{{#if:{{{text|{{{2|}}}|}}}<!--
+
-->{{#if:{{{text|{{{3|}}}|}}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
 
-->|<!--
 
-->|<!--

Revision as of 13:08, 16 December 2014

This template is used to refer to posts on the Timewasters Guide forum.

To use, include {{twg ref|topic|post|description}}.

  • {{{link}}} replaces the generated post url
  • {{{text}}} replaces the text
  • {{{date}}} is the post date (yyyy-mm-dd)
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name (currently twg-{{{1}}}-{{{2}}} )
  • {{{group}}} sets the reference group

Example: to link to 6655.msg129376#msg129376 try {{twg ref|6655|129376}}