m (→fr) |
m (→indent) |
||
Line 38: | Line 38: | ||
=== indent === | === indent === | ||
+ | |||
+ | <nowiki> | ||
+ | This is what | ||
+ | {{start-indent}} | ||
+ | {{stop-indent}} | ||
+ | </nowiki> | ||
+ | |||
+ | <nowiki> | ||
+ | # This is an example: | ||
+ | {{start-indent}} | ||
+ | {{stop-indent}} | ||
+ | # An another one: | ||
+ | {{start-indent}} | ||
+ | Hi there! | ||
+ | {{start-indent}} | ||
+ | Hello. | ||
+ | {{stop-indent}} | ||
+ | {{stop-indent}} | ||
+ | </nowiki> | ||
{{start-indent}} | {{start-indent}} |
Contents |
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).
A cite template to quote in a way similar as you would do with $\mathrm{\TeX}$ and bibTeX is described in this blog post.
Puts whatever should read when I need someone to contact me:
{{contactme}}
{{done}} puts a little "checked" marker, like this, while {{done|that was great!}} adds a wz-tooltipthat was great!.
Offers to "Download the gpx file for this track." {{gpx|Media:AbedularCanencia-27Oct2013.gpx}}
This is what {{start-indent}} {{stop-indent}}
# This is an example: {{start-indent}} {{stop-indent}} # An another one: {{start-indent}} Hi there! {{start-indent}} Hello. {{stop-indent}} {{stop-indent}}
Template:Start-indent Template:Stop-indent
{{pdf}} puts an icon like this and {{pdf|File:myfile.pdf}} links to it .
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.
Inserts a quotation. See Template:Quote for documentation.
☞ {{see|Fabrice}} is pointing on Fabrice (used with pages shortcuts).
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.
$\mathrm{\TeX}$
Provides the clickable date of a given day, e.g.,
{{subst:thisday|30|September|1977}}
gives 30 September (1977). See also today.
Provides the clickable date of today, e.g.,
{{subst:today}}
Indicates an {{update}} possibly with a date 16 July 2023 {{update|16 July 2023}}.
Gives the local hour (shortcut for {{LOCALTIME}} or {{CURRENTIME}}; still have to fix timezone issue), e.g.,
{{hour}}
gives {{subst:LOCALTIME}}.
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>
For featured articles.
{{wl1}}is to be put on stubby articles in progress (all of them).
{{wl2}}is to be put on good & interesting articles that could/should be improved but remain okay in their present state.
{{wl3}}is to identify great content, that we are proud of.