Templat:Judul: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
pakai DISPLAYTITLE untuk mengakomodasi skin lain
Tidak ada ringkasan suntingan
 
Baris 1:
<includeonly>{{DISPLAYTITLE:{{#ifswitch: {{NAMESPACE}}|#ifexpr: {{yesnostr find|{{{ns|}PAGENAME}}|yes={{{1(}}}|no !={{NAMESPACE}}:{{PAGENAME}}}}|{{{ -1}}}}}}}</includeonly><noinclude>[[Kategori:Templat judul|{{PAGENAME}}]]</noinclude>
| 1
| 0
}}{{#if: {{{force|}}}
| 1
| 0
}}{{str ≤ len | {{PAGENAME}} | 49 <!-- The max {{str find}} can handle is 50 --> | 1 | 0 }}| 100 = {{#if:{{NAMESPACE}}|{{NAMESPACE}}: }}{{#switch:{{PAGENAME}}
| {{{1}}} ({{{2|}}}) = {{{1}}} ({{{2|}}})
| {{{1}}} ({{{3|}}}) = {{{1}}} ({{{3|}}})
| {{{1}}} ({{{4|}}}) = {{{1}}} ({{{4|}}})
| {{{1}}} ({{{5|}}}) = {{{1}}} ({{{5|}}})
| {{{1}}} ({{{6|}}}) = {{{1}}} ({{{6|}}})
| #default = {{PAGENAME}}
}}| 101 = {{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }} {{substr any| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}
| 010
| 011
| 110
| 111
| 001 = {{#if:{{NAMESPACE}}|{{NAMESPACE}}: }}{{PAGENAME}} | 000 = {{FULLPAGENAME}} }} }}</includeonly><noinclude>[[Kategori:Templat judul|{{PAGENAME}}]]</noinclude>