Difference between revisions of "Template:Hidden information/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus m (Sardanaphalus moved page Template:Hidden infoboxes/doc to Template:Hidden information/doc: Per template page) |
imported>Sardanaphalus (Examples formatting, surplus braces, category update) |
||
| Line 3: | Line 3: | ||
===Function=== | ===Function=== | ||
| − | This template is a shortcut to format {{tl|hidden}} for | + | This template is a shortcut to format {{tl|hidden}} for information on talk pages, enclosed within an {{tl|mbox}} |
===Syntax=== | ===Syntax=== | ||
| Line 17: | Line 17: | ||
===Examples=== | ===Examples=== | ||
| − | {{evd|Hidden infoboxes|abc}} | + | <!--{{evd|Hidden infoboxes|abc}}--> |
| + | <code><nowiki>{{Hidden infoboxes|info=abc}}</nowiki></code> produces: {{Hidden infoboxes|info=abc}} | ||
| + | <br/><code><nowiki>{{Hidden infoboxes|title=abc}}</nowiki></code> produces: {{Hidden infoboxes|title=abc}} | ||
| + | <br/><code><nowiki>{{Hidden infoboxes|title=def|info=abc}}</nowiki></code> produces: {{Hidden infoboxes|title=def|info=abc}} | ||
| + | <br/><code><nowiki>{{Hidden infoboxes|title=abc|def}}</nowiki></code> produces: {{Hidden infoboxes|title=abc|def}} | ||
| + | <br/><code><nowiki>{{Hidden infoboxes|abc|title=def}}</nowiki></code> produces: {{Hidden infoboxes|abc|title=def}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
| − | [[Category: | + | [[Category:Box templates]] |
</includeonly> | </includeonly> | ||
Revision as of 10:24, 6 September 2014
| 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 |