Template:Forum link/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "==Usage==")
 
(Change xbmc to Kodi)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Usage==
Used to note related threads from https://forum.kodi.tv/
 
*'''{{tl|forum link}}''' is used on the talk page of a wiki page to direct discussion to the Kodi forums instead.
*{{tl|forum link2}} is used to note a forum link on the page itself when you want to give it special attention, like a forum post for an add-on on the add-on's wiki page. Not meant for all forum links.
 
== Usage ==
'''Note:''' Thread numbers must only come from URLs formatted as <code><nowiki>https://forum.kodi.tv/showthread.php?tid=THREADNUMBER</nowiki></code>
 
*<nowiki>{{</nowiki>forum link|''THREADNUMBER''}}
or
*<nowiki>{{</nowiki>forum link| ''THREADNUMBER'' | ''Replace default link text'' }}
or
*<nowiki>{{</nowiki>forum link|raw= ''Override that replaces all text for a custom message.'' }}
 
== Examples ==
=== Example 1===
<pre>{{forum link|112385}}</pre>
 
Creates:
 
{{forum link|112385}}
 
=== Example 2===
<pre>{{forum link|112385|Forum post: Motorola Nyxboard - Custom keyboard.xml}}</pre>
 
Creates:
 
{{forum link|112385|Forum post: Motorola Nyxboard - Custom keyboard.xml}}
 
=== Example 3===
<pre>{{Forum link|raw=For discussion about the editing/evolution of this page please see: '''[[Forum:111197]] (NEW)''' • [[Forum:109625]] (OLD) }}</pre>
 
Creates:
 
{{Forum link|raw=For discussion about the editing/evolution of this page please see: '''[[Forum:111197]] (NEW)''' • [[Forum:109625]] (OLD) }}
 
<includeonly>
[[Category:Template messages]]
</includeonly>

Latest revision as of 10:19, 12 July 2018

Used to note related threads from https://forum.kodi.tv/

  • {{forum link}} is used on the talk page of a wiki page to direct discussion to the Kodi forums instead.
  • {{forum link2}} is used to note a forum link on the page itself when you want to give it special attention, like a forum post for an add-on on the add-on's wiki page. Not meant for all forum links.

Usage

Note: Thread numbers must only come from URLs formatted as https://forum.kodi.tv/showthread.php?tid=THREADNUMBER

  • {{forum link|THREADNUMBER}}

or

  • {{forum link| THREADNUMBER | Replace default link text }}

or

  • {{forum link|raw= Override that replaces all text for a custom message. }}

Examples

Example 1

{{forum link|112385}}

Creates:

Attention talk.png For discussion about this page please see this Kodi forum post.

Example 2

{{forum link|112385|Forum post: Motorola Nyxboard - Custom keyboard.xml}}

Creates:

Attention talk.png For discussion about this page please see Forum post: Motorola Nyxboard - Custom keyboard.xml.

Example 3

{{Forum link|raw=For discussion about the editing/evolution of this page please see: '''[[Forum:111197]] (NEW)''' • [[Forum:109625]] (OLD) }}

Creates:

Attention talk.png For discussion about the editing/evolution of this page please see: Forum:111197 (NEW)Forum:109625 (OLD)