Difference between revisions of "Template:Forum"

From LGPedia
Jump to: navigation, search
(another external link template)
 
(Fixed to allow forum selection)
Line 1: Line 1:
[http://www.lonelygirl15.com/forum/viewtopic.php?t={{{1}}} {{#if: {{{2|}}}|{{{2}}}|forum discussion}}]<noinclude>
+
[http://www.lg15.com/{{#switch:{{{3}}}|lg15=lonelygirl15|km=katemodern|lonelygirl15}}/forum/viewtopic.php?t={{{1}}} {{#if: {{{2|}}}|{{{2}}}|forum discussion}}]<noinclude>
 
==Usage==
 
==Usage==
 
Use this template to link to topics on the [[forum]].
 
Use this template to link to topics on the [[forum]].
 
<pre>
 
<pre>
{{forum|TOPICID|OPTIONAL TEXT}}
+
{{forum|TOPICID|OPTIONAL TEXT|TARGET FORUM}}
 
</pre>
 
</pre>
TOPICID is the id of the forum topic. If OPTIONAL TEXT is not provided, the text will be "forum discussion".[[Category:External link templates]]</noinclude>
+
TOPICID is the id of the forum topic. If OPTIONAL TEXT is not provided, the text will be "forum discussion". TARGET FORUM can be omitted to link to the lg15 forums, alternatively you can provide either "lg15" or "km".[[Category:External link templates]]</noinclude>

Revision as of 13:36, 24 July 2007

forum discussion

Usage

Use this template to link to topics on the forum.

{{forum|TOPICID|OPTIONAL TEXT|TARGET FORUM}}

TOPICID is the id of the forum topic. If OPTIONAL TEXT is not provided, the text will be "forum discussion". TARGET FORUM can be omitted to link to the lg15 forums, alternatively you can provide either "lg15" or "km".