Template:Tool infobox: Difference between revisions

From TeamSpec Wiki
Jump to navigation Jump to search
Template: tool infobox
 
TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes
 
Line 1: Line 1:
<includeonly>{| style="float:right;clear:right;width:280px;margin:0 0 12px 16px;border:1px solid #a2a9b1;background:#f8f9fa;color:#202122;font-size:90%;border-collapse:collapse;"
<includeonly>{| class="ts-infobox" style="float:right;clear:right;width:280px;margin:0 0 12px 16px;font-size:90%;border-collapse:collapse;"
|-
|-
! colspan="2" style="background:#dbe4f3;padding:6px;font-size:115%;text-align:center;" | {{{name|{{SUBPAGENAME}}}}}
! class="ts-infobox-title" colspan="2" style="padding:6px;font-size:115%;text-align:center;" | {{{name|{{SUBPAGENAME}}}}}
|-
|-
| style="padding:4px 6px;vertical-align:top;font-weight:bold;width:35%;" | Where
| style="padding:4px 6px;vertical-align:top;font-weight:bold;width:35%;" | Where

Latest revision as of 08:01, 20 October 2026

A box at the top right of every tool page saying where the tool is, its shortcut and what it makes or edits.

Usage

{{Tool infobox
| name     = Clip
| location = Toolbar
| shortcut = {{Key|Shift}}+{{Key|C}} cycles what is kept
| makes    = Cuts selected brushes along a plane
| settings = None
}}

Parameters

  • name: the tool's name. Defaults to the page's own name.
  • location: where you pick the tool (toolbar, a menu).
  • shortcut: optional. Default keys that belong to the tool.
  • makes: what it makes or edits.
  • settings: optional. Where its settings are.

Needs the ParserFunctions extension for #if.