Template:Tag/doc
Appearance
This is a documentation subpage for Template:Tag. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]This template provides a means to insert simple HTML example tags into pages, without necessarily having to escape these with <nowiki>...</nowiki>
or <syntaxhighlight>...</syntaxhighlight>
.
Parameters
[edit]- 1: tag
- 2: pair
- wrap: wrapping behavior
- style:
plain
forborder:none;background:transparent;
, or style attributes - params/attribs: attributes of tag
- content: content between tags
A way to insert simple HTML example tags into pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 tag | tag
| String | suggested |
2 | 2 pair | pair
| String | suggested |
wrap | wrap | wrapping behavior
| Boolean | optional |
style | style | style for the code block
| Content | optional |
attribs | attribs params | attributes of tag
| Content | optional |
content | content | content between tags, when second parameter is set to pair | Content | optional |