Template:Intro to single/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
(bypass redirect)
 
imported>Pppery
(Fix for SpaceX fork)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{uses TemplateStyles|Template:Intro to single/styles.css}}
{{uses TemplateStyles|{{FULLPAGENAME}}/styles.css}}
<!-- 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 ==

Latest revision as of 19:27, 21 January 2022

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/Conclusion 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