Jump to content

Wikipedia:Template index/Format: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m cap consistency across page
No edit summary
Line 33: Line 33:
|{{divbox|black||<code>black</code>}}
|{{divbox|black||<code>black</code>}}
|}
|}
| Anywhere;<br> '''''but''''' be aware excessive boxes may offend some users. Available in a range of styles; see Talk.
| Anywhere;<br> '''''but''''' be aware that [[WP:UNBOX|excessive boxes may offend some users]]. Available in a range of styles; see Talk.
|-
|-
<!-- End DIVBOX -->
<!-- End DIVBOX -->

Revision as of 05:21, 5 August 2011

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.

What to type What it makes Where it goes
{{divbox}}

edit
Talk
Links

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.

{{multiCol}}
This is column 1. Text is wrapped appropriately.
{{colBreak}}
This is column 2. Text is wrapped appropriately.
{{colBreak}}
This is column 3. Text is wrapped appropriately.
{{endMultiCol}}

Template:MultiCol

This is column 1. Text is wrapped appropriately.

This is column 2. Text is wrapped appropriately.

This is column 3. Text is wrapped appropriately. Template:EndMultiCol

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}}

{{imageframe|width=175|content= [[Image:Wiki.png|80px]] [[Image:Wiki.png|80px]]|caption=Wiki logos}}

edit
Talk
Links

Wiki 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.
{{do list|delim = ••|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}} Template:Do list Can be used anywhere. Creates an inline list with an arbitrary delimiter that wraps correctly (i.e., only after the delimiter)