Difference between revisions of "Template:Thread/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add doc)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Box|type=info|Temporary fix for <nowiki>[[thread:]]</nowiki> URI links until this is fixed internally.}}
+
{{Box|type=info|Temporary fix for <code><nowiki>[[thread:]]</nowiki></code> URI links until this is fixed internally.}}
  
 
== Usage ==
 
== Usage ==
Links to a forum thread on the KSP forums. Copy the thread id (<code><nowiki>https://forum.kerbalspaceprogram.com/index.php?/topic/</nowiki><span style="color:red">'''23154'''</span>-</code>)
+
Links to a forum thread on the KSP forums. The first parameter needs to be the thread id. This can be found by copying it from the link (<code><nowiki>https://forum.kerbalspaceprogram.com/index.php?/topic/</nowiki><span style="color:red">'''23154'''</span>-</code>). The second parameter is the displayed text, ''Forum thread'' is the default text.
  
 
{{Parameter table|name=number|parameters=
 
{{Parameter table|name=number|parameters=
 
{{Parameter row|1|Thread number to point to.}}
 
{{Parameter row|1|Thread number to point to.}}
{{Parameter row|2|Text to display as link.|<tt>''Forum post''</tt>}}
+
{{Parameter row|2|Text to display as link.|<tt>''Forum thread''</tt>}}
 
}}
 
}}
  

Latest revision as of 22:01, 5 February 2020

Temporary fix for [[thread:]] URI links until this is fixed internally.

Usage

Links to a forum thread on the KSP forums. The first parameter needs to be the thread id. This can be found by copying it from the link (https://forum.kerbalspaceprogram.com/index.php?/topic/23154-). The second parameter is the displayed text, Forum thread is the default text.

# Optional Description Default
1 No Thread number to point to.
2 Yes Text to display as link. Forum thread