Jump to content

User:Newwhist/sandbox/Project Wiki/Useful Wiki codes

From Wikipedia, the free encyclopedia

Clear

[edit]
  • clear next line to bottom of adjacent tables and images: <br clear="all"> or {{clear}}

Show template

[edit]
Header!
Content! This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
Header!
Content! This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
 
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.


Header!
Content! This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.

Date formats

[edit]
  • Birth date: {{birth date|1950|7|7}} (default)                                (1950-07-07)July 7, 1950
  • Birth date: {{birth date|1950|7|7|mf=y}} (mf = month first)       (1950-07-07)July 7, 1950
  • Birth date: {{birth date|1950|7|7|df=y}} (df = day first)            (1950-07-07)7 July 1950
  • Birth date and age: {{Birth date and age|1950|07|07}}          (1950-07-07) July 7, 1950 (age 74)
  • BirthDeathAge: {{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |[year of birth] | [month of birth] | [day of birth] | [year of death] |[month of death] | [day of death]}} July 7, 2016(2016-07-07) (aged 66)
  • C Age in days: 27166
  • C Age in years and days: 74 years, 137 days
  • C Age in years: 74
  • N Age in years and days: 66 years, 3 days
  • N Age in years: 66
  • N PE in years and days 40 years, 117 days
  • N Age in days: 24110
  • 27166-24110 =3056
  • (1989-08-09) (1989-08-15)9–15 August 1989
    (6 days)
  • (1989-08-09) (1989-08-15)9–15 August 1989
    (6 days)

Delete user space pages

[edit]

To delete a user space/sandbox put {{db-userreq}} on the top of the page and an admin will stop by and delete it; suggest blanking the page content, except for the {{db-userreq}} part, and be sure to leave an edit summary about your intentions.

Columns

[edit]

MultiCol

[edit]

{{MultiCol}} First column {{ColBreak}} Second column {{ColBreak}} Third column {{ColBreak}} Fourth column {{ColBreak}} Fifth column {{EndMultiCol}}

Col-begin

[edit]

Div col

[edit]

{{Div col|gap=1em|colwidth=20em}} * 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 {{Div col end}}

  • 1

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.

  • 2

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.

  • 3

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.

  • 4

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.

  • 5

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.

  • 6

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.

  • 7

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.

  • 8

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.

{{Div col|rules=yes|gap=1em|small=yes|colwidth=15em}} * 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 {{Div col end}}

  • 1

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.

  • 2

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.

  • 3

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.

  • 4

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.

  • 5

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.

  • 6

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.

  • 7

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.

  • 8

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.

Math

[edit]

See: Math Symbols

Fractions

[edit]

To allow numerical sorting of a column containing fractions, use {{sortfrac}}. It is a combination of this template and {{sort}}.

{{frac|A|B|C}}
A+BC (integer, numerator and denominator)
{{frac|A|B}}
AB (numerator and denominator)
{{frac|A}}
1A (denominator only)
{{frac}}
(fraction slash only)

Other

[edit]
X × Y
X × Y (multiplication)

A cladogram

[edit]

(red section, to be expanded)

(green section, to be expanded)

(blue section, to be expanded)

Grey fox

Island fox

Black bear

Giant panda

Northern elephant seal

Walrus

test1

[edit]
all
by governing body
world level

Discontinued

Current

national level

Discontinued

Current

no governing body

Discontinued

Current

Symbols and pictures

[edit]

Gallery of sovereign state flags

List of XML and HTML character entity references

 Done

Resolved
 – Add a comment


No comments


 Working

 Fixed

Reply to

[edit]

{{Reply to|User:Newwhist}} produces @Newwhist:

This template triggers a notification to one or several registered user(s) you are replying to in a discussion. It is an alternative for the {{talkback}} template. It works on any talk page or Wikipedia namespace page.

Chess diagram

[edit]
a10b10c10d10e10f10g10h10i10j10
a9b9c9d9e9f9g9h9i9j9
a8b8c8d8e8f8g8h8i8j8
a7b7c7d7e7f7g7h7i7j7
a6b6c6d6e6f6g6h6i6j6
a5b5c5d5e5f5g5h5i5j5
a4b4c4d4e4f4g4h4i4j4
a3b3c3d3e3f3g3h3i3j3
a2b2c2d2e2f2g2h2i2j2
a1b1c1d1e1f1g1h1i1j1
abcdefghij
10a10 white circleb10 black circlec10 white circled10 black circlee10 white circlef10 black circleg10 white circleh10 black circlei10 white circlej10 black circle10
9a9 black circleb9 white circlec9 black circled9 white circlee9 black circlef9 white circleg9 black circleh9 white circlei9 black circlej9 white circle9
8a8 white circleb8 black circlec8 white circled8 black circlee8 white circlef8 black circleg8 white circleh8 black circlei8 white circlej8 black circle8
7a7 black circleb7 white circlec7 black circled7 white circlee7 black circlef7 white circleg7 black circleh7 white circlei7 black circlej7 white circle7
6a6 white circleb6 black circlec6 white circled6 black circlee6 white circlef6 black circleg6 white circleh6 black circlei6 white circlej6 black circle6
5a5 black circleb5 white circlec5 black circled5 white circlee5 black circlef5 white circleg5 black circleh5 white circlei5 black circlej5 white circle5
4a4 white circleb4 black circlec4 white circled4 black circlee4 white circlef4 black circleg4 white circleh4 black circlei4 white circlej4 black circle4
3a3 black circleb3 white circlec3 black circled3 white circlee3 black circlef3 white circleg3 black circleh3 white circlei3 black circlej3 white circle3
2a2 white circleb2 black circlec2 white circled2 black circlee2 white circlef2 black circleg2 white circleh2 black circlei2 white circlej2 black circle2
1a1 black circleb1 white circlec1 black circled1 white circlee1 black circlef1 white circleg1 black circleh1 white circlei1 black circlej1 white circle1
abcdefghij
test caption

Reference templates

[edit]

{{cite news |last= |first= |date= |title= Blank newspaper citation |url= |url-status= |work= |location= |archive-url= |archive-date= |access-date=}}