Difference between revisions of "PsyCrit:Forms/handling/blog/post"

(don't hide the template output!)
 
(13 intermediate revisions by the same user not shown)
Line 3: Line 3:


<!-- Set up variables: -->
<!-- Set up variables: -->
<let name=posttitle val=@http.post.posttitle />
<let name=edituser val=@user.dbkey />
<let name=edituser val=@user.dbkey />
<let name=textabove val=@http.post.text-above />
<let name=posttitle arg=posttitle />
<let name=textbelow val=@http.post.text-below />
<let name=textabove arg=text-above />
<let name=textbelow arg=text-below />
<let name=timestamp intfx=time />
<let name=timestamp intfx=time />


<!-- main template definitions: -->
<!-- main template definitions: -->
<let name="!NEWTITLE">User:</let>
<let name="!NEWTITLE">User:</let>
   <let name="!NEWTITLE" append copy=edituser />
   <let name="!NEWTITLE" append copy=edituser />
   <let name="!NEWTITLE" append parse>/blog/{{LOCALYEAR}}/{{LOCALMONTH}}/{{LOCALDAY2}}/</let>
   <let name="!NEWTITLE" append parse>/blog/{{LOCALYEAR}}/{{LOCALMONTH}}/{{LOCALDAY2}}/</let>
   <let name="!NEWTITLE" append copy=posttitle />
   <let name="!NEWTITLE" append copy=posttitle />
<let name="!NEWTEXT">


[[title::<get name=posttitle />]]
<let name="!NEWTEXT" astag newline>hide</let>
[[author::<get name=edituser />]]
  <let name="!NEWTEXT" append>[[title::</let>
<get name=topics />
  <let name="!NEWTEXT" append copy=posttitle />
[[TextAbove::<get name=textabove />]]
  <let name="!NEWTEXT" append newline>]]</let>
[[TextBelow::<get name=textbelow />]]
  <let name="!NEWTEXT" append>[[author::</let>
[[When Posted::<get name=timestamp />]]
  <let name="!NEWTEXT" append copy=edituser />
<noinclude>{{page/spec/blog/post}}</noinclude></let>
  <let name="!NEWTEXT" append newline>]]</let>
  <let name="!NEWTEXT" append>[[TextAbove::</let>
  <let name="!NEWTEXT" append copy=textabove />
  <let name="!NEWTEXT" append newline>]]</let>
  <let name="!NEWTEXT" append>[[When Posted::</let>
  <let name="!NEWTEXT" append copy=timestamp />
  <let name="!NEWTEXT" append newline>]]</let>
  <let name="!NEWTEXT" append astag>/hide</let>
 
  <let name="!NEWTEXT" append astag>noinclude</let>
  <let name="!NEWTEXT" append>{{page/spec/blog/post}}</let>
  <let name="!NEWTEXT" append astag newline>/noinclude</let>
  <let name="!NEWTEXT" append copy=topics />
 
  <let name="!NEWTEXT" append copy=textbelow />


</hide>
</hide>

Latest revision as of 14:11, 18 May 2022

This is the page-creation template-data for project:Forms/blog/post.

  • Title template: User:3.142.255.103/blog/2025/01/15/
  • Timestamp: 2025/01/15 14:33:38
  • User: 3.142.255.103

Variable dump:

  • Variables:
    • [edituser] = [3.142.255.103]
    • [posttitle] = []
    • [textabove] = []
    • [textbelow] = []
    • [timestamp] = [2025/01/15 14:33:38]
    • [!newtitle] = [User:3.142.255.103/blog/2025/01/15/]
    • [!newtext] = [<hide> [[title::]] [[author::3.142.255.103]] [[TextAbove::]] [[When Posted::2025/01/15 14:33:38]] </hide><noinclude>{{page/spec/blog/post}}</noinclude> ]