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

(add !TIMESTAMP to posted data)
(!TIMESTAMP has been renamed ?TIMESTAMP. Removed from form data.)
Line 21: Line 21:
<let name=tag2 append>input type=hidden name=!TITLETPLT value="</let>
<let name=tag2 append>input type=hidden name=!TITLETPLT value="</let>
<let name=tag2 append copy=title-prefix />
<let name=tag2 append copy=title-prefix />
<let name=tag2 append>[$!TIMESTAMP$] [$posttitle$]"</let>
<let name=tag2 append>[$?TIMESTAMP$] [$posttitle$]"</let>
<let name=tag2 append chr=62 />
<let name=tag2 append chr=62 />
</hide>
</hide>
Line 28: Line 28:
<form action="/w/Special:MakePage" target=_blank method=POST>
<form action="/w/Special:MakePage" target=_blank method=POST>
<input type=hidden name="!TPLTPAGE"  value="[$tpltpage$]">
<input type=hidden name="!TPLTPAGE"  value="[$tpltpage$]">
<input type=hidden name="!TIMESTAMP"  value="[$timestamp$]">
<input type=hidden name="!TIMEFMT"  value="Y-m-d Hi">
<input type=hidden name="!TIMEFMT"  value="Y-m-d Hi">
<input type=hidden name="!TPLTSTART" value="<pre>">
<input type=hidden name="!TPLTSTART" value="<pre>">

Revision as of 11:39, 16 March 2016

User: | Prefix: ERROR: there is no variable named [title-prefix].

Post title:
Page title: ERROR: there is no variable named [title-prefix].[timestamp] [post title]

Topic lists look like this: \a topic\another topic\a third topic
List as many topics as you want.
Global topic list:
User-specific topic list:
Above the fold:
Below the fold:

  • "topic lists" should look like this: \a topic\another topic\third topic\and so on
    • You can use whatever character you want as a divider; the first character in the text becomes the divider.
    • Topics in the "user topic list" will be prefixed with your username, to distinguish them from global topics (which are common to the entire wiki)
  • "above the fold" text will appear in summaries/compilations and in the RSS feed; "below the fold" generally only appears when you look at the actual posting page.
  • If you want the post to replace the form window instead of showing up in a new window/tab, remove "target=_blank" from the form tag near the top
  • The intrinsic form variable !TIMEFMT uses the PHP date format, which is documented here.
  • The template for formatting the data in this form is: [[project:Forms/handling/blog/post]]
  • Timestamp will be set to the time at which you first preview the post