Templat:WPBannerMeta/core: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan Tag: Dikembalikan Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
Tidak ada ringkasan suntingan Tag: halaman dengan galat skrip Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
(2 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1:
<templatestyles src="Module:Message box/tmbox.css"/><templatestyles src="WPBannerMeta/styles.css"/><table class="tmbox tmbox-notice mw-collapsible innercollapse wpb {{#switch:{{lc:{{{PROJECT_STATUS|}}}}}|inactive=inactive|semi-active|semiactive=semi-active|defunct=defunct|active|#default=active}}-wikiproject">
<tr class="wpb-header">
<td class="wpb-header-name">
|<td class=mbox-empty-cell></td><th style="width:100%; padding:0.3em;">
|<td style="text-align:right; padding:0.3em 1em 0.3em 0.3em; width:50%; font-weight:bold;">
}} [[{{{PROJECT_LINK}}}|{{{PROJECT_NAME}}}]] {{#ifeq:{{{tf 1|}}}|yes|{{#if:{{{TF_1_NESTED|}}}|/ [[{{{TF_1_LINK}}}|{{{TF_1_NESTED}}}]] }}}}{{#ifeq:{{{tf 2|}}}|yes|{{#if:{{{TF_2_NESTED|}}}|/ [[{{{TF_2_LINK}}}|{{{TF_2_NESTED}}}]] }}}}{{#ifeq:{{{tf 3|}}}|yes|{{#if:{{{TF_3_NESTED|}}}|/ [[{{{TF_3_LINK}}}|{{{TF_3_NESTED}}}]] }}}}{{#ifeq:{{{tf 4|}}}|yes|{{#if:{{{TF_4_NESTED|}}}|/ [[{{{TF_4_LINK}}}|{{{TF_4_NESTED}}}]] }}}}{{#ifeq:{{{tf 5|}}}|yes|{{#if:{{{TF_5_NESTED|}}}|/ [[{{{TF_5_LINK}}}|{{{TF_5_NESTED}}}]] }}}}{{{HOOK_NESTED|}}}
{{#ifeq:{{{class|¬}}}{{{importance|¬}}}|¬¬
|</th>
|</td><th style="text-align:left; width:50%; padding:0.3em 0.3em 0.3em 0;">{{#switch:{{{class|}}}
|
||¬|NA|Unknown = <span style="display:none; speak:none;"> <!--TO FIX IE--></span>
|#default = (Dinilai {{{IMPN}}} {{{importance|}}})
}}
|#default = (Dinilai kelas {{#switch:{{lc:{{{class}}}}}
|fa|ap=AP
|fl|dp=DP
|ga|ab=AB
|#default={{{class}}}}}{{#switch:{{{importance|}}}
||¬|NA|Unknown = )
|#default =, {{{IMPN}}} {{{importance|}}})
}}
}}</th>
}}
<td class="mbox-empty-cell"><span class="metadata" style="display:none; speak:none;"><span class="wpb-project">{{{PROJECT}}}</span><span class="wpb-project_link">{{{PROJECT_LINK}}}</span><span class="wpb-banner_name">{{{BANNER_NAME}}}</span><span class="wpb-assessment_cat">{{{ASSESSMENT_CAT}}}</span></span></td>
</tr>
<tr>
<td class="mbox-text"
<table style="background:transparent; border:none; padding:0; width:100%;" border-spacing:0;">
<tr>
{{#if:{{{IMAGE_LEFT|}}}
|<td class="mbox-image" style="padding:2px
|<td class=mbox-empty-cell></td>
}}<td class="mbox-text">{{#if:{{{PORTAL|}}}
|{{
|<div style="float:right">{{portal|{{{PORTAL}}}}}</div>
}}
}}{{navbar|{{{BANNER_NAME}}}|mini=1|style=float:right; clear:right; margin:-1em 0.1em; display:none;}}{{#if:{{{MAIN_TEXT|}}}
|{{{MAIN_TEXT}}}
|
|{{#ifexist:{{{MAIN_ARTICLE}}}
|[[{{{MAIN_ARTICLE}}}]]
Baris 31 ⟶ 44:
}}
|{{#ifexist:{{{PROJECT}}}
|artikel-artikel [[{{{PROJECT}}}]]
|
}}
}} di Wikipedia. {{#ifeq:{{{small}}}|yes|
|Jika Anda }}
}}</td>{{#if:{{{IMAGE_RIGHT|}}}
|<td class="mbox-imageright" |<td class=
}}</tr>{{#ifeq:
|
|
|importance={{{importance|kepentingan belum dinilai}}}
|SHOW=yes
|PROJECT={{{PROJECT|}}}
|ASSESSMENT_CAT={{{ASSESSMENT_CAT|}}}
|ASSESSMENT_LINK=
|category={{{category|¬}}}
}}}}{{{HOOK_ASSESS|}}}{{#ifeq:{{{importance|¬}}}|¬||{{WPBannerMeta/importancescale
|small={{{small|}}}
|importance={{{importance|}}}
|class=
|IMPN={{{IMPN}}}
|SHOW=yes
|ASSESSMENT_CAT={{{ASSESSMENT_CAT|}}}
|ASSESSMENT_LINK={{{ASSESSMENT_LINK|}}}
|category={{{category|¬}}}
}}}}{{{HOOK_IMPORTANCE|}}}{{#ifeq:{{{tf 1}}}|yes|{{WPBannerMeta/taskforce
|IMAGE={{{TF_1_IMAGE|}}}
Baris 58 ⟶ 77:
|LINK={{{TF_1_LINK|}}}
|NAME={{{TF_1_NAME|}}}
|QUALITY={{{TF_1_QUALITY|}}}
|class=
|importance={{WPBannerMeta/importance|{{{tf 1 importance|}}}|class=
|IMPN={{{IMPN}}}
|ASSESSMENT_CAT={{{TF_1_ASSESSMENT_CAT|}}}
|MAIN_CAT={{{TF_1_MAIN_CAT|}}}
|category={{{category|¬}}}
}}}}{{#ifeq:{{{tf 2}}}|yes|{{WPBannerMeta/taskforce
|IMAGE={{{TF_2_IMAGE|}}}
Baris 72 ⟶ 90:
|LINK={{{TF_2_LINK|}}}
|NAME={{{TF_2_NAME|}}}
|QUALITY={{{TF_2_QUALITY|}}}
|class=
|importance={{WPBannerMeta/importance|{{{tf 2 importance|}}}|class=
|IMPN={{{IMPN}}}
|ASSESSMENT_CAT={{{TF_2_ASSESSMENT_CAT|}}}
|MAIN_CAT={{{TF_2_MAIN_CAT|}}}
|category={{{category|¬}}}
}}}}{{#ifeq:{{{tf 3}}}|yes|{{WPBannerMeta/taskforce
|IMAGE={{{TF_3_IMAGE|}}}
Baris 86 ⟶ 103:
|LINK={{{TF_3_LINK|}}}
|NAME={{{TF_3_NAME|}}}
|QUALITY={{{TF_3_QUALITY|}}}
|class=
|importance={{WPBannerMeta/importance|{{{tf 3 importance|}}}|class=
|IMPN={{{IMPN}}}
|ASSESSMENT_CAT={{{TF_3_ASSESSMENT_CAT|}}}
|MAIN_CAT={{{TF_3_MAIN_CAT|}}}
|category={{{category|¬}}}
}}}}{{#ifeq:{{{tf 4}}}|yes|{{WPBannerMeta/taskforce
|IMAGE={{{TF_4_IMAGE|}}}
Baris 100 ⟶ 116:
|LINK={{{TF_4_LINK|}}}
|NAME={{{TF_4_NAME|}}}
|QUALITY={{{TF_4_QUALITY|}}}
|class=
|importance={{WPBannerMeta/importance|{{{tf 4 importance|}}}|class=
|IMPN={{{IMPN}}}
|ASSESSMENT_CAT={{{TF_4_ASSESSMENT_CAT|}}}
|MAIN_CAT={{{TF_4_MAIN_CAT|}}}
|category={{{category|¬}}}
}}}}{{#ifeq:{{{tf 5}}}|yes|{{WPBannerMeta/taskforce
|IMAGE={{{TF_5_IMAGE|}}}
|SIZE={{{TF_SIZE|}}}
|TEXT={{{TF_5_TEXT|}}}
|LINK={{{TF_5_LINK|}}}
|NAME={{{TF_5_NAME|}}}
|QUALITY={{{TF_5_QUALITY|}}}
|class=
|importance={{WPBannerMeta/importance|{{{tf 5 importance|}}}|class=
|IMPN={{{IMPN}}}
|ASSESSMENT_CAT={{{TF_5_ASSESSMENT_CAT|}}}
|MAIN_CAT={{{TF_5_MAIN_CAT|}}}
|category={{{category|¬}}}
}}}}{{{HOOK_TF|}}}
<tr><td colspan="3" style="padding:0;">{{#ifexpr:{{#switch:{{{auto}}}|yes|stub={{#ifeq: {{#ifeq:{{{attention}}}|yes|1|0}}+
{{#ifeq:{{{infobox}}}|yes|1|0}}+
Baris 130 ⟶ 145:
{{#ifeq:{{{note 4}}}|yes|{{#if:{{{N_4_TEXT|}}}|1|0}}|0}}+
{{#ifeq:{{{note 5}}}|yes|{{#if:{{{N_5_TEXT|}}}|1|0}}|0}}+
{{#ifeq:{
{{#ifeq:{{{note 7}}}|yes|{{#if:{{{N_7_TEXT|}}}|1|0}}|0}}+
{{#ifeq:{{{note 8}}}|yes|{{#if:{{{N_8_TEXT|}}}|1|0}}|0}}+
{{#ifeq:{{{note 9}}}|yes|{{#if:{{{N_9_TEXT|}}}|1|0}}|0}}+
{{#ifeq:{{{note 10}}}|yes|{{#if:{{{N_10_TEXT|}}}|1|0}}|0}}+
{{{HOOK_COLLAPSED|0}}}>{{#iferror:{{#expr:0+{{{COLLAPSED|¬}}}*1}}|{{#ifeq:{{{small}}}|yes|0|2}}}}
|<table class="collapsible collapsed" style="width:100%; background:transparent;">
<tr><th colspan="3" style="text-align:left; padding:0.2em 2px 0.2em 0"> {{{COLLAPSED_HEAD}}}</th></tr>
|<table style="width:100%; background:transparent;">
}}
<tr><td class="mbox-image
<span
</tr>{{#ifexpr:{{#switch:{{{auto}}}
|yes|stub={{#ifeq:
|inherit
|length={{#if:
|0
}}
|{{WPBannerMeta/note
|IMAGE=Robot icôn.svg
|SIZE=
|TEXT=
|length =
|inherit =
|yes|stub = sebagai '''
}}.
|CAT={{{AUTO_ASSESS_CAT|}}}
|SORT={{#switch:{{{auto}}}
|inherit={{#switch:
|A = 0
|AP
|FA = 1
|DP
|FL = 2
|AB
|GA = 3
|B = 4
|C = 5
|awal
|Awal
|Start = 6
|stub
|Stub = 7
|daftar
|Daftar
|List = 8
|#default= 9
Baris 167 ⟶ 196:
|length = L
}}
|category={{{category|¬}}}
}}
}}{{#ifeq:{{{attention}}}|yes|{{WPBannerMeta/note
|IMAGE=Diamond-caution.svg
|SIZE={{{NOTE_SIZE|}}}
|TEXT={{
|CAT={{{ATTENTION_CAT|}}}
|category={{{category|¬}}}
}}}}{{#ifeq:{{{infobox}}}|yes|{{WPBannerMeta/note
|IMAGE=Gnome-mime-text-x-credits.svg
|SIZE={{{NOTE_SIZE|}}}
|TEXT=
|CAT={{{INFOBOX_CAT}}}
|category={{{category|¬}}}
}}}}{{#ifeq:{{{note 1}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_1_FORMAT|}}} |IMAGE={{{N_1_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_1_TEXT|}}}
|CAT={{{N_1_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 2}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_2_FORMAT|}}} |IMAGE={{{N_2_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_2_TEXT|}}}
|CAT={{{N_2_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 3}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_3_FORMAT|}}} |IMAGE={{{N_3_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_3_TEXT|}}}
|CAT={{{N_3_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 4}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_4_FORMAT|}}} |IMAGE={{{N_4_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_4_TEXT|}}}
|CAT={{{N_4_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 5}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_5_FORMAT|}}} |IMAGE={{{N_5_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_5_TEXT|}}}
|CAT={{{N_5_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 6}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_6_FORMAT|}}} |IMAGE={{{N_6_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_6_TEXT|}}}
|CAT={{{N_6_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note
|FORMAT={{{N_7_FORMAT|}}} |IMAGE={{{N_7_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_7_TEXT|}}}
|CAT={{{N_7_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 8}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_8_FORMAT|}}} |IMAGE={{{N_8_IMAGE|}}}
|CAT={{{N_8_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 9}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_9_FORMAT|}}} |IMAGE={{{N_9_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_9_TEXT|}}}
|CAT={{{N_9_CAT|}}} |category={{{category|¬}}}
}}}}{{#ifeq:{{{note 10}}}|yes|{{WPBannerMeta/note
|FORMAT={{{N_10_FORMAT|}}} |IMAGE={{{N_10_IMAGE|}}}
|SIZE={{{NOTE_SIZE|}}} |TEXT={{{N_10_TEXT|}}}
|CAT={{{N_10_CAT|}}} |category={{{category|¬}}}
}}}}{{{HOOK_NOTE|}}}
</table></td></tr>{{{HOOK_BOTTOM|}}}{{#if:{{{BOTTOM_TEXT|}}}
|<tr><td colspan="3">{{{BOTTOM_TEXT}}}</td></tr>
}}</table></td>
<td class="mbox-empty-cell"></td>
</tr></table>{{#if:{{{listas|}}}
|
}}{{#if:{{{MAIN_CAT|}}}
|{{#
|[[
}}
}}<includeonly>{{#ifeq:{{{small}}}|yes
|[[Kategory:Templat halaman pembicaraan kecil|{{NAMESPACE}} {{PAGENAME}}]]
}}{{#ifeq:{{{category|¬}}}|¬||{{#ifeq:{{NAMESPACE}}|Talk
|[[Kategori:Pataka ProyekWiki dengan kesalahan format|T{{{PROJECT|}}}]]
}}}}</includeonly><noinclude></noinclude>
|