Difference between revisions of "Template:Forum"

From Space Engineers Wiki
Jump to: navigation, search
m (Improved number checking)
m (Fixed expression for when the 1:st input is a property definition (Every Update page))
Line 5: Line 5:
 
The old behavior is kept intact to not disturb any old urls, should someone want to know where they pointed.
 
The old behavior is kept intact to not disturb any old urls, should someone want to know where they pointed.
  
-->{{#iferror: {{#expr: {{{1}}} + 1}}<!--
+
The non-content parts of "[[ForumPost::####]]" are included in the expression, and must be removed for the number check to work.
 +
 
 +
-->{{#iferror: {{#expr: {{#ifeq: {{#sub:{{{1}}}|2|11}}|ForumPost::|{{#sub:{{{1}}}|13|-2}}|{{{1}}}}} + 1}}<!--
 
   -->|[https://support.keenswh.com/spaceengineers/pc/announcement/{{{1|}}} {{{2|Announcement}}}]<!--
 
   -->|[https://support.keenswh.com/spaceengineers/pc/announcement/{{{1|}}} {{{2|Announcement}}}]<!--
 
   -->|[https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}]<!--
 
   -->|[https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}]<!--
 
-->}}
 
-->}}

Revision as of 15:03, 10 December 2020

Announcement