Difference between revisions of "Template:Nutshell"

(Don't need to use a table)
m (Fixing it up)
Line 1: Line 1:
<div class="messagebox" id="pnutshell">
+
{{header Template|[[File:Nutshell.png|30px|link=|alt=]]|'''{{{title|This page}}} in a nutshell:''' {{#if:{{{2|}}}
[[Image:Nutshell{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|-talk}}.png|30px]]
+
| * {{{1}}}  
'''{{{title|This page}}} in a nutshell:''' {{#if:{{{2|}}}|*{{{1}}}
+
* {{{2}}} {{#if:{{{3|}}}  
*{{{2}}}{{#if:{{{3|}}}|
+
| * {{{3}}}
*{{{3}}}}}|{{{1}}}}}
+
}}
</div>
+
| {{{1}}}
 
+
}}
 +
}}
 
<noinclude>
 
<noinclude>
==Location==
+
{{/doc}}
This infobox template presents a concise summary at the top of [[:Category:Policies|'''BattleTechWiki''' policy and guideline]] pages. It is placed below the title and other infoboxes and above the first paragraph of the main body.
 
[[Category:Infobox templates|Nutshell]]
 
 
 
 
</noinclude>
 
</noinclude>

Revision as of 02:49, 30 June 2021

[[Image:{{{image}}}|64px| ]]
{{{message}}}


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

  • Use the nutshell summary to make Wikipedia more inviting to new users.
  • Nutshell entries must be brief overviews, with a very high meaning to number of words ratio.
  • Make sure each word in the nutshell carries significant weight, "make every word tell".
  • Wikilink to other pages to create a "nut trail" of pages with nutshells.

This template can also be used on other pages, for instance on how-to guides. But it should not be used in articles.

Usage

{{nutshell|text}}

Renders like this:

[[Image:{{{image}}}|64px| ]]
{{{message}}}


{{nutshell|First bullet point.|Second bullet point.|Third bullet point.}}

yields:

[[Image:{{{image}}}|64px| ]]
{{{message}}}


{{Nutshell|title=That's me|Concise summary of this page.}}

yields:

[[Image:{{{image}}}|64px| ]]
{{{message}}}


{{Nutshell|title=That's me|Concise summary of this page.|shortcut=me}}

yields:

[[Image:{{{image}}}|64px| ]]
{{{message}}}


{{Nutshell|title=That's me|Concise summary of this page.|shortcut=me|shortcut2=you|shortcut3=them|shortcut4=us|shortcut5=everyone}}

yields:

[[Image:{{{image}}}|64px| ]]
{{{message}}}


See also

List of parameters for this template

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Nutshell text2

Brief summary that make page more inviting to new users

Stringrequired
Bullet point #23

no description

Unknownoptional
Bullet point #34

no description

Unknownoptional
Bullet point #45

no description

Unknownoptional
Titletitle 1

Text that replace "This page" into the text you inserted

Example
That's me
Stringoptional
Shortcutshortcut shortcut1

no description

Unknownoptional
Shortcut2shortcut2

no description

Unknownoptional
Shortcut3shortcut3

no description

Unknownoptional
Shortcut4shortcut4

no description

Unknownoptional
Shortcut5shortcut5

no description

Unknownoptional