Ref:OwfPost: Difference between revisions

From Oddworld Library
m (Corrected first parameters of #if: and #ifeq: parser functions to check parameter values instead of strings of parameter names)
m (Removed space from between second #ifeq: and ‘ (line 16), attempt to fix {{{postName}}} not defaulting to {{{postNumber}}} (line 7))
Line 6: Line 6:
}}
}}
   {{#ifeq: {{{postNumber|}}} | 1 |
   {{#ifeq: {{{postNumber|}}} | 1 |
   | {{#if: {{{postName|}}} | ‘ | }}[https://owforums.net/showthread.php?p={{{postID}}}#post{{{postID}}} {{{postName|Post {{{postNumber}}} }}}]{{#if: {{{postName|}}} | ’ | }} in
   | {{#if: {{{postName|}}} | ‘ | }}[https://owforums.net/showthread.php?p={{{postID}}}#post{{{postID}}} {{#if {{{postName|}}} | postName | Post {{{postNumber}}} }}]{{#if: {{{postName|}}} | ’ | }} in
{{ref:refHeader
{{ref:refHeader
     | author = {{{threadAuthor}}}
     | author = {{{threadAuthor}}}
Line 14: Line 14:
}}  
}}  
}}
}}
   {{#ifeq: {{{postNumber|}}} | 1 | Post 1 in  }} ‘[https://owforums.net/showthread.php?t={{{threadID}}} {{{threadName}}}]’.
   {{#ifeq: {{{postNumber|}}} | 1 | Post 1 in  }}‘[https://owforums.net/showthread.php?t={{{threadID}}} {{{threadName}}}]’.
   {{{board}}}.
   {{{board}}}.
   {{#switch: {{{board}}}
   {{#switch: {{{board}}}

Revision as of 16:09, 26 February 2024

 {{{author}}} ().
 {{#if  | postName | Post {{{postNumber}}} }} in
 {{{threadAuthor}}} ().
 ‘{{{threadName}}}’.
 {{{board}}}.
 .
 Oddworld Forums.