User:Urhixidur
From Wikipedia, the free encyclopedia
Wikipedia:Babel | ||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
I agree to multi-license all my contributions, with the exception of my user pages, as described below:
Multi-licensed with all Creative Commons Attribution Licenses | ||
I agree to multi-license my text contributions, unless otherwise stated, under the GFDL and the Creative Commons licenses by-sa v1.0, by v2.0, by-nd v2.0, by-nc v2.0, by-nc-nd v2.0, by-nc-sa v2.0, and by-sa v2.0. Please be aware that other contributors might not do the same, so if you want to use my contributions under alternate licensing, please check the CC dual-license and Multi-licensing guides. |
Meta User Page
Page utilisateur Wikiquote français
Page utilisateur Wiktionnaire français
Wikipedia:List of Wikipedians by number of edits --If I could only stay in slot 501!
Contents |
[edit] To Do
- Experimental templates to eventually delete:
- Luna 6 through Luna 18, Luna 21+ to convert to Template:LunarOrbiter; use List of planetary probes as guide
- Wikipedia:WikiProject Astronomical objects
- en:Timeline of natural satellites -- refine
- en:List of asteroids named after important people#Astronomers -- continue
- fr:Discuter:Désignation des astéroïdes -- use the non-French part
- Talk:Meanings of asteroid names -- for Schmadel/IPA discrepancies
List of asteroids sub-paging
- List of asteroids/69001–70000
- List of asteroids/69001–69100
- http://en.wikipedia.org/w/index.php?title=List_of_asteroids/69001-70000&redirect=no
[edit] Snippets
[edit] Math formulae and TeX markup
To force a math formula to full size, add \,\! (backslash comma backslash exclamation):
<math>a(1+e^2/2)</math> is a(1 + e2 / 2)
<math>a(1+e^2/2)\,\!</math> is
See Wikipedia:TeX markup for more.
[edit] Table syntax
- For table syntax, see Help:Table#Guide to the pipe syntax
- {{prettytable}} and {{prettytable-center}}
- More flexibly, use:
- {| class="wikitable" style="text-align:center" align="right"
- where text-align can be left, center, justify, or right (left is default)
- and align can be left or right (center will not work)
- in theory you could use instead {| class="wikitable" style="text-align:center;float:left" but this allegedly breaks rendering at large font sizes.
- float would then be left or right (center still does not work)
- {| class="wikitable" style="text-align:center" align="right"
- Centered tables can be achieved, but they will not float (no text will appear to either side):
- {| class="wikitable" style="text-align:center;margin: 1em auto 1em auto"
In the examples below, the wiki code consists of the right-floating table, the left-floating table, the Lorem ipsum text, a centered table, and more Lorem ipsum.
Lorem | ipsum | dolor |
---|---|---|
sit | amet, consectetur | adipisicing elit, |
sed do eiusmod | tempor incididunt ut labore | et dolore magna aliqua. |
Ut | enim | ad |
---|---|---|
minim | veniam, quis | nostrud exercitation ullamco |
laboris nisi ut | aliquip ex ea | commodo consequat. |
Lorem ipsum dolor sit amet, pede et congue viverra velit placerat, amet nec mauris nullam justo ac praesent. Urna maecenas in neque, ridiculus aliquam sodales nec turpis volutpat ullamcorper, mauris sodales velit sit a. Aliquet id fusce. Auctor nec tortor at leo pede, ac ac nunc sed imperdiet aliquet, justo suspendisse egestas pulvinar. Elit arcu at ut ullam, nullam hac in sit mollis dictum nisl, placerat lectus hendrerit fermentum. Vestibulum mi semper sodales, porta pellentesque vivamus massa, neque cursus lacus lectus, pellentesque enim nulla porttitor, habitant maecenas quam tristique nunc. Sodales lacinia et, consequat sed. Velit nostra cras ridiculus amet et, accumsan ut lectus etiam quisque eleifend, metus lectus dolorem gravida, nam mattis vestibulum libero aliquet. Euismod vestibulum nulla turpis amet dapibus, sem orci et pellentesque sem nunc. Neque luctus dignissim, pede enim. Posuere blandit quam id, at laoreet placerat, venenatis ut mollis.
Et neque laoreet arcu egestas at. Vel hendrerit nisl, curabitur fermentum. Lectus ligula magna. Rhoncus mollis habitasse etiam in, bibendum imperdiet placerat lorem justo quam, cras fames purus elementum velit eget, dictumst arcu, maecenas eget ipsum. Vitae lacus ut, libero quas, velit ac. Nisl lacus, mauris risus auctor id, sollicitudin eu justo a urna, neque sed interdum. Dictumst mollis bibendum dui, nullam in cursus est pede, ac velit consequatur volutpat neque viverra ornare, amet sed suspendisse. Quis consequat, sed diam vivamus a, eget faucibus et, adipiscing risus tempus nostrud pellentesque magnis. Tristique at ut, malesuada et integer a sodales, pede commodo nulla. Nibh duis rutrum cras aenean odio et, facilisi lacus ut gravida et tortor.
Duis | aute | irure |
---|---|---|
dolor | in reprehenderit | in voluptate velit |
esse cillum dolore | eu fugiat nulla | pariatur. |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
[edit] Unicode and ISO 8859-1
- Obsolete now that en.wikipedia is Unicode:
- ISO-8859-1 characters usable on en.wikipedia (deprecated)
- ISO-8859-1 characters usable on en.wikipedia (wikimedia)
- The wrongtitle template is used to signal English titles limited by ISO-8859-1:
- {{wrongtitle|title=correct title}}
- e.g., {{wrongtitle|title=Tadeáš Hájek}}
- Or the titlelacksdiacritics template:
- {{titlelacksdiacritics|title=correct title}}
[edit] Image borders
Two examples showing ways to put a border around an image, using the Wikimedia Commons current Belarus flag image (which is borderless):
<div style="background-color: #000000; padding: 1px; float: left"> [[Image:Flag_of_Belarus.png|240px|Flag of Belarus]] </div>
{| | style="background-color: #FFFFFF; padding: 0px; border: solid 1px #888888"|[[Image:Flag_of_Belarus.png|240px|Flag of Belarus]] |}
Note that wikitables use a padding of 1 px by default.
[edit] Interwiki
Templates can contain interwiki links; this normally means all pages using the template will have the interwiki, which is usually a bad thing. To link just the templates across wikis, use:
<noinclude>
[[de:Vorlage:Korrekter Titel]]
[[en:Template:Wrongtitle]]
[[es:Plantilla:Título erróneo]]
[[fr:Modèle:titre incorrect]]
</noinclude>
- [[:fr:Cible française|Article in French]] to link to another language Wikipedia entry.
- [[wikt:Target|Target]] to link to English Wiktionary entry.
- [[wikt:fr:Cible|Cible]]to link to another language Wiktionary entry.
- [[m:Target|Target]] to link to Wikimedia entry.
- [[q:Target|Target]] to link to the English Wikiquote
- [[q:fr:Cible|Cible]] to link to another language Wikiquote
- For more, see m:Help:Interwiki linking.
[edit] Misc.
- <span style="font-variant:small-caps">small caps</span> (see also bsm and esm templates)
- {{ed|<template or page name>|}}
- {{stub}}
- #redirect [[correct page]]
- [http://etc caption text]
- <font id="name_of_anchor_without_spaces">anchor 1.</font>
- then: [[page title#name_of_anchor_without_spaces]]
When sections are defined (using ==), you can jump directly without need of an anchor, like this: [[page title#section title]]. See also Help:Section#Section_linking
[[Image:4 Vesta (HST).png|thumb|right|Caption]] (for the syntax, see Wikipedia:Extended image syntax)
[edit] Cross-references
Experimentally, we could have two templates:
- Template:Reflink
- [[{{PAGENAME}}#{{{1}}}|{{{2}}}]]
- Template:Reftarget
- <font id="{{{1}}}"></font>
Then one would mark the targets (in the References section, say) with {{reftarget|<label>}} and insert cross-references to those targets elsewhere as {{reflink|<label>|<text to link>}}. The cross-references would appear as links within the same page ('tween-page linking is already abundantly covered by the usual linking means, obviously).
Note that this does not work within namespaces (e.g. User: pages); in those cases, Template:reflink needs to be modified to read instead [[{{NAMESPACE}}:{{PAGENAME}}#{{{1}}}|{{{2}}}]]. Such within-namespaces templates are unlikely to be needed, so at worst a secondary template could be created (e.g. "Template:reflink_ns").
Rooting through the Template: pages, I see Template:Biohead and Template:Bioxref follow a similar pattern. And I finally found Template:ref, Template:ref_label, Template:note and Template:note_label. They _label versions allow multiple links to a single note, but force the editor to pick the labels, which spoils the autonumbering purpose. Some mentions of AUTOINCREMENT which may need looking into. Very roughly, ref and note create mutual anchors that link to each other; ref uses the http linking mechanism to have the refs auto-numbered; note uses wikilinking to use a default character (^) or user-specified label. With a little tweaking, this is what I get:
- Template:Reflink
- <span class="reference"><sup id="ref_{{{1}}}{{{2|}}}" class="plainlinksneverexpand">[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{{1}}}{{{2|}}} {{{3|}}}]</sup></span>
- Template:Reftarget
- <cite id="endnote_{{{1}}}{{{2|}}}" style="font-style: normal;">[[#ref_{{{1}}}{{{2|}}}|'''<sup>{{{3|^}}}</sup>''']]</cite>
Reflink labels itself as "ref_" with required 1st parameter label, optional 2nd parameter as suffixes, and links to "note_" identically suffixed; the link is auto-numbered by default but accepts an optional 3rd parameter to replace that.
Reftarget does the same (labels itself "note_", suffixed) but displays a wikilink to "ref_", suffixed, using "^" for its default appearance, or optional 3rd parameter instead.
Better names for the templates may be Template:Reflnk and Template:Reftgt.
What is needed is some wiki-supplied way to obtain the "link number" by designating the link's anchor (e.g., given an anchor "ref_" suffixed, obtain the anchored link's number. Or maybe the enclosing span's "rendered contents". Sounds like something HTML/Wiki just can't do, but you never know...
[edit] Useful pages
- Wikipedia:Copyright problems
- Wikipedia:Votes for deletion
- Wikipedia:Bug_reports
- Wikipedia:redirects for deletion
- Wikipedia:Requested moves
Categories: User fr | User fr-N | User fr-4 | User en | User en-5 | Wikipedia administrators | Contributors to the French Wikipedia | Wikipedians who play German-style board games | Wikipedians who use Google Earth | Wikipedians who use Netscape | Wikipedians who own cats | Ophiuchus Wikipedians | Wikipedians in Canada | Wikipedians in Quebec | Wikipedians in Québec City | Creative Commons Attribution-ShareAlike 1.0 Dual License | Creative Commons Attribution-ShareAlike 2.0 Dual License | Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Dual License | Creative Commons Attribution 2.0 License | Creative Commons Attribution-NoDerivs 2.0 License | Creative Commons Attribution-NonCommercial 2.0 License | Creative Commons Attribution-NonCommercial-NoDerivs 2.0 License