Difference between revisions of "Template:Hidden information/doc"
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
| This is a documentation subpage for Template:Hidden information. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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:
more information abc |
{{Hidden infoboxes|title=abc}} produces:
abc No information available. |
{{Hidden infoboxes|title=def|info=abc}} produces:
def abc |
{{Hidden infoboxes|title=abc|def}} produces:
abc def |
{{Hidden infoboxes|abc|title=def}} produces:
def abc |