This is a Wikipediauser page. This is not an encyclopedia article or the talk page for an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user whom this page is about may have no personal affiliation with any site other than Wikipedia. The original page is located at https://en.wikipedia.org/wiki/User:Urhixidur.
Committed identity: b9fe3741fe2748d46136225dc335e91a8b29a7fd0ac32c4a57782d03ed70c38ee43fa7443646d15f70bb67c7e86c574cd08faec111cdc34f68f17cbc68b09c71 is a SHA-512commitment to this user's real-life identity.
Following the revision of the Wikipedia:Service awards, I'm currently qualified for Senior Editor III. For Master Editor, I match the time requirement (and will match the Master Editor II time requirement in May of 2012) but am still short of the required 42k edit count (41 152 on 2015-08-09, 41 970 on 2017-01-07).
2019 Update: I'm now Master Editor (42.8k on 2019-03-02). I'll reach Master Editor II once the edit count is 51k or more.
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)
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.
Cells centered, table right
Lorem
ipsum
dolor
sit
amet, consectetur
adipisicing elit,
sed do eiusmod
tempor incididunt ut labore
et dolore magna aliqua.
Cells right-aligned, table left
Ut
enim
ad
minim
veniam, quis
nostrud exercitation ullamco
laboris nisi ut
aliquip ex ea
commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipiscing 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.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
Cells left-aligned, table centered
Duis
aute
irure
dolor
in reprehenderit
in voluptate velit
esse cillum dolore
eu fugiat nulla
pariatur.
Lorem ipsum dolor sit amet, consectetur adipiscing 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.
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:
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
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 {{Biohead}} and {{Bioxref}} follow a similar pattern. And I finally found {{ref}}, {{ref_label}}, {{note}} and {{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:
{{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 {{Reflnk}} and {{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...