User:Jochem van Hees/sandbox/2

From WikiProjectMed
Jump to navigation Jump to search

This sandbox is currently used for technical editing tests.

Short description tests

Template:Infobox musical artist/sandbox

this is a test
Occupation(s)testing things

Anchor tests

Various ways to place anchors around section headers. See also the (currently conflicting) rationales at Template:Anchor/doc § Rationale for placement above header and Wikipedia:Manual of Style § SECTIONSTYLE.

There's an active discussion about this at Wikipedia talk:Manual of Style § Instructions on the placement of "Anchor" templates

Below header

The disadvantage of this is that links to this section scroll a bit too far down so that the header isn't visible.

In header, unsubstituted

The disadvantage of this is that template transclusions within section headers are disallowed by MOS:HEADINGS. Also, when editing this section, the template name also appears in the edit summary (which looks messy), and after publishing changes you are taken to the top of the page, not to the section you edited.

In header, substituted

The disadvantage of this is that it makes the wikicode look ugly, and it may confuse readers.

Above header

The disadvantage of this is that the anchor only shows up when editing the above section, and not when editing this section. Also, when editing the above section, the editor automatically puts a blank line between the anchor and the header (which is in this case undesireable).

Bug T248645

This is a test for a bug report on Wikimedia Phabricator: T248645. All tables below have the same content, but have different classes.

Collapsed and sortable

This table has the classes wikitable sortable mw-collapsible mw-collapsed.

Big header
Column 1 Column 2 Column 3
Value 1 Value 2 Value 3

Not collapsed

This table has the classes wikitable sortable mw-collapsible.

Big header
Column 1 Column 2 Column 3
Value 1 Value 2 Value 3

Not sortable

This table has the classes wikitable mw-collapsible mw-collapsed.

Big header
Column 1 Column 2 Column 3
Value 1 Value 2 Value 3

X16