Template:Forum link: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Documentation template)
(Related to Template:Forum)
Line 1: Line 1:
<includeonly>[http://flightgear.org/forums/viewtopic.php?f={{{f}}}&t={{{t|}}}&p={{{p|}}}&hilit={{{hilit|}}}{{{label|}}} {{#if:{{{title|}}}|"{{{title}}}" in the forums|Forum link}}]</includeonly><noinclude>
<includeonly>[http://flightgear.org/forums/viewtopic.php?f={{{f|}}}&t={{{t|}}}&p={{{p|}}}&hilit={{{hilit|}}}{{{label|}}} {{#if:{{{title|}}}|"{{{title|}}}" in the forums|Forum link}}]</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
== Goal ==
== Goal ==
A template to standardize forum links.
A template to standardize forum links.
Line 13: Line 14:
* ''f'' is the f-number (argument for phpbb viewtopic.php) (optional)
* ''f'' is the f-number (argument for phpbb viewtopic.php) (optional)


=== Example ===
== Example ==
<code><nowiki>{{forumref |title=FlightGear Newsletter |t=7794}}</nowiki></code>
<code><nowiki>{{forumref |title=FlightGear Newsletter |t=7794}}</nowiki></code>


{{forumref |title=FlightGear Newsletter |t=7794 }}
{{forumref |title=FlightGear Newsletter |t=7794 }}


== Related template ==
* {{tl|forum}}
}}
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 22:29, 16 March 2012


The following template description is not displayed when the template is inserted in an article.

Goal

A template to standardize forum links.

Usage

{{forumref |title= |t= |p= |label= |hilit= |f= }}, where:

  • title is the thread title (optional)
  • t is the t-number (argument for phpbb viewtopic.php) (optional)
  • p is the p-number (argument for phpbb viewtopic.php) (optional)
  • label is a html label, used for jumping to posts (optional)
  • hilit is the words to be highlit in the forum (optional)
  • f is the f-number (argument for phpbb viewtopic.php) (optional)

Example

{{forumref |title=FlightGear Newsletter |t=7794}}

Template:Forumref

Related template