You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "Template:Box Note"
m (Tag: 2017 source edit) |
m (Tag: 2017 source edit) |
Note:{{{Note text}}}
Kopiervorlage:
{{Box_Note|Note text =}}
To add standard infoboxes such as notes or related links to a page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Boxtype |
boxtype
|
Type of infobox
|
String | required |
Note text |
Note text
|
no description
|
String | optional |
<div class="infobox note{{#ifeq:{{{boxtype|}}}|{{{boxtype}}}}}"> <span class="boxlabel">Note:</span>{{{Note text}}} </div> <noinclude> Kopiervorlage: <pre> {{Box_Note|Note text =}} </pre> <templatedata> { "params": { "boxtype": { "description": "Type of infobox", "example": "Note", "type": "string", "default": "Note", "required": true }, "Note text": { "type": "string" } }, "description": "To add standard infoboxes such as notes or related links to a page" } </templatedata> </noinclude>
Line 1: | Line 1: | ||
− | <div class="infobox | + | <div class="infobox{{#ifeq:{{{boxtype|}}}|{{{boxtype}}}}}"> |
<span class="boxlabel">Note:</span>{{{Note text}}} | <span class="boxlabel">Note:</span>{{{Note text}}} | ||
</div> | </div> | ||
Line 7: | Line 7: | ||
{{Box_Note|Note text =}} | {{Box_Note|Note text =}} | ||
</pre> | </pre> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "boxtype": { | ||
+ | "description": "Type of infobox", | ||
+ | "example": "Note", | ||
+ | "type": "string", | ||
+ | "default": "Note", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Note text": { | ||
+ | "type": "string" | ||
+ | } | ||
+ | }, | ||
+ | "description": "To add standard infoboxes such as notes or related links to a page" | ||
+ | } | ||
+ | </templatedata> | ||
</noinclude> | </noinclude> |