Template:Nutshell/doc: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
m 1 revision imported from meta:Template:Nutshell/doc
template data
Tag: 2017 source edit
Line 16: Line 16:
::becomes:
::becomes:
{{nutshell|title=A nutshell|text}}
{{nutshell|title=A nutshell|text}}
* <pre>{{Nutshell|title=section|text}}</pre>
::becomes:
{{nutshell|title=section|text}}


==Template data==

<templatedata>

{
"params": {
"1": {
"description": "\"Nutshell\" description of main topic.",
"type": "content",
"required": true
},
"2": {
"description": "Formats \"nutshell\" description as bullet list and provides entry for 2nd bullet list.",
"type": "content"
},
"3": {
"description": "Provides entry for 3rd bullet list. Only works if 2 is set as well.",
"type": "content"
},
"title": {
"label": "Title",
"description": "Title of issue/topic for which a \"nutshell\" description is being provided. Some pre-translated options are available, or a custom option can be inserted.",
"type": "content",
"suggestedvalues": [
"guideline",
"policy",
"section"
]
}
},
"paramOrder": [
"1",
"title",
"2",
"3"
],
"format": "inline",
"description": "This infobox template presents a concise summary at the top of pages. It is placed below the title and other infoboxes and above the first paragraph of the main body."
}
</templatedata>
<includeonly>
<includeonly>
<!--Categories-->
<!--Categories-->

Revision as of 04:17, 29 March 2023

Location

This infobox template presents a concise summary at the top of pages. It is placed below the title and other infoboxes and above the first paragraph of the main body.

The template display up to three dot points.

Usage

  • {{nutshell|text}}
becomes:
  • {{nutshell|First bullet point|Second bullet point|Third bullet point}}
becomes:
  • {{Nutshell|title=A nutshell|text}}
  • becomes:
    • {{Nutshell|title=section|text}}
    becomes:

    Template data

    This infobox template presents a concise summary at the top of pages. It is placed below the title and other infoboxes and above the first paragraph of the main body.

    Template parameters

    This template prefers inline formatting of parameters.

    ParameterDescriptionTypeStatus
    11

    "Nutshell" description of main topic.

    Contentrequired
    Titletitle

    Title of issue/topic for which a "nutshell" description is being provided. Some pre-translated options are available, or a custom option can be inserted.

    Suggested values
    guideline policy section
    Contentoptional
    22

    Formats "nutshell" description as bullet list and provides entry for 2nd bullet list.

    Contentoptional
    33

    Provides entry for 3rd bullet list. Only works if 2 is set as well.

    Contentoptional