Difference between revisions of "Template:Zdforums"
From DoomWiki.org
m |
m (zdoom.org now uses HTTPS by default) |
||
Line 1: | Line 1: | ||
− | <includeonly>[ | + | <includeonly>[https://forum.zdoom.org/viewtopic.php?{{#if:{{{2|}}}|t={{{1}}} {{{2}}}|{{#if:{{{f|}}}|f={{{f}}}&}}{{#if:{{{t|}}}|t={{{t}}}&}}{{#if:{{{p|}}}|p={{{p}}}}} {{{1|ZDoom forum thread}}}}}]</includeonly><noinclude> |
Creates a link to a thread over the [[ZDoom]] forums. | Creates a link to a thread over the [[ZDoom]] forums. | ||
Line 7: | Line 7: | ||
where ''somenumber'' is the thread ID and ''somename'' the thread title or the name you want to give to the link. The thread ID is a number unique to each thread. For example, in this URL: | where ''somenumber'' is the thread ID and ''somename'' the thread title or the name you want to give to the link. The thread ID is a number unique to each thread. For example, in this URL: | ||
− | : <tt><nowiki> | + | : <tt><nowiki>https://forum.zdoom.org/viewtopic.php?f=4&t=20573</nowiki></tt> |
the thread ID is 20573. | the thread ID is 20573. | ||
*If no title is given, the template uses a generic "ZDoom forums thread" title. | *If no title is given, the template uses a generic "ZDoom forums thread" title. | ||
[[Category:External link templates]]</noinclude> | [[Category:External link templates]]</noinclude> |
Revision as of 10:45, 23 June 2017
Creates a link to a thread over the ZDoom forums.
Usage
- {{zdforums|t=somenumber|somename}}
- {{zdforums|somenumber|somename}}
where somenumber is the thread ID and somename the thread title or the name you want to give to the link. The thread ID is a number unique to each thread. For example, in this URL:
- https://forum.zdoom.org/viewtopic.php?f=4&t=20573
the thread ID is 20573.
- If no title is given, the template uses a generic "ZDoom forums thread" title.