Difference between revisions of "Template:News"

From UFO:AI
(autogen date)
 
 
Line 4: Line 4:
 
{{{content}}}
 
{{{content}}}
 
</div>
 
</div>
<div class="meta" style="font-size:80%; text-align:right;"><span class="date">{{{date}}}</span> — <span class="author">{{{author}}}</span></div>
+
<div class="meta" style="font-size:80%; text-align:right;"><span class="date">{{{date}}}</span> — <span class="author">[[User:{{{author}}}|{{{author}}}]]</span></div>
 
</div><noinclude>
 
</div><noinclude>
 
==Template==
 
==Template==

Latest revision as of 10:32, 10 August 2013

{{{title}}}

{{{content}}}

{{{date}}}[[User:{{{author}}}|{{{author}}}]]

Template

{{news
|title=
|author=
|date={{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY2}}T{{subst:CURRENTTIME}}:00
|content=
}}

TODO

  • Fix Atom feed reader to support both ISO 8601 time stamp (yyyymmddhhmmss, {{subst:CURRENTTIMESTAMP}}), and date time (yyyy-mm-ddThh:mm:ss)