ទំព័រគំរូ:Centralized discussion/doc
This is a documentation subpage for ទំព័រគំរូ:Centralized discussion. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
This is the {{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 "|
".
The actual structure of the box surrounding the list is provided by the {{centralized discussion/core}} template.
Style
[កែប្រែ]Use a single, unambiguous and concise link. Describe the matter or proposal under discussion, in neutral terms. Add the date when the link is added.
Usage
[កែប្រែ]Centralized discussion | ||
---|---|---|
Proposals | Discussions | Recurring proposals |
| ||
archive • talk • edit • history • watch |
This template can be used as is, without any parameters. Then it floats to the right. Like this:
{{centralized discussion}}
Centralized discussion | ||
---|---|---|
Proposals | Discussions | Recurring proposals |
| ||
archive • talk • edit • history • watch |
This template can be made to float to the left, or not float at all. Like this:
{{centralized discussion|float=left}}
{{centralized discussion|float=none}}
Centralized discussion | ||
---|---|---|
Proposals | Discussions | Recurring proposals |
| ||
archive • talk • edit • history • watch |
The default width for this template is 45% of the page width. The width can be set to other values, like this:
{{centralized discussion|width=35%}}
{{centralized discussion|width=200px}}
Centralized discussion | ||
---|---|---|
| ||
archive • talk • edit • history • watch |
This template can be made to show a more compact appearance. Like this:
{{centralized discussion|compact=yes}}
= Hides the image and the second blue header row.{{centralized discussion|compact=very}}
= Even more compact, also hides the footer.
Additional styles can be added to the template.
{{centralized discussion|style=clear: both;}}
= Clears the image on both sides of the image.
Centralized discussion |
---|
The parameters can of course be combined. For instance like this:
{{centralized discussion|float=left|width=200px|compact=very}}
See also
[កែប្រែ]