Difference between revisions of "Template:Forum"

From Space Engineers Wiki
Jump to: navigation, search
(Updating this function since Keen now used "197-1" in the URL, which was treated as a number.)
m
 
Line 7: Line 7:
 
The non-content parts of "[[ForumPost::####]]" get included in the expression, and must be removed for the number check to work.
 
The non-content parts of "[[ForumPost::####]]" get included in the expression, and must be removed for the number check to work.
  
-->{{#ifeq: {{IsANumber|{{#ifeq: {{#sub:{{{1}}}|2|11}}|ForumPost::|{{#sub:{{{1}}}|13|-2}}|{{{1}}}}}}}|true|<!--
+
-->{{#ifeq: {{IsANumber|{{#ifeq: {{#sub:{{{1}}}|2|11}}|ForumPost::|{{#sub:{{{1}}}|13|-2}}|{{{1}}}}}}}|true<!--
 
   -->|[https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}]<!--
 
   -->|[https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}]<!--
 
   -->|[https://support.keenswh.com/spaceengineers/pc/announcement/{{{1|}}} {{{2|Announcement}}}]<!--
 
   -->|[https://support.keenswh.com/spaceengineers/pc/announcement/{{{1|}}} {{{2|Announcement}}}]<!--
 
-->}}
 
-->}}

Latest revision as of 20:11, 18 February 2021

Announcement