Difference between revisions of "Template:Twg ref"

From The Coppermind
Jump to navigation Jump to search
m
(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 16:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><br><small> &mdash; [[TimeWasters Guide]] forum - {{#if:{{{date|}}}|{{{date}}}|{{ref/date}}|}}</small><!--
+
--><br><small> &mdash; [[TimeWasters Guide]] forum - {{{date}}}</small><!--
   
 
NAME
 
NAME

Revision as of 12:54, 16 December 2014

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

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

  • {{{url}}} replaces the URL
  • {{{text}}} replaces the text
  • {{{date}}} is the facts publication date (yyyy-mm-dd)
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
  • {{{group}}} sets the reference group