Difference between revisions of "Template:Hidden information/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Examples formatting, surplus braces, category update)
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 24: Line 24:
 
<br/><code><nowiki>{{Hidden infoboxes|abc|title=def}}</nowiki></code> produces: {{Hidden infoboxes|abc|title=def}}
 
<br/><code><nowiki>{{Hidden infoboxes|abc|title=def}}</nowiki></code> produces: {{Hidden infoboxes|abc|title=def}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Box templates]]
 
[[Category:Box templates]]
</includeonly>
+
}}</includeonly>

Revision as of 16:51, 25 April 2020

Function

This template is a shortcut to format {{hidden}} for information on talk pages, enclosed within an {{mbox}}

Syntax

usage

{{hidden infoboxes|title=|info=}}

  • you can optionally name the box using the 'title=' parameter
  • add any templates and meta-information between the 'info=' and '}}'

Style

This template creates a dynamic navigation box using style sheet declarations in MediaWiki:Common.css and Javascript code in MediaWiki:Common.js.

Examples

{{Hidden infoboxes|info=abc}} produces:


{{Hidden infoboxes|title=abc}} produces:


{{Hidden infoboxes|title=def|info=abc}} produces:


{{Hidden infoboxes|title=abc|def}} produces:


{{Hidden infoboxes|abc|title=def}} produces: