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

(Created by W3TPL, from [https://psycrit.com/w/PsyCrit:Forms/blog/post]+project:Forms/handling/blog/post.)
Tag: Reverted
(Undo revision 2865 by WikiSysop (talk))
Tag: Undo
Line 1: Line 1:
This is the page-creation template-data for [[project:Forms/blog/post]].
<hide>
<hide>
[[title::Testy Post]]
 
[[author::WikiSysop]]
<!-- Set up variables: -->
[[TextAbove::Hello and welcome to above the fold.]]
<let name=edituser val=@user.dbkey />
[[TextBelow::Congratulations, you are now below the fold.]]
<let name=posttitle arg=posttitle />
[[When Posted::2022/05/14 15:39:16]]
<let name=textabove arg=text-above />
<noinclude>{{page/spec/blog/post}}</noinclude>
<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>[[TextBelow::</let>
  <let name="!NEWTEXT" append copy=textbelow />
  <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>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 astag>/hide</let>
 
</hide>
</hide>
* '''Title template''': <get name=!NEWTITLE raw />
* '''Timestamp''': <get name=timestamp />
* '''User''': <get name=edituser />
Variable dump: <dump vars />

Revision as of 15:46, 14 May 2022

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

  • Title template: User:18.219.140.44/blog/2024/11/19/
  • Timestamp: 2024/11/19 05:33:41
  • User: 18.219.140.44

Variable dump:

  • Variables:
    • [edituser] = [18.219.140.44]
    • [posttitle] = []
    • [textabove] = []
    • [textbelow] = []
    • [timestamp] = [2024/11/19 05:33:41]
    • [!newtitle] = [User:18.219.140.44/blog/2024/11/19/]
    • [!newtext] = [<hide> [[title::]] [[author::18.219.140.44]] [[TextAbove::]] [[TextBelow::]] [[When Posted::2024/11/19 05:33:41]] <noinclude>{{page/spec/blog/post}}</noinclude> </hide>]