• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Helpbox/sandbox

  • Language
  • Watch
  • View source
< Template:Helpbox
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Helpbox (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 2,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.
CSSThis template uses TemplateStyles:
  • Template:Helpbox/styles.css
{{{title}}}
{{{group1}}}
{{{list1}}}
{{{group2}}}
{{{list2}}}
{{{list3}}}
without {{{group3}}}
ditto {{{list4}}}
{{{group5}}}
{{{group6}}}
{{{list6}}}
...... etc ......
{{{group20}}}
{{{list20}}}

This template allows a help-related navigation template to be set up relatively quickly by supplying it with one or more lists of links.

Contents

  • 1 Usual syntax
  • 2 Parameters
    • 2.1 Required
    • 2.2 Optional
  • 3 Example

Usual syntax

<syntaxhighlight lang="wikitext" style="overflow:auto;">

</syntaxhighlight>

Parameters

Required

title  (or, if templatename used (see below), name)
The template's title, centered at the top of the template.
listn
(i.e. list1, list2, etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <div>...</div>. At least one list parameter is required. Each listn may be preceded by a corresponding groupn parameter, if provided (see below). There is a limit of 20 lists/groups in a template.

Optional

groupn
(i.e. group1, group2, etc.) If specified, text appears in a header displayed above listn.
first unnamed parameter
Inline CSS for the template.
name  (or, if name used as above, templatename)
The template's pagename, activating the inclusion of the V•T•E links in its bottom righthand corner. Template:Helpbox's pagename, for example, is "Helpbox".

Example

Wikipedia policy
Article standards
  • Neutral point of view
  • Verifiability
  • No original research
  • Biographies of living persons
Working with others
  • Civility
  • Consensus
  • No personal attacks
  • Dispute resolution
  • No legal threats
Global principles
  • What Wikipedia is not
  • Ignore all rules
  • v
  • t
  • e

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Wikipedia policy
Article standards
  • Neutral point of view
  • Verifiability
  • No original research
  • Biographies of living persons
Working with others
  • Civility
  • Consensus
  • No personal attacks
  • Dispute resolution
  • No legal threats
Global principles
  • What Wikipedia is not
  • Ignore all rules
  • v
  • t
  • e

</syntaxhighlight>

The above documentation is transcluded from Template:Helpbox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Helpbox/sandbox&oldid=1755706"
Last edited on 16 October 2017, at 01:46

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 16 October 2017, at 01:46.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop