(hour)
Line 46: Line 46:
 
== hour ==
 
== hour ==
  
Gives the local hour (shortcut for {{LOCALTIME}}, e.g.,
+
Gives the local hour (shortcut for <nowiki>{{LOCALTIME}}</nowiki> or <nowiki>{{CURRENTIME}}</nowiki>; still have to fix timezone issue), e.g.,
  
 
<pre>{{hour}}</pre>
 
<pre>{{hour}}</pre>
  
 
gives {{hour}}.
 
gives {{hour}}.

Revision as of 07:34, 17 June 2011

This is a list of templates we use for MediaWiki. They can generally be accessed through this website (http://laussy.org) by entering Template:NameOfTemplate as the last part of the url.

Contents

List

contactme

Puts whatever should read when I need someone to contact me:

{{contactme}}

pright

Inserts a right-aligned paragraph. This is a weak counterpart to quote but is not a float, so is less fragile.

{{pright|This text.}}
reads

This text.

quote

Inserts a quotation. See Template:Quote for documentation.

stub

Warns of pages that are still so much in construction, they're not really nice to visit.

{{stub}}

This page is still largely in progress.

thisday

Provides the clickable date of a given day, e.g.,

{{subst:thisday|30|September|1977}}

gives 30 September (1977). See also today.

today

Provides the clickable date of today, e.g.,

{{subst:today}}

gives 15, November (2009).

hour

Gives the local hour (shortcut for {{LOCALTIME}} or {{CURRENTIME}}; still have to fix timezone issue), e.g.,

{{hour}}

gives {{subst:LOCALTIME}}.