m (see)
m (today)
 
(5 intermediate revisions by one user not shown)
Line 36: Line 36:
  
 
{{fr}}
 
{{fr}}
 +
 +
=== indent ===
 +
 +
{{multicol}}
 +
<pre>
 +
* This is an example with bullet lists:
 +
{{indent}}
 +
Hi.
 +
{{indent-end}}
 +
* And another one:
 +
{{indent}}
 +
Hi there!
 +
{{indent}}
 +
Hello.
 +
{{indent-end}}
 +
{{indent-end}}
 +
</pre>
 +
{{multicol-break}}
 +
* This is an example with bullet lists:
 +
{{indent}}
 +
Hi.
 +
{{indent-end}}
 +
* And another one:
 +
{{indent}}
 +
Hi there!
 +
{{indent}}
 +
Hello.
 +
{{indent-end}}
 +
{{indent-end}}
 +
{{multicol-end}}
 +
 +
<pre>
 +
* This is an example with bullet lists:
 +
{{indent}}Hi.{{indent-end}}
 +
* And another one:
 +
{{indent}}Hi there!{{indent}}Hello.{{indent-end}}{{indent-end}}
 +
</pre>
 +
 +
* This is an example with bullet lists:
 +
{{indent}}Hi.{{indent-end}}
 +
* And another one:
 +
{{indent}}Hi there!{{indent}}Hello.{{indent-end}}{{indent-end}}
  
 
=== pdf ===
 
=== pdf ===
Line 79: Line 121:
 
=== today ===
 
=== today ===
  
Provides the clickable date of today, e.g.,
+
To be used with "subst:" to provide the clickable date of today, e.g.,
  
 
<pre>{{subst:today}}</pre>
 
<pre>{{subst:today}}</pre>
  
gives [[15 November|15]], [[November (2009)|November]]&nbsp;[[2009|(2009)]].
+
gives {{thisday|31|December|2023}}.
 +
 
 +
=== update ===
 +
 
 +
Indicates an {{update}} <nowiki>{{update}}</nowiki> possibly with a date {{update|16 July 2023}} <nowiki>{{update|16 July 2023}}</nowiki>.
  
 
=== hour ===
 
=== hour ===
Line 121: Line 167:
 
<nowiki></pre>
 
<nowiki></pre>
  
=== wl1, wl2, wl3 === (featured articles)
+
=== wl1, wl2, wl3 ===
 +
 
 +
For [[featured articles]].
  
 
#<pre><nowiki>{{wl1}}</nowiki></pre> is to be put on stubby articles in progress (all of them).  
 
#<pre><nowiki>{{wl1}}</nowiki></pre> is to be put on stubby articles in progress (all of them).  
 
#<pre><nowiki>{{wl2}}</nowiki></pre> is to be put on good & interesting articles that could/should be improved but remain okay in their present state.
 
#<pre><nowiki>{{wl2}}</nowiki></pre> is to be put on good & interesting articles that could/should be improved but remain okay in their present state.
 
#<pre><nowiki>{{wl3}}</nowiki></pre> is to identify great content, that we are proud of.
 
#<pre><nowiki>{{wl3}}</nowiki></pre> is to identify great content, that we are proud of.

Latest revision as of 14:31, 31 December 2023

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.

Arguments are passed to template with {{{1}}} (2, 3, etc. for several arguments).

List

anchor

{{anchor|anchorforanchor}} Puts an anchor to refer to this spot. One can then refer to [[#anchorforanchor|the anchor]] the anchor like this within the same page or [[Blog:Sandbox/buggy#anchorforanchor|for another page]] for another page.

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

done

{{done}} puts a little "checked" marker, like thisGreenTick.png, while {{done|that was great!}} adds a wz-tooltipGreenTick.pngthat was great!.

gpx

Offers to "Icon gpx.jpgDownload the gpx file for this track." {{gpx|Media:AbedularCanencia-27Oct2013.gpx}}

download

Puts a logo Download.png

fr

Fr.png

indent

* This is an example with bullet lists:
{{indent}}
Hi.
{{indent-end}}
* And another one:
{{indent}}
Hi there!
{{indent}}
Hello.
{{indent-end}}
{{indent-end}}
  • This is an example with bullet lists:

Hi.

  • And another one:

Hi there!

Hello.

* This is an example with bullet lists:
{{indent}}Hi.{{indent-end}}
* And another one:
{{indent}}Hi there!{{indent}}Hello.{{indent-end}}{{indent-end}}
  • This is an example with bullet lists:
Hi.
  • And another one:
Hi there!
Hello.

pdf

{{pdf}} puts an icon Pdf-48px.pnglike this and {{pdf|File:myfile.pdf}} links to it Pdf-48px.png.

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.

see

{{see|Fabrice}} is pointing on Fabrice (used with pages shortcuts).

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.

TeX

$\mathrm{\TeX}$

thisday

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

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

gives 30 September (1977). See also today.

today

To be used with "subst:" to provide the clickable date of today, e.g.,

{{subst:today}}

gives 31 December (2023).

update

Indicates an Update.png {{update}} possibly with a date Update.png16 July 2023 {{update|16 July 2023}}.

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.

<nowiki>
You need to create the three corresponding pages<wz tip="Template:Multicol, Template:Multicol-break and Template:Multicol-end.">$^*$</wz>, which are shortcuts for divivision of the page with floats.
<nowiki>

wl1, wl2, wl3

For featured articles.

  1. {{wl1}}
    is to be put on stubby articles in progress (all of them).
  2. {{wl2}}
    is to be put on good & interesting articles that could/should be improved but remain okay in their present state.
  3. {{wl3}}
    is to identify great content, that we are proud of.