Jump to content

Template:Phases of Operation Car Wash Compact TOC/doc

From Wikipedia, the free encyclopedia

This template is intended for use by Phases of Operation Car Wash. See WP:REPLACETOC for how to replace the main Table of Contents.

Usage

[edit]

A simple invocation prints the numbered phases of Operation Car Wash:

{{Phases of Operation Car Wash Compact TOC}}

When invoked from Phases of Operation Car Wash, the following shorthand may be used:

{{{{ARTICLEPAGENAME}} Compact TOC}}

Parameters

[edit]
  • |type=  – controls type of output desired; legal values: Operation or Phase (default: 'Phase')
  • |title=  – adds a centered title above the compact links
  • |size=  – alters the font-size (default: 90%)
  • |style=  – optional param to add additional style; values: legal css (default: a bordered, titleless box with light-blue background and 90% font size)

Examples

[edit]

The simplest version with no args creates numbered phase links:

{{ARTICLEPAGENAME}} Compact TOC}}

You can add a title at the top of the box, and styling:

{{ARTICLEPAGENAME}} Compact TOC|style=margin:0 24em 0 2em|size=100%|title=Phases}}

Specifying |type=Operation gives a list of alphabetized operation names, instead of the numbered phase links; the |size= param sets the font-size to standard-size, instead of the default (90%):

{{{{ARTICLEPAGENAME}} Compact TOC|type=Operation|title=Operations|size=100%}}

Phase is the default |type= so it's not necessary to specify it. Example showing added right margin:

{{{{ARTICLEPAGENAME}} Compact TOC|title=Phases|size=85%|style=margin-right:12em}}

See also

[edit]