Difference between revisions of "Template:Box Note"

(Tag: 2017 source edit)
(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

Template parameters

Parameter Description Type Status
Boxtype boxtype

Possible values: note, tip, warning, important, example

Default
note
Example
note
Auto value
empty
String required
Note text Note text

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
<div class="infobox notification-{{{boxtype}}}">
        <span class="boxlabel">
        
        {{#switch: {{{boxtype}}}
        
         | note = Note:
        
         | tip = Tip:
        
         | warning = Warning:
        
         | example = Example:
        
         | important = Important:!
        
         | backgroundbox =
        
         | #default = Note:
        
        }}
        </span>{{{Note text}}}
        </div>
        <noinclude>
        
        Kopiervorlage:
        <pre>
        
        {{Box_Note|Note text =}}
        </pre>
        <templatedata>
        
        {
        
        	"params": {
        
        		"boxtype": {
        
        			"description": "Possible values: note, tip, warning, important, example",
        
        			"example": "note",
        
        			"type": "string",
        
        			"default": "note",
        
        			"required": true
        
        		},
        
        		"Note text": {}
        
        	},
        
        	"description": "To add standard infoboxes such as notes or related links to a page"
        
        }
        </templatedata>
        </noinclude>
Line 6: Line 6:
 
  | warning = Warning:
 
  | warning = Warning:
 
  | example = Example:
 
  | example = Example:
  | important = Important:
+
  | important = Important!
 
  | backgroundbox =
 
  | backgroundbox =
 
  | #default = Note:
 
  | #default = Note:

Attachments

Discussions