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=edituser val=@user.dbkey /> | <let name=edituser val=@user.dbkey /> | ||
<let name=textabove | <let name=posttitle arg=posttitle /> | ||
<let name=textbelow | <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 /> | ||
[[title::< | <let name="!NEWTEXT" astag newline>hide</let> | ||
[[author::< | <let name="!NEWTEXT" append>[[title::</let> | ||
< | <let name="!NEWTEXT" append copy=posttitle /> | ||
[[TextAbove::< | <let name="!NEWTEXT" append newline>]]</let> | ||
<let name="!NEWTEXT" append>[[author::</let> | |||
[[When Posted::< | <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:
- [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> ]
... more about "Forms/handling/blog/post"
12:52:49, 25 May 2022 +