Difference between revisions of "PsyCrit:Forms/handling/blog/post"
(can't have "pre"-tags inside the template) |
(don't hide the template output!) |
||
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This is the page-creation template-data for [[project:Forms/blog/post]]. | |||
<hide> | |||
< | |||
<let name= | <!-- Set up variables: --> | ||
</hide><noinclude>< | <let name=edituser val=@user.dbkey /> | ||
<let name=posttitle arg=posttitle /> | |||
<let name=textabove arg=text-above /> | |||
<let name=textbelow arg=text-below /> | |||
<let name=timestamp intfx=time /> | |||
<!-- main template definitions: --> | |||
<let name="!NEWTITLE">User:</let> | |||
<let name="!NEWTITLE" append copy=edituser /> | |||
<let name="!NEWTITLE" append parse>/blog/{{LOCALYEAR}}/{{LOCALMONTH}}/{{LOCALDAY2}}/</let> | |||
<let name="!NEWTITLE" append copy=posttitle /> | |||
<let name="!NEWTEXT" astag newline>hide</let> | |||
<let name="!NEWTEXT" append>[[title::</let> | |||
<let name="!NEWTEXT" append copy=posttitle /> | |||
<let name="!NEWTEXT" append newline>]]</let> | |||
<let name="!NEWTEXT" append>[[author::</let> | |||
<let name="!NEWTEXT" append copy=edituser /> | |||
<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> | |||
* '''Title template''': <get name=!NEWTITLE raw /> | |||
* '''Timestamp''': <get name=timestamp /> | |||
* '''User''': <get name=edituser /> | |||
Variable dump: <dump vars /> |
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.15.1.23/blog/2025/01/15/
- Timestamp: 2025/01/15 19:42:17
- User: 3.15.1.23
Variable dump:
- [edituser] = [3.15.1.23]
- [posttitle] = []
- [textabove] = []
- [textbelow] = []
- [timestamp] = [2025/01/15 19:42:17]
- [!newtitle] = [User:3.15.1.23/blog/2025/01/15/]
- [!newtext] = [<hide> [[title::]] [[author::3.15.1.23]] [[TextAbove::]] [[When Posted::2025/01/15 19:42:17]] </hide><noinclude>{{page/spec/blog/post}}</noinclude> ]
... more about "Forms/handling/blog/post"
12:52:49, 25 May 2022 +