Difference between revisions of "Template:Block notice/doc"
Jump to navigation
Jump to search
imported>Andrybak (→Parameters: fix defaults) |
imported>Andrybak (→Parameters: add more parameters) |
||
| Line 10: | Line 10: | ||
;{{para|temp or indef}} | ;{{para|temp or indef}} | ||
:Whether or not the template supports parameters {{para|time}} and {{para|indef|yes}}, which differentiate between temporary and indefinite blocks. Default is <code>no</code>. | :Whether or not the template supports parameters {{para|time}} and {{para|indef|yes}}, which differentiate between temporary and indefinite blocks. Default is <code>no</code>. | ||
| + | ;{{para|extra usage before}} | ||
| + | :Extra text after the first paragraph in section "Usage", which goes ''before'' a detailed example of template's usage. | ||
| + | ;{{para|see also}} | ||
| + | :Additional wikitext for the section "See also". It will be added before the big table {{tl|Block templates}}. | ||
=== Usage example parameters === | === Usage example parameters === | ||
Revision as of 14:32, 3 July 2020
| This is a documentation subpage for Template:Block notice. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Place this template at the bottom of block-notice template pages, inside of <noinclude> tags, such as:
<noinclude>{{Block notice|banners={{Twinkle standard installation}}}}</noinclude>
Parameters
|banners=- Additional banners (aka header templates) to put at the top of documentation at the template page, like {{Twinkle standard installation}}.
|temp or indef=- Whether or not the template supports parameters
|time=and|indef=yes, which differentiate between temporary and indefinite blocks. Default isno. |extra usage before=- Extra text after the first paragraph in section "Usage", which goes before a detailed example of template's usage.
|see also=- Additional wikitext for the section "See also". It will be added before the big table {{Block templates}}.
Usage example parameters
|allow notalk=- Whether or not the template supports parameter
|notalk=, which indicates, whether the block includes revoking of the ability to edit own talk page or not. Default isyes. |allow anon=- Whether or not the template supports parameter
|anon=. Default isyes. |extra params=- Wikitext for the additional parameters in the template's usage example. For example,
{{!}}name{{=}}<var>value</var>{{!}}flag{{=}}yes.
See also