Templat:Header: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
uji coba |
←Membatalkan revisi 16402 oleh Meursault2004 (Bicara) hmm, jadi kacau ... |
||
Baris 1: | Baris 1: | ||
<!-- make sure no parameters are removed --><!-- <includeonly>{{#switch:undef! |
|||
⚫ | |||
|{{{title|undef!}}} |
|||
⚫ | |||
|{{{author|undef!}}} |
|||
|{{{section|undef!}}} |
|||
|{{{previous|undef!}}} |
|||
|{{{next|undef!}}} |
|||
⚫ | |{{{notes|undef!}}} = <div style="text-align:center; border:1px solid #CCC; font-size:0.9em;">'''template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[template talk:header#documentation|template documentation]]).'''</div> [[Category:Headers missing parameters]]}}</includeonly> --> |
||
⚫ | |||
|- |
|- |
||
|class="header_backlink" | {{#if:{{{previous |
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}} |
||
|class="header_title" | '''{{{title| |
|class="header_title" | '''{{{title|Untitled}}}''' {{#if:{{{override_author|}}}|<br /><i>{{{override_author}}}</i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>oleh {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|[[Author:{{{author}}}|{{{author}}}]]}}</i>}}}}{{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}} |
||
| ? =[[:Category:Deletion requests/Unknown translators|unknown translator]] |
| ? = ([[:Category:Deletion requests/Unknown translators|unknown translator]]) |
||
| wikisource =<i>, diterjemahkan oleh [[ |
| wikisource =<i>, diterjemahkan oleh [[Wikisource:Translations|Wikisource]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}} |
||
|<i>, diterjemahkan oleh {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|{{{translator}}}]]</i>}} |
|<i>, diterjemahkan oleh {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|{{{translator}}}]]</i>}} |
||
}} |
}}}}{{#if:{{{section|}}}|<br />{{{section|}}}}} |
||
|class="header_forelink" | {{#if: |
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}} |
||
|} |
|} |
||
{| class="header_notes" |
{| class="header_notes" |
||
|- |
|- |
||
| {{{notes}}} |
| {{{notes}}} |
||
|}<includeonly><!-- |
|||
|}<includeonly>{{#ifeq:{{#expr:{{{previous|}}}}}|<span class="error">Expression error: Unrecognised punctuation character "�"</span>|[[Category:Header2 pages with arrow in previous param]]}}{{#ifeq:{{{translator|}}}|?| |
|||
unknown translator -->{{#switch:{{{translator}}} |
|||
{{No translator info}}}}{{#if:{{{override_author|}}}|[[Category:Pathosbot]]}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:Subpages]]}}}}</includeonly><noinclude> |
|||
|? |
|||
{{documentation|Template:Header/doc}} |
|||
|unknown = {{No translator info}} |
|||
}}<!-- |
|||
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1 |
|||
|{{#ifexist:{{#rel2abs:../}}|1}} |
|||
|{{#ifexist:{{#rel2abs:../../}}|1}} |
|||
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:Subhalaman]] |
|||
}}}}<!-- |
|||
track pages using the author override-->{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}<!-- |
|||
track pages using the dirty link-detection hacks -->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong> |
|||
|{{#expr:{{{author}}}}} |
|||
|{{#expr:{{{translator}}}}} = [[Category:pages using the author field hack]] |
|||
}}</includeonly><noinclude> |
|||
{{dokumentasi}} |
|||
</noinclude> |
</noinclude> |
Revisi per 14 November 2009 17.01
Untitled oleh [[Author:{{{author}}}|{{{author}}}]] |
{{{notes}}} |
[buat] Dokumentasi templat
Penyunting dapat melakukan uji coba pada halaman bak pasir (sunting | perbedaan) dan kasus uji (buat) templat ini. Kategori dan pranala antarbahasa harap ditambahkan pada subhalaman /dok. Subhalaman templat ini. |