Difference between revisions of "Template:Instruction editnotice"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(second example)
imported>Sdkb
(no link, alt in example)
Line 28: Line 28:
 
{{Instruction editnotice
 
{{Instruction editnotice
 
|header =
 
|header =
|image = Information icon4.svg
+
|image = Information icon4.svg{{!}}link={{!}}alt=
 
|text = To keep this list sortable, when adding a new entry using the [[WP:Source editor|source editor]], please use {{tlx|sortname|GIVEN NAME(S)|SURNAME}}. Thanks!
 
|text = To keep this list sortable, when adding a new entry using the [[WP:Source editor|source editor]], please use {{tlx|sortname|GIVEN NAME(S)|SURNAME}}. Thanks!
 
}}
 
}}

Revision as of 22:16, 19 December 2020

Template documentation

This template should be used for editnotices that provide instruction on how to edit a page.

Template:Wrapper template Please refer to {{editnotice}} for documentation—all parameters from there will work with this template, but the header, image, style, and expiration are set by default here to encourage consistent formatting.

Example 1

{{Instruction editnotice
|text = To keep this list sortable, when adding a new entry using the [[WP:Source editor|source editor]], please use {{tlx|sortname|GIVEN NAME(S)|SURNAME}}. Thanks!
}}

This will generate the following:

Example 2

This uses some parameters from {{editnotice}} to override the default values here.

{{Instruction editnotice
|header =
|image = Information icon4.svg
|text = To keep this list sortable, when adding a new entry using the [[WP:Source editor|source editor]], please use {{tlx|sortname|GIVEN NAME(S)|SURNAME}}. Thanks!
}}

This will generate the following: