Difference between revisions of "Template:Intro to single/doc"
Jump to navigation
Jump to search
imported>Sdkb m (→Usage: fixing wrong link) |
imported>Andrybak m (move categorization from main page) |
||
| Line 61: | Line 61: | ||
* [[Template:intro to]] - the multiple tab variant on this template formatting | * [[Template:intro to]] - the multiple tab variant on this template formatting | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | + | [[Category:Wikipedia quick introduction templates]] | |
}}</includeonly> | }}</includeonly> | ||
Revision as of 19:51, 26 February 2020
| This is a documentation subpage for Template:Intro to single. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This is a single-page template for the "Introduction to x" tutorial series. It is primarily used to format the main Help:Introduction menu page. It is a single-pane version of the formatting used in the {{intro to}} templates.
{{Intro to single
| title =
| lead =
| top =
| leftimg =
| left1 =
| left2 =
| rightimg =
| right1 =
| right2 =
| arrow =
| arrowheight =
| bottom =
| base =
}}
| Name | Allowed values | Default value | Function & notes |
|---|---|---|---|
| title | text | (optional) | main title for page |
| lead | text | (optional) | first section, appears in light grey area |
| top | text | (optional) | second section, appears in main (white) area |
| leftimg | image | (optional) | image to appear at top of left section |
| left1 | text | (optional) | text header at top of left panel |
| left2 | text | (optional) | list of links for left panel |
| rightimg | image | (optional) | image to appear at top of right section |
| right1 | text | (optional) | text header at top of right panel |
| right2 | text | (optional) | list of links for right panel |
| bottom | text | (optional) | text and links to appear at bottom of main section |
| base | text | (optional) | text and links to appear in a grey section at base of main section |
| align | plain text | (optional, default to center) |
alignment of top |
| arrow | plain text | (optional, default to not shown) |
show arrow using |arrow=show|
|
| arrowheight | integer | (optional, default to 350px) |
sets height of arrow |
| noborder | y | (optional) | removes border in the center |
| nocat | y n | (optional) | disables automatic categorization |
See also
- Template:intro to - the multiple tab variant on this template formatting