Difference between revisions of "Template:Twg ref"

m (woops)
m (Text replacement - "category: sources [[" to "[[")
 
(17 intermediate revisions by one other user not shown)
Line 2: Line 2:


TEXT
TEXT
-->|{{{pre|}}}<!--
-->|<!--


-->[http://twg.17thshard.com/{{{link|index.php?topic={{{1}}}|}}} {{{text|{{{2}}}|}}}]<!--
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--


-->{{#if:{{{text|{{{3|}}}|}}}<!--
--> - [[TimeWasters Guide]] forum - <small>{{{date}}}</small><!--
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
-->{{{post|}}}<!--
-->|<!--
-->}}<!--

-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--

-->[http://twg.17thshard.com/{{{link|index.php?topic={{{1}}}.msg{{{2}}}#msg{{{2}}}|}}} {{{text|{{{3}}}|}}}]<!--

-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--

--><br><small> &mdash; [[Timewasters Guide]] forum - {{{date}}}</small><!--

-->{{tracking link|Cite: twg/{{{link|{{{1}}}-{{{2}}}|}}}|}}<!--


NAME
NAME
-->|name={{{name|twg-{{{date|{{{1}}}|}}}|}}}<!--
-->|name={{{name|twg-{{{1}}}-{{{2}}}|}}}<!--


GROUP
GROUP
-->|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
-->|<!--
-->}}<!--
-->}}<!--


Line 27: Line 32:
This template is used to refer to posts on the [[Timewasters Guide]] forum.
This template is used to refer to posts on the [[Timewasters Guide]] forum.


To use, include {{t|twg ref|topic|description}}
To use, include {{t|twg ref|topic|post|description|5=date=}}.
* {{{url}}} replaces the URL
* {{{link}}} replaces the generated post url
* {{{text}}} replaces the text
* {{{text}}} replaces the text
* {{{date}}} is the facts publication date (yyyy-mm-dd)
* {{{date}}} is the post date
* {{{pre}}} is included before the link
* {{{pre}}} is included before the link
* {{{post}}} is included after the link
* {{{post}}} is included after the link
* {{{name}}} replaces {{{text}}} or {{{2}}} as the reference name
* {{{name}}} replaces the generated reference name (currently <tt>twg-{{{1}}}-{{{2}}}</tt> )
* {{{group}}} sets the reference group
* {{{group}}} sets the reference group


Example: to link to [http://twg.17thshard.com/index.php?topic=6655.msg129376#msg129376 6655.msg129376#msg129376] try {{t|twg ref|6655|129376}}
[[Category: Sources]]

[[Category: Reference templates]]
[[category: reference templates]]

== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 05:42, 22 May 2022

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

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

  • {{{link}}} replaces the generated post url
  • {{{text}}} replaces the text
  • {{{date}}} is the post date
  • {{{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}}

Articles using TemplateEdit