Difference between revisions of "Template:Forum"

From GeeklogWiki
Jump to: navigation, search
m (Usage)
m (Improved description)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>http://www.geeklog.net/forum/viewtopic.php?showtopic={{{1}}}</includeonly><noinclude>Supply an forum ID from the main site and get a link for it.
+
<includeonly>'''{{{2}}}''' ([http://www.geeklog.net/forum/viewtopic.php?showtopic={{{1}}} forum link])</includeonly><noinclude>Supply forum parameters and get a link.
  
 
==Usage==
 
==Usage==
<pre><nowiki>{{forum|forumID}}</nowiki></pre>
+
<pre><nowiki>{{forum|forumID|Title}}</nowiki></pre>
  
For example, <nowiki>{{forum|9778}}</nowiki> would display as:
+
For example, <nowiki>{{forum|9778|Test}}</nowiki> would display as:
  
{{forum|9778}}
+
{{forum|9778|Test}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:22, 2 November 2009

Supply forum parameters and get a link.

Usage

{{forum|forumID|Title}}

For example, {{forum|9778|Test}} would display as:

Test (forum link)