Difference between revisions of "Template:Twg ref"
Jump to navigation
Jump to search
(fix) |
(try) |
||
Line 5: | Line 5: | ||
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!-- |
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!-- |
||
− | -->{{#if:{{{text|{{{2}}}|}}}<!-- |
||
− | -->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!-- |
||
− | -->|<!-- |
||
− | -->}}<!-- |
||
-->{{{pre|}}}<!-- |
-->{{{pre|}}}<!-- |
||
− | -->[http://twg.17thshard.com/{{{link|index.php?topic={{{1}}}|}}} {{{text|{{{ |
+ | -->[http://twg.17thshard.com/{{{link|index.php?topic={{{1}}}.msg{{{2}}}#msg{{{2}}}|}}} {{{text|{{{3}}}|}}}]<!-- |
-->{{{post|}}}<!-- |
-->{{{post|}}}<!-- |
||
− | --><br><small> — [[TimeWasters Guide]] forum - {{{date}}}</small><!-- |
+ | --><br><small> — [[TimeWasters Guide]] forum - {{{date|{{ref/broken|ref/date}}|}}}</small><!-- |
NAME |
NAME |
||
− | -->|name={{{name|twg- |
+ | -->|name={{{name|twg-{{{1}}}-{{{2}}}|}}}<!-- |
GROUP |
GROUP |
||
Line 29: | Line 25: | ||
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}}. |
− | * {{{ |
+ | * {{{link}}} replaces the generated post url |
* {{{text}}} replaces the text |
* {{{text}}} replaces the text |
||
− | * {{{date}}} is the |
+ | * {{{date}}} is the post date (yyyy-mm-dd) |
* {{{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 {{{ |
+ | * {{{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: Sources]] |
Revision as of 13:05, 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}}