Template:Forum: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Add icon)
(Updated the "Related templates" section to fix the link to {{forum link}}, previously 'forumref', and to add {{project infrastructure}} and {{forum url}}.)
 
(8 intermediate revisions by 4 users not shown)
Line 3: Line 3:
| image      = [[File:FlightGear logo.png|40px]]
| image      = [[File:FlightGear logo.png|40px]]
| text      = The FlightGear forum has a <br>
| text      = The FlightGear forum has a <br>
subforum related to: ''[http://www.flightgear.org/forums/viewforum.php?f={{{1}}} {{{2}}}]''
subforum related to: {{project infrastructure|forum|urn=viewforum.php?f={{{1}}}|text=''{{{2}}}''}}
| class      = plainlinks
| class      = plainlinks
}}<noinclude>{{Informative template|1=
}}<noinclude>{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
This template is used to indicate that the subject of a page have a subforum on the official FlightGear forum.
This template is used to indicate that the subject of a page has a subforum on the official FlightGear forum.


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''forum'''<nowiki>|</nowiki>f-number<nowiki>|</nowiki>name<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>'''forum'''<nowiki>|</nowiki>f-number<nowiki>|</nowiki>name<nowiki>}}</nowiki>
The non-optional parameters are:
Both parameters are mandatory.
* <tt>f-number</tt> is the "f number" of the subforum. Can be found in the end of the subforums URL after <tt>?f=</tt>.
 
* <tt>name</tt> is the name of the the subforum.
; f-number"f number" of the subforum. Can be found in the end of the subforums URL after <tt>?f=</tt>.
 
; name:  Name of the the subforum.


== Examples ==
== Examples ==
Line 21: Line 23:


== Related templates ==
== Related templates ==
* {{tl|forumref}}
* {{tl|project infrastructure}}
* {{tl|forum url}}
* {{tl|forum link}}
}}
}}
[[Category:Templates]]
 
[[Category:Link templates]]
</noinclude>
</noinclude>

Latest revision as of 08:02, 5 June 2019

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

Goal

This template is used to indicate that the subject of a page has a subforum on the official FlightGear forum.

Usage

{{forum|f-number|name}}

Both parameters are mandatory.

f-number
"f number" of the subforum. Can be found in the end of the subforums URL after ?f=.
name
Name of the the subforum.

Examples

{{forum|30|Nasal}}

Related templates