Template:DYK help/doc
| This is a documentation subpage for Template:DYK help. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template is used to create a WP:DYK "help button" that links to WP:DYK help. It is also used to create the buttons in WP:DYK help and its subpages, including a "back" button. The template is based on {{help button}} and uses {{Clickable button}}.
As a help button
Without any parameters, the template creates a help button. This button can be placed anywhere that might be helpful, such as on a user talk page, template, or other appropriate location.
Code:{{DYK help}}
Result:
As a navigation button
With parameters, the template can be used to create buttons for WP:DYK help and its subpages.
Format: {{DYK help |[target page] |[button label] |text=[accompanying text]}}
Example: {{DYK help |Main Page |Wikipedia's main page |text=Click this button to go to Wikipedia's main page}}
Result:
Click this button to go to Wikipedia's main page
As a back button
With parameter |back=, the template can be used to create a specially-styled "back" button. A target page must be specified.
Format: {{DYK help |back |[target page]}}
Example: {{DYK help | back |WP:DYK help}}
Result:
Color and other styling
Default styling is contained in the {{DYK help}} template code, but it can be overridden. This ensures that all buttons using {{DYK help}} look the same throughout the WP:DYK help tree of subpages, while still allowing custom styling when needed.
|class= specifies one of three accessible colors used by {{Clickable button}}:
|class=neutralcreates a gray button|class=destructivecreates a red button- If no
|class=is specified, the default is|class=progressive, which creates a blue button
|style= can specify a CSS style. For more information, see the documentation at {{Clickable button}}.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.