Difference between revisions of "Template:Twg ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|}}}<!--
+
-->|<!--
  +
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
 
-->{{{pre|}}}<!--
   
 
-->[http://twg.17thshard.com/{{{link|index.php?topic={{{1}}}|}}} {{{text|{{{2}}}|}}}]<!--
 
-->[http://twg.17thshard.com/{{{link|index.php?topic={{{1}}}|}}} {{{text|{{{2}}}|}}}]<!--
   
 
-->{{{post|}}}<!--
--><br><small> &mdash; [[TimeWasters Guide]] forum - {{{date}}}</small><!--
 
  +
-->{{{post|}}}<!--
 
 
--><br><small> &mdash; [[TimeWasters Guide]] forum - {{{date|{{ref/date}}|}}}</small><!--
   
 
NAME
 
NAME
Line 15: Line 20:
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   
-->}}<!--
 
 
-->{{#if:{{{text|}}}{{{2|}}}<!--
 
only applied when text has been entered
 
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!--
 
only applied when no text is entered
 
-->|<!--
 
 
-->}}<!--
 
-->}}<!--
   

Revision as of 13:23, 14 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