Difference between revisions of "Template:Forum"
From Space Engineers Wiki
Cryptkeeper (talk | contribs) (Created page with "[https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}]") |
Vox Serico (talk | contribs) m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}] | + | <!-- Keen Software House has retired the forums. |
+ | |||
+ | A hack to detect if the input is a number or text. | ||
+ | This produces a link to the new changelog page instead of the defunct forums. | ||
+ | The old behavior is kept intact to not disturb any old urls, should someone want to know where they pointed. | ||
+ | |||
+ | 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<!-- | ||
+ | -->|[https://forum.keenswh.com/threads/{{{1|}}} {{{2|Forum Post}}}]<!-- | ||
+ | -->|[https://support.keenswh.com/spaceengineers/pc/announcement/{{{1|}}} {{{2|Announcement}}}]<!-- | ||
+ | -->}} |