Difference between revisions of "Template:Centralized discussion/doc"

From blackwiki
Jump to navigation Jump to search
imported>Levivich
(→‎Style: clearer?)
({{clear}})
Line 1: Line 1:
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{high-use}}
 
{{shortcut|T:CENT}}
 
{{No substitution}}
 
{{hatnote|You may be looking for [[Template:Central]] instead.}}
 
This is the {{tl|centralized discussion}} template.
 
 
It maintains a compact index to active discussions of potential community-wide interest. For instructions on when and where to use this template, see [[Wikipedia:Centralized discussion]].
 
 
This template is normally placed near the top of pages.
 
 
This template should ''always'' be transcluded, never substituted, or you will miss the updates to this template.
 
 
=== Adding items ===
 
 
To add a new item to the list of centralized discussions, edit the [[Template:Centralized discussion]] page. Look for the HTML comments that indicate where the list is. Add new items to the top of the list. Be aware that the list is actually a parameter to another template, so it cannot contain bare pipes "<code>|</code>".
 
 
Please also add a wikilink to the discussion in your edit summary so it can be directly accessed from each user's watchlist.
 
 
The actual structure of the box surrounding the list is provided by the {{tl|centralized discussion/core}} template.
 
 
=== Style ===
 
 
Use a single, unambiguous, unique and concise link. It is not necessary to label the type of discussion, e.g. "RFC". For example:
 
 
:<code><nowiki>[[Activity requirements for administrators]]</nowiki></code>
 
 
not:
 
 
:<code><nowiki>[[An RfC]] on activity requirements for administrators</nowiki></code>
 
 
Any additional links should be in the discussion, not here.
 
 
Describe the matter or proposal under discussion, in neutral terms. Add the date when the link is added, in an HTML comment (i.e. inside <code><nowiki><!-- ... --></nowiki></code>).
 
 
=== Usage ===
 
 
{{centralized discussion/core | 1=<nowiki />
 
* [[Wikipedia:Centralized discussion|Put this template on many community pages]].
 
* [[Wikipedia:Centralized discussion|When to seek consensus]].
 
}}
 
This template can be used as is, without any parameters. Then it floats to the right. Like this:
 
 
:{{tlc|centralized discussion}}
 
 
 
{{clear}}
 
{{clear}}
 
{{centralized discussion/core | 1=<nowiki />
 
* [[Wikipedia:Centralized discussion|Put this template on many community pages]].
 
* [[Wikipedia:Centralized discussion|When to seek consensus]].
 
| float = left
 
}}
 
This template can be made to float to the left, or not float at all. Like this:
 
 
:<code><nowiki>{{centralized discussion|float=left}}</nowiki></code>
 
:<code><nowiki>{{centralized discussion|float=none}}</nowiki></code>
 
 
{{clear}}
 
 
{{centralized discussion/core | 1=<nowiki />
 
* [[Wikipedia:Centralized discussion|Put this template on many community pages]].
 
* [[Wikipedia:Centralized discussion|When to seek consensus]].
 
| width = 200px
 
}}
 
The default width for this template is 45% of the page width. The width can be set to other values, like this:
 
 
:<code><nowiki>{{centralized discussion|width=35%}}</nowiki></code>
 
:<code><nowiki>{{centralized discussion|width=200px}}</nowiki></code>
 
 
{{clear}}
 
 
{{centralized discussion/core | 1=<nowiki />
 
* [[Wikipedia:Centralized discussion|Put this template on many community pages]].
 
* [[Wikipedia:Centralized discussion|When to seek consensus]].
 
| compact = yes
 
}}
 
This template can be made to show a more compact appearance. Like this:
 
 
:<code><nowiki>{{centralized discussion|compact=yes}}</nowiki></code> = Hides the image and the second blue header row.
 
:<code><nowiki>{{centralized discussion|compact=very}}</nowiki></code> = Even more compact, also hides the footer.
 
 
{{clear}}
 
 
Additional styles can be added to the template.
 
:<code><nowiki>{{centralized discussion|style=clear: both;}}</nowiki></code> = Clears the image on both sides of the image.
 
 
{{centralized discussion/core | 1=<nowiki />
 
* [[Wikipedia:Centralized discussion|Put this template on many community pages]].
 
* [[Wikipedia:Centralized discussion|When to seek consensus]].
 
| float = left
 
| width = 200px
 
| compact = very
 
}}
 
 
The parameters can of course be combined. For instance like this:
 
 
:<code><nowiki>{{centralized discussion|float=left|width=200px|compact=very}}</nowiki></code>
 
 
{{clear}}
 
 
Alternately, a simple version of the template can be used, displaying only the list/text without a surrounding navbox.
 
 
:<code><nowiki>{{centralized discussion|simple=yes}}</nowiki></code>
 
 
This version also supports {{para|float}} and {{para|style}} parameters (via inbuilt <code><nowiki><P></nowiki></code> and <code><nowiki><span></nowiki></code> tags).
 
 
{{clear}}
 
 
=== See also ===
 
* [[Wikipedia:Community bulletin board]]
 
* [[Template:Admin dashboard]]
 
* [[Template:Category tracker]]
 
* [[Template:Centralized discussion]]
 
* [[Template:Dashboard]]
 
* [[Wikipedia:Dashboard]]
 
* [[Wikipedia:Village pump]]
 
 
<includeonly>{{Sandbox other||<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Wikipedia centralized discussion]]
 
[[Category:Maintenance navigation]]
 
[[Category:Wikipedia news templates]]
 
}}</includeonly>
 

Revision as of 05:28, 23 October 2020