Difference between revisions of "Template:Blog/post/gen"

From HypertWiki
Jump to navigation Jump to search
(#user needs to be passed at creation time, else it will show the reader as the poster)
m (removed extra pipe (what else might need fixing?))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:date|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}{{#vardefine:time|{{CURRENTTIME}}}}{{#vardefine:timestamp|{{#var:date}} {{#replace:{{#var:time}}|:|.}}
{{#vardefine:date|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}
}}{{blog.post.dyn|user={{#user:}}|date={{#var:date}}|time={{#var:time}}|when={{#var:timestamp}}|topics-user=<<topics-user>>|topics-global=<<topics-global>>|title=<<posttitle>>|text-above=<<text-above>>|text-below=<<text-below>>}}
{{#vardefine:time|{{CURRENTTIME}}}}
{{blog.post.dyn|user={{#user:}}|timestamp=<<timestamp>>|date={{#var:date}}|time={{#var:time}}|topics-user=<<topics-user>>|topics-global=<<topics-global>>|title=<<posttitle>>|text-above=<<text-above>>|text-below=<<text-below>>}}

Latest revision as of 01:57, 6 July 2008

{{#vardefine:date|2024-11-25}} {{#vardefine:time|00:54}}{{#vardefine:keylist|}}{{#vardefine:date|{{#var:date}}}}{{#vardefine:timestamp|<<timestamp>>}}{{#vardefine:topics-user|<<topics-user>>}}{{#vardefine:topics-global|<<topics-global>>}}{{#vardefine:title|<<posttitle>>}}

<<posttitle>>

Posted on [[:category:{{#var:date}}|{{#var:date}}]] at {{#var:time}} UTC by [[User:{{#user:}}|{{#user:}}]]

<section begin=text-above /><<text-above>><section end=text-above />

<section begin=text-below /><<text-below>><section end=text-below />

  • [[user:{{#user:}}|{{#user:}}]] Categories: {{#xploop:{{#var:topics-user}}| [[:category:{{#user:}}/$s$|$s$]]}}
  • Global Categories: {{#xploop:{{#var:topics-global}}| $s$}}