Templat:WPBannerMeta/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
123569yuuift (bicara | kontrib)
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
Tidak ada ringkasan suntingan
 
(2 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 16:
|<pre style="font-size:90%; width=40%">
{{WPBannerMeta
|PROJECT =
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
|small={{{small|}}}
|category={{{category|¬}}}
|listas={{{listas|}}}
|IMAGE_LEFT =
|IMAGE_LEFT_SMALL =
|IMAGE_LEFT_LARGE =
<!--|class={{{class|}}}-->
<!--|auto={{{auto|}}}-->
<!--|importance={{{importance|}}}-->
|ASSESSMENT_CAT =
|ASSESSMENT_LINK =
|MAIN_TEXT =
|MAIN_ARTICLE =
|PORTAL =
|MAIN_CAT =
<!--|attention={{{attention|}}}-->
|ATTENTION_CAT =
<!--|infobox={{{needs-infobox|}}}-->
|INFOBOX_CAT =
|COMMENTS =
|COMMENTS_CAT =
}}<noinclude>
{{Documentation}}
Baris 53:
|<pre style="font-size:90%; width=40%">
{{WPBannerMeta
|PROJECT =
|BANNER_NAME = {{subst:FULLPAGENAME}}
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
Baris 60:
|listas={{{listas|}}}
|PROJECT_LINK =
|IMAGE_LEFT =
|IMAGE_LEFT_SMALL =
|IMAGE_LEFT_LARGE =
|IMAGE_RIGHT =
|IMAGE_RIGHT_SMALL =
|IMAGE_RIGHT_LARGE =
|QUALITY_SCALE =
<!--|class={{{class|}}}-->
<!--|auto={{{auto|}}}-->
Baris 78:
|IMPORTANCE_SCALE =
<!--|importance={{{importance|}}}-->
|ASSESSMENT_CAT =
|ASSESSMENT_LINK =
|MAIN_TEXT =
|MAIN_ARTICLE =
|PORTAL =
|MAIN_CAT =
<!--|attention={{{**PARAMETER**|}}}-->
|ATTENTION_CAT =
<!--|infobox={{{**PARAMETER**|}}}-->
|INFOBOX_CAT =
|note 1={{{**PARAMETER**|}}}
|NOTE_1_TEXT =
|NOTE_1_IMAGE =
|NOTE_1_CAT =
|NOTE_1_FORMAT =
|note 2={{{**PARAMETER**|}}}
|NOTE_2_TEXT =
|NOTE_2_IMAGE =
|NOTE_2_CAT =
|NOTE_2_FORMAT =
|note 3={{{**PARAMETER**|}}}
|NOTE_3_TEXT =
|NOTE_3_IMAGE =
|NOTE_3_CAT =
|NOTE_3_FORMAT =
|note 4={{{**PARAMETER**|}}}
|NOTE_4_TEXT =
|NOTE_4_IMAGE =
|NOTE_4_CAT =
|NOTE_4_FORMAT =
|note 5={{{**PARAMETER**|}}}
|NOTE_5_TEXT =
|NOTE_5_IMAGE =
|NOTE_5_CAT =
|NOTE_5_FORMAT =
|note 6={{{**PARAMETER**|}}}
|NOTE_6_TEXT =
|NOTE_6_IMAGE =
|NOTE_6_CAT =
|NOTE_6_FORMAT =
|note 7={{{**PARAMETER**|}}}
|NOTE_7_TEXT =
|NOTE_7_IMAGE =
|NOTE_7_CAT =
|NOTE_7_FORMAT =
|note 8={{{**PARAMETER**|}}}
|NOTE_8_TEXT =
|NOTE_8_IMAGE =
|NOTE_8_CAT =
|NOTE_8_FORMAT =
|note 9={{{**PARAMETER**|}}}
|NOTE_9_TEXT =
|NOTE_9_IMAGE =
|NOTE_9_CAT =
|NOTE_9_FORMAT =
|note 10={{{**PARAMETER**|}}}
|NOTE_10_TEXT =
|NOTE_10_IMAGE =
|NOTE_10_CAT =
|NOTE_10_FORMAT =
|NOTE_SIZE =
|COLLAPSED =
|COLLAPSED_HEAD =
|COMMENTS =
|COMMENTS_CAT =
|BOTTOM_TEXT =
|tf 1={{{**PARAMETER**|}}}
|TF_1_LINK =
|TF_1_NAME =
|TF_1_NESTED =
|TF_1_IMAGE =
|TF_1_TEXT =
|TF_1_QUALITY =
|tf 1 importance={{{**PARAMETER**|}}}
|TF_1_ASSESSMENT_CAT=
|TF_1_MAIN_CAT =
|tf 2={{{**PARAMETER**|}}}
|TF_2_LINK =
|TF_2_NAME =
|TF_2_NESTED =
|TF_2_IMAGE =
|TF_2_TEXT =
|TF_2_QUALITY =
|tf 2 importance={{{**PARAMETER**|}}}
|TF_2_ASSESSMENT_CAT=
|TF_2_MAIN_CAT =
|tf 3={{{**PARAMETER**|}}}
|TF_3_LINK =
|TF_3_NAME =
|TF_3_NESTED =
|TF_3_IMAGE =
|TF_3_TEXT =
|TF_3_QUALITY =
|tf 3 importance={{{**PARAMETER**|}}}
|TF_3_ASSESSMENT_CAT=
|TF_3_MAIN_CAT =
|tf 4={{{**PARAMETER**|}}}
|TF_4_LINK =
|TF_4_NAME =
|TF_4_NESTED =
|TF_4_IMAGE =
|TF_4_TEXT =
|TF_4_QUALITY =
|tf 4 importance={{{**PARAMETER**|}}}
|TF_4_ASSESSMENT_CAT=
|TF_4_MAIN_CAT =
|tf 5={{{**PARAMETER**|}}}
|TF_5_LINK =
|TF_5_NAME =
|TF_5_NESTED =
|TF_5_IMAGE =
|TF_5_TEXT =
|TF_5_QUALITY =
|tf 5 importance={{{**PARAMETER**|}}}
|TF_5_ASSESSMENT_CAT=
|TF_5_MAIN_CAT =
|TF_SIZE =
|HOOK_NESTED =
|HOOK_ASSESS =
|HOOK_TF =
|HOOK_NOTE =
|HOOK_BOTTOM =
|HOOK_COLLAPSED =
|HOOK_IMPORTANCE =
}}<noinclude>
{{Documentation}}
Baris 214:
WPBannerMeta takes two different types of parameters: formatting and display. The formatting parameters customise the meta-template for a particular project, defining link targets, categories, images and text. All formatting parameters use UPPERCASE and underscores (_), instead of spaces (e.g. <code><nowiki>|PROJECT=</nowiki></code> and <code><nowiki>|NOTE_1_CAT= </nowiki></code>). Display parameters customise the template output for each individual ''article'' that the banner is displayed on. These are the parameters which are entered on the talk page (<code><nowiki>|class=</nowiki></code>, <code><nowiki>|importance=</nowiki></code>, etc.) and they must be 'passed through' the project banner to the meta-template underneath. To 'pass' the parameter <code>foo</code>, you need to include the code {{nowrap|<code><nowiki>foo={{{foo|}}}</nowiki></code>}}.
 
In the examples below, a WikiProject banner will be constructed for the (currently) nonexistent [[Wikipedia:WikiProject Tulips|WikiProject Tulips]].
 
===Opsi sederhana===
Baris 293:
*<code>'''COMMENTS'''</code>&ndash; some projects may want to use a subpage of the article's talk page to post brief, assessment-related comments about the article. If these comments are placed in a "'''<code><nowiki>{{FULLPAGENAME}}/Comments</nowiki></code>'''" subpage, then this parameter will cause a link to automatically display. {{nowrap|''Eg: '''<code><nowiki>yes</nowiki></code>'''''}}
**<code>'''COMMENTS_SHOW_INLINE'''</code>&ndash; if this parameter is defined, the comments will be shown inline rather than as a link.
**<code>'''COMMENTS_CAT'''</code>&ndash; if this parameter is defined, articles which have comments are sorted into [[:Category:COMMENTS_CAT|Category:<code>COMMENTS_CAT</code>]]. By default, these pages are categorised into [[:Category:Project articles with comments|<ttcode>PROJECT</ttcode> articles with comments]]. {{nowrap|''Eg: (alternate) '''<code><nowiki>Tulip and Daffodil articles with comments</nowiki></code>''' → [[:Category:Tulip and Daffodil articles with comments]]}}''. A value of <code>none</code> results in no categorisation.
 
;Example
Baris 312:
|ASSESSMENT_LINK = Wikipedia:WikiProject Tulips/Article grading
|COMMENTS = yes
|COMMENTS_CAT =
}}</pre>
|}
Baris 365:
|ASSESSMENT_LINK = Wikipedia:WikiProject Tulips/Article grading
|attention={{{attention|}}}
|ATTENTION_CAT =
|infobox={{{needs-infobox|}}}
|INFOBOX_CAT =
|note 1={{{needs-photo|}}}
|NOTE_1_TEXT = This page has been marked as needing a [[photograph]].
Baris 434:
|TF_1_NAME = the Floridiae task force
|TF_1_NESTED = Floridiae
|TF_1_TEXT =
|TF_1_IMAGE = Tulipa florenskyi 4.jpg
|tf 1 importance={{{floridiae-importance}}}
Baris 494:
* [[Wikipedia:WikiProject Council/Guide#Article_tagging]] &ndash; advice about tagging articles for a project
 
<noinclude>[[Kategori:ProyekWiki pataka|{{PAGENAME}}]]</noinclude>
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:WikiProjectTemplat bannersProyekWiki| Meta]]
{{#ifeq:{{FULLPAGENAME}}|Template:WPBannerMeta|
[[Category:WikipediaTemplat metatemplatesmeta|WPBannerMeta]]}}
[[Kategori:ProyekWiki pataka]]
[[Category:WikiProject banners| Meta]]
[[Category:Wikipedia metatemplates|WPBannerMeta]]}}
</includeonly>