Wikipedia:Template index/Format

From Wikipedia, the free encyclopedia

Note: This page contains details of templates relating to formatting.

Templates related to descriptions (such as disambiguation, spoiler, wikicode) are listed under Template messages/General.

Templates related to issues and disputes with articles, including NPOV, are listed under Disputes templates.

More information What to type, What it makes ...
What to typeWhat it makesWhere it goes
{{divbox}}

edit
Talk
Links

Example of box, usage instructions

{{divbox|box color|title|content}}

The box has the full available width. In this example the width is reduced by the fact that the box is placed in a table.

gray
forest
red
none
Anywhere;
but be aware that excessive boxes may offend some users. Available in a range of styles; see Talk.
{{userboxtop}}

(edit Talk Links)
& {{userboxbottom}} edit Talk Links)

Collects userboxes into a single column grouping easily.

{{Col-begin}}
{{Col-break}}
This is column 1. Text is wrapped appropriately.
{{Col-break|gap=1em}}
This is column 2. Text is wrapped appropriately.
{{Col-break|gap=1em}}
This is column 3. Text is wrapped appropriately.
{{col-end}}

This can be used anywhere. Creates multiple columns in a single row. You can have as many columns as you want. Text is wrapped appropriately, and a margin prevents text in one column from touching text in another column. You can use any Wiki markup within the columns created by these templates.

{{col-begin}}
{{col-3}}
Column 1 here
{{col-3}}
Column 2 here
{{col-3}}
Column 3 here
{{col-end}}

{{image frame|width=175|content= [[File:Wiki.png|80px]] [[File:Wiki.png|80px]]|caption=Wiki logos}}

edit
Talk
Links

Wikipedia logos
For wrapping more than one image in a single image-and-caption box
{{hidden|header=TITLE|content=Body text}}

edit
Talk
Links

TITLE
Body text
Hide / show boxes
{{key press|Ctrl|F5}} Ctrl+F5 To illustrate keystrokes, both in articles and Wikipedia help pages.
 {{flatlist|
 * All's well that ends well 
 * Do unto others as you would have them do unto you 
 * All the world's a stage 
 * No pain, no gain 
 * Six to one, half dozen the other 
 * A stitch in time saves nine 
 * One fish, two fish, red fish, blue fish }}
  • All's well that ends well
  • Do unto others as you would have them do unto you
  • All the world's a stage
  • No pain, no gain
  • Six to one, half dozen the other
  • A stitch in time saves nine
  • One fish, two fish, red fish, blue fish
Can be used anywhere. Creates an inline list that wraps correctly (i.e., only after the delimiter)
Close


Related Articles

Wikiwand AI