« Modèle:Helpbox » : différence entre les versions
(Page créée avec « <includeonly>{{Sidebar | name = {{#if:{{{templatename|}}} |{{{templatename}}} |{{{name|{{PAGENAME}}}}} }} | templatestyles = Template:Helpbox/styles.css | child templatestyles = {{{child templatestyles|}}} | float = {{{float|}}} | class = help-box noprint {{{class|{{{bodyclass|}}}}}} | style = {{{1|}}} | titlestyle = {{{titlestyle|}}} | title = {{{title|{{{name|}}}}}} | headingstyle = {{{headingstyle|}}} | heading1 = {{{group1|}}} | content1 = {{{list1|}}} |... ») |
(Aucune différence)
|
Version du 23 mars 2023 à 10:52
Fichier:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Modèle:Documentation subpage Modèle:Intricate template Modèle:Uses TemplateStyles Modèle:Generic template demo
This template allows a help-related navigation template to be set up relatively quickly by supplying it with one or more lists of links.
Usual syntax
{{Helpbox
| name = <!-- or: | templatename = -->
| title = <!-- or, if templatename used: | name = -->
| group1 =
| list1 =
| group2 =
| list2 =
<!-- etc, to: -->
| group20 =
| list20 =
}}
Parameters
Required
- title Modèle:Nobold nameModèle:Nobold
- The template's title, centered at the top of the template.
- listn
- (i.e. list1, list2, etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within Modèle:Tag. At least one list parameter is required. Each listn may be preceded by a corresponding groupn parameter, if provided (see below). There is a limit of 20 lists/groups in a template.
Optional
- groupn
- (i.e. group1, group2, etc.) If specified, text appears in a header displayed above listn.
- first unnamed parameter
- Inline CSS for the template.
- name Modèle:Nobold templatenameModèle:Nobold
- The template's pagename, activating the inclusion of the Modèle:Smaller links in its bottom righthand corner. Template:Helpbox's pagename, for example, is "Helpbox".
Example
{{Helpbox |width:17.5em
| name = Helpbox/doc
| class = plainlist
| title = [[:Category:Wikipedia policies|Wikipedia policy]]
| group1 = Article standards
| list1 =
*[[Wikipedia:Neutral point of view|Neutral point of view]]
*[[Wikipedia:Verifiability|Verifiability]]
*[[Wikipedia:No original research|No original research]]
*[[Wikipedia:Biographies of living persons|Biographies of living persons]]
| group2 = Working with others
| list2 =
*[[Wikipedia:Civility|Civility]]
*[[Wikipedia:Consensus|Consensus]]
*[[Wikipedia:No personal attacks|No personal attacks]]
*[[Wikipedia:Dispute resolution|Dispute resolution]]
*[[WP:LEGAL|No legal threats]]
| group3 = Global principles
| list3 =
*[[Wikipedia:What Wikipedia is not|What Wikipedia is not]]
*[[Wikipedia:Ignore all rules|Ignore all rules]]
}}