Difference between revisions of "Template:Blog.post.gen"
Jump to navigation
Jump to search
(added some additional fields) |
(3 separate chrono fields: date, time, timestamp; also, this handling of internal vars seems more proper) |
||
Line 1: | Line 1: | ||
− | {{blog.post.dyn|date= | + | {{#vardefine:date|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}{{#vardefine:time|{{CURRENTTIME}}}}{{#vardefine:timestamp|{{#var:date}} {{#replace:{{#var:time}}|:|.}} |
+ | }}{{blog.post.dyn|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>>}} |
Revision as of 23:30, 24 June 2008
{{#vardefine:date|2024-11-23}}{{#vardefine:time|16:43}}{{#vardefine:timestamp|{{#var:date}} {{#var.time}} }}{{#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}}}]]
<<text-above>>
<<text-below>>
- [[user:{{{user}}}|{{{user}}}]] Categories: {{#xploop:{{#var:topics-user}}| [[:category:{{{user}}}/$s$|$s$]]}}
- Global Categories: {{#xploop:{{#var:topics-global}}| $s$}}