Wikia

WoWWiki

Changes: Template:Blizzforumlink

Edit

Back to page

m (Formatted example)
m (Adding archiveurl as an option, so it supports forum archivers)
Line 2: Line 2:
 
:''For WoW-Europe forum links, use {{t|BlizzEUforumlink}}.''
 
:''For WoW-Europe forum links, use {{t|BlizzEUforumlink}}.''
 
----
 
----
'''''Usage:'''''<br />
+
'''''Usage:'''''
:&#123;&#123;blizzforumlink
+
{{col-begin}}
:&#124; ''topicid''=topicId <small>from forum link URL</small>
+
{{col-2}}
:&#124; ''postid''=postId <small>from forum link URL</small> ''optional''
+
:<nowiki>{{</nowiki>blizzforumlink
:&#124; ''sid''=sid <small>from forum link URL</small>
+
:{{!}} ''topicid''= <small>from URL</small>
:&#124; ''page''=pageNo <small>from forum link URL</small>
+
:{{!}} ''postid''= <small>from URL</small> ''optional''
:&#124; ''subject''=subject <small>from forum post</small>
+
:{{!}} ''sid''= <small>from URL</small>
:&#124; ''datetime''=date &amp; time <small>from forum post</small>
+
:{{!}} ''page''= <small>from URL</small>
:&#124; ''author''=author <small>from forum post</small>''
+
:{{!}} ''subject''= <small>post subject line</small>
:&#125;&#125;<br /><br />
+
:{{!}} ''datetime''= <small>post date, or post date and time</small>
  +
:{{!}} ''author''= <small>post author</small>''
  +
:<nowiki>}}</nowiki>
  +
 
''Assumes a base URL of [http://forums.worldofwarcraft.com/thread.html http://forums.worldofwarcraft.com/thread.html].''
 
''Assumes a base URL of [http://forums.worldofwarcraft.com/thread.html http://forums.worldofwarcraft.com/thread.html].''
  +
{{col-2}}
  +
--''OR''--
  +
:<nowiki>{{</nowiki>blizzforumlink
  +
:{{!}} ''archiveurl''= <small>URL of a forum archiver</small>
  +
:{{!}} ''subject''= <small>post subject line</small>
  +
:{{!}} ''datetime''= <small>post date, or post date and time</small>
  +
:{{!}} ''author''= <small>post author</small>
  +
:<nowiki>}}</nowiki>
  +
{{col-end}}
   
 
; Example
 
; Example
{{Example|<pre><nowiki>{{blizzforumlink|topicid=62062353|sid=1|subject=0. New Forums Opened!- 1/08/07|datetime=01/08/2007 12:53:07 PM PST|author=[[Image:Blizz.gif]] [[Nethaera]]}}</nowiki></pre>}}
+
{{Example|<pre><nowiki>{{blizzforumlink
  +
|topicid=62062353
  +
|sid=1
  +
|subject=0. New Forums Opened!- 1/08/07
  +
|datetime=01/08/2007 12:53:07 PM PST
  +
|author={{Blizz}} [[Nethaera]]
  +
}}
  +
{{blizzforumlink
  +
|archiveurl=http://blue.mmo-champion.com/23/17631614070-recent-ingame-fixes--6409.html
  +
|subject=Recent In-Game Fixes - 6/4/09
  +
|datetime=2009-06-09
  +
|author={{Blizz}} [[Crygil]]
  +
}}</nowiki></pre>}}
  +
 
; Yields
 
; Yields
{{Example|{{blizzforumlink|topicid=62062353|sid=1|subject=0. New Forums Opened!- 1/08/07|datetime=01/08/2007 12:53:07 PM PST|author=[[Image:Blizz.gif]] [[Nethaera]]}}}}
+
{{Example|{{blizzforumlink
  +
|topicid=62062353
  +
|sid=1
  +
|subject=0. New Forums Opened!- 1/08/07
  +
|datetime=01/08/2007 12:53:07 PM PST
  +
|author={{Blizz}} [[Nethaera]]
  +
}}
  +
{{blizzforumlink
  +
|archiveurl=http://blue.mmo-champion.com/23/17631614070-recent-ingame-fixes--6409.html
  +
|subject=Recent In-Game Fixes - 6/4/09
  +
|datetime=2009-06-09
  +
|author={{Blizz}} [[Crygil]]
  +
}}
  +
}}
   
 
[[Category:Navigation templates|{{PAGENAME}}]]
 
[[Category:Navigation templates|{{PAGENAME}}]]
Line 24: Line 33:
   
   
</noinclude>'''[http://forums.worldofwarcraft.com/thread.html?topicId={{{topicid|10001}}}&postId={{{postid|1}}}&pageNo={{{page|1}}}&sid={{{sid|1}}} <span class="speciallink">{{{subject|''#. Missing subject}}}</span>]''' &#124; <span style="font-size:x-small;">{{{datetime|''Unknown date &amp; time''}}}</span> by {{{author|''Unknown author''}}}
+
</noinclude>'''[{{#if:{{{archiveurl|}}}|{{{archiveurl}}}|http://forums.worldofwarcraft.com/thread.html?topicId={{{topicid|10001}}}&postId={{{postid|1}}}&pageNo={{{page|1}}}&sid={{{sid|1}}}}} <span class="speciallink">{{{subject|''#. Missing subject}}}</span>]''' &#124; <span style="font-size:x-small;">{{{datetime|''Unknown date &amp; time''}}}</span> by {{{author|''Unknown author''}}}

Revision as of 18:47, June 15, 2009

For WoW-Europe forum links, use {{BlizzEUforumlink}}.

Usage:

{{blizzforumlink
| topicid= from URL
| postid= from URL optional
| sid= from URL
| page= from URL
| subject= post subject line
| datetime= post date, or post date and time
| author= post author
}}

Assumes a base URL of http://forums.worldofwarcraft.com/thread.html.

--OR--

{{blizzforumlink
| archiveurl= URL of a forum archiver
| subject= post subject line
| datetime= post date, or post date and time
| author= post author
}}
Example
{{blizzforumlink
 |topicid=62062353
 |sid=1
 |subject=0. New Forums Opened!- 1/08/07
 |datetime=01/08/2007 12:53:07 PM PST
 |author={{Blizz}} [[Nethaera]]
}}
{{blizzforumlink
 |archiveurl=http://blue.mmo-champion.com/23/17631614070-recent-ingame-fixes--6409.html
 |subject=Recent In-Game Fixes - 6/4/09
 |datetime=2009-06-09
 |author={{Blizz}} [[Crygil]]
}}
Yields
0. New Forums Opened!- 1/08/07 | 2007-01-08 20:53 by Blizz Nethaera

Recent In-Game Fixes - 6/4/09 | 2009-06-09 00:00 by Blizz Crygil



#. Missing subject | Unknown date & time by Unknown author

Around Wikia's network

Random Wiki