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

(diagnostics; now-redundant hidden values removed)
Line 4: Line 4:
<let name=tpltpage>project:Forms/handling/blog/post</let>
<let name=tpltpage>project:Forms/handling/blog/post</let>


<let name=user val=@user.dbkey />
<if not flag=$title-prefix>
  <let name=title-prefix pre>User:</let>
  <let name=title-prefix append copy=user />
  <let name=title-prefix append>/blog/</let>
</if>
<let name=tagTitleTplt chr=60 />
<let name=tagTitleTplt append>input type=hidden name=!TITLETPLT value="</let>
<let name=tagTitleTplt append copy=title-prefix />
<let name=tagTitleTplt append>[$?TIMESTAMP$] [$posttitle$]"</let>
<let name=tagTitleTplt append chr=62 />
<let name=urlTarget parse>{{localurl:SpecialPage:W3TPL}}</let>
<let name=urlTarget parse>{{localurl:SpecialPage:W3TPL}}</let>
<let name=tagOpenForm parse>
form action="<get name=urlTarget />" target=_blank method=POST
</let>
</hide><echo raw vars now>
</hide><echo raw vars now>
<form action="/w/Special:MakePage" target=_blank method=POST>
<input type=hidden name="!TPLTPAGE"  value="[$tpltpage$]">
<input type=hidden name="!TPLTPAGE"  value="[$tpltpage$]">
</echo><get name=tagTitleTplt raw />
</echo><get name=tagOpenForm astag />
==Make a Post==
==Make a Post==
{|
{|
Line 41: Line 34:
<div class=instructions>
<div class=instructions>
* When you press "Preview the post", you will get to see roughly what your post will look like when you post it. From there you can post it, or switch back to this tab to make changes.
* When you press "Preview the post", you will get to see roughly what your post will look like when you post it. From there you can post it, or switch back to this tab to make changes.
* If you post it, it will be saved on a page called '''<get name=title-prefix />''[time submitted]''/''[Post title]''''' and attributed to '''<get name=user />'''.
* A topic list should look like this: '''<nowiki>[[topic::a topic]] [[topic::another topic]] [[topic::third topic]]</nowiki>''' and so on
* A topic list should look like this: '''<nowiki>[[topic::a topic]] [[topic::another topic]] [[topic::third topic]]</nowiki>''' and so on
** Assigning one or more topics makes it possible to display posts by topic, in various formats.
** Assigning one or more topics makes it possible to display posts by topic, in various formats.

Revision as of 17:33, 24 April 2022

Make a Post

Post title:
Above the fold:
Below the fold:
Topics:

List as many topics as you want; see Explanations below for how to format them.

Some Explanations

  • When you press "Preview the post", you will get to see roughly what your post will look like when you post it. From there you can post it, or switch back to this tab to make changes.
  • A topic list should look like this: [[topic::a topic]] [[topic::another topic]] [[topic::third topic]] and so on
    • Assigning one or more topics makes it possible to display posts by topic, in various formats.
  • "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.
  • Timestamp will be set to the time at which you first preview the post

Diagnostics

Diagnostics

Form target: /w/SpecialPage:W3TPL

  • Variables:
    • [timestamp] = [2024-04-23 21:16]
    • [tpltpage] = [project:Forms/handling/blog/post]
    • [urltarget] = [/w/SpecialPage:W3TPL]
    • [tagopenform] = [ form action="'"`UNIQ--get-00000005-QINU`"'" target=_blank method=POST ]