Difference between revisions of "Template:Intro to single/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(→‎Usage: updated usage)
imported>JzG
m (Reverted edits by Sdkb (talk) to last version by Pppery)
Line 3: Line 3:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== 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, the [[Help:Introduction to Wikipedia]] page, and the [[Help:Introduction to Wikipedia conclusion]] page. It is a single-pane version of the formatting used in the {{tlx|intro to}} templates.
+
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 {{tlx|intro to}} templates.
  
 
<pre>
 
<pre>

Revision as of 15:35, 8 May 2020

Script error: No such module "Uses TemplateStyles".

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