Templat:Garis panduan gaya/doc
Ini ialah sublaman pendokumenan untuk Templat:Garis panduan gaya. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
Usage
[sunting sumber]Template:MoS-guideline is only used on pages belonging to the Wikipedia Manual of Style. This template can only be used on pages that have received a general consensus as belonging to the Manual of Style. For a short introduction on how to go from a proposal to a Wikipedia style guideline, see: Category:Wikipedia proposals and How to contribute to Wikipedia guidance.
Categories
[sunting sumber]The template automatically categorizes the page into Category:Wikipedia style guidelines. An optional parameter sortkey can make it become [[Category:Wikipedia style guidelines|sortkey]]. It should sort by what is in the parentical disambiguator, examples:
- Wikipedia:Manual of Style (chemistry): sortkey = Chemistry
- Wikipedia:Manual of Style (medicine-related articles): sortkey = Medicine
Parameters
[sunting sumber]The template has eight parameters. The first three parameters, type, image and text, are fixed by the template itself. The remaining parameters include five unnamed parameters, that allow a user to specify up to five shortcut links for the style guideline page.
Usage strings
[sunting sumber]To use, place one of the following usage strings at the top of the page and fill in the parameters:
{{MoS-guideline|<shortcut link>|<shortcut link>}} {{MoS-guideline}}
Examples
[sunting sumber]Code with one or more parameters or shortcut links:
{{MoS-guideline|WP:MOS|WP:STYLE}} - see: WP:MOS or WP:STYLE for the resulting output.
{{MoS-guideline|[[WP:ASR]] [[WP:SELF]]}} - see: WP:SELF for the resulting output.
Code without parameters:
{{MoS-guideline}}
Output without parameters:
See also
[sunting sumber]- Templat:Subcat guideline (sunting bincang pautan sejarah), which allows a page to be marked as style guideline without making it part of the Manual of Style.
- Templat:Style (sunting bincang pautan sejarah)
- Templat:Shortcut (sunting bincang pautan sejarah)
- Category:Wikipedia_header_templates