Difference between revisions of "Template:Twg ref"

From The Coppermind
Jump to navigation Jump to search
(try)
(try])
Line 5: Line 5:
   
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
  +
-->{{#if:{{{text|{{{2|}}}|}}}<!--
  +
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
  +
-->|<!--
  +
-->}}<!--
   
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--
Line 12: Line 17:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><br><small> &mdash; [[TimeWasters Guide]] forum - {{{date|{{ref/broken|ref/date}}|}}}</small><!--
+
--><br><small> &mdash; [[TimeWasters Guide]] forum - {{{date}}}</small><!--
   
 
NAME
 
NAME

Revision as of 13:07, 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}}