(multicol)
m (Templates used on this site)
Line 4: Line 4:
  
 
== List ==
 
== List ==
 +
 +
=== cite ===
 +
 +
A cite template to quote in a way similar as you would do with $\mathrm{\TeX}$ and bibTeX is described [[Blog:Hacks/A_simple_way_to_quote_from_bibTeX_in_MediaWiki|in this blog post]].
  
 
=== contactme ===
 
=== contactme ===

Revision as of 11:30, 22 April 2012

Contents

Templates used on this site

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.

List

cite

A cite template to quote in a way similar as you would do with $\mathrm{\TeX}$ and bibTeX is described in this blog post.

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}}.

multicol

From Wikipedia's multicol. Use as:

{{multicol}}
This text appears in the first column.
{{multicol-break}}
This text appears in the second column.
{{multicol-break}}
This text appears in the third column.
{{multicol-end}}

to read:

This text appears in the first column.

This text appears in the second column.

This text appears in the third column.

You need to create the three corresponding pages$^*$, which are shortcuts for divivision of the page with floats.