Template:Forum link: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Cleanup + cat:Templates)
(Documentation template)
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=
== Goal ==
A template to standardize forum links.
A template to standardize forum links.


'''Usage:''' <tt><nowiki>{{</nowiki>forumref|''title''|''t''|''p''|''label''|''hilit''|''f''<nowiki>}}</nowiki></tt>, where
== Usage ==
<code><nowiki>{{forumref |title= |t= |p= |label= |hilit= |f= }}</nowiki></code>, where:
* ''title'' is the thread title (optional)
* ''title'' is the thread title (optional)
* ''t'' is the t-number (argument for phpbb viewtopic.php) (optional)
* ''t'' is the t-number (argument for phpbb viewtopic.php) (optional)
Line 9: Line 11:
* ''label'' is a html label, used for jumping to posts (optional)
* ''label'' is a html label, used for jumping to posts (optional)
* ''hilit'' is the words to be highlit in the forum (optional)
* ''hilit'' is the words to be highlit in the forum (optional)
* ''f'' is the f-number (argument for phpbb viewtopic.php)
* ''f'' is the f-number (argument for phpbb viewtopic.php) (optional)
 
=== Example ===
<code><nowiki>{{forumref |title=FlightGear Newsletter |t=7794}}</nowiki></code>
 
{{forumref |title=FlightGear Newsletter |t=7794 }}
 
}}


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

Revision as of 11:36, 27 February 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