Cithakan:Header: Béda antarané révisi
Konten dihapus Konten ditambahkan
c 42 révisi diimpor: Importing from mulws (201-220) |
Tanpa ringkesan besutan |
||
Larik 1:
<!--
Begin
--><div id="
Make sure no parameters are removed
--><includeonly
{{#switch:undef!
|{{{title|undef!}}}
Larik 13:
|{{{previous|undef!}}}
|{{{next|undef!}}}
|{{{notes|undef!}}} = <div style="margin-right:auto; margin-left:auto; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px
Also add a tracking category:
-->{{#ifeq:{{NAMESPACE}}||[[Kategori:Tajuk dengan parameter yang hilang]]|}}<!--
-->}}<!--end switch--></includeonly><!--
Begin navigation header
faux TABLE-->
<div id="navigationHeader" class="headertemplate" style="display:table; border-collapse:collapse; border-spacing:0px 0px; empty-cells:hide; border:1px solid #ACA; margin:0px auto 4px auto; width:100%;"><!--
faux TBODY-->
<div style="display:table-row-group; background-color:#E6F2E6;"><!--
faux TR-->
<div style="display:table-row;"><!--
faux TD left
Previous page link-->
<div class="gen_header_backlink searchaux" style="display:table-cell; text-align:left; vertical-align:middle; width:20%;"><!--
-->{{#if:{{{previous|}}}|<span class="searchaux" id="headerprevious">←{{{previous}}}</span>}}<!--
close faux TD left-->
</div><!--
faux TD center
Title-->
-->'''<span id="header_title_text">{{{title|Tanpa judul}}}</span>''' <!--
Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
-->|{{#if:{{{override_year|}}}<!--
-->| ({{{override_year}}}) [[
-->|{{header/year<!--
-->|{{{year}}}<!-- unaltered user input
Baris 44 ⟶ 64:
Author field
-->{{#if:{{{override_author|{{{override author|}}}}}}|<!--
Override author
--><br /><i><span id="header_author_text" class="vcard"><span class="fn">{{{override_author|{{{override author|}}}}}}</span></span></i>|<!--
Normal author
-->{{#if:{{{author}}}|<!--
-->{{#if:{{{section|}}}| |<br/>}}<!--
--><i>
Catch unknown authors
-->{{#ifeq:{{lc:{{{override_author|{{{override author|{{{author|}}}}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|<!--
Link known authors to the author namespace
-->{{#ifexist: Author:{{{author}}} ||
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Kategori:Karya dengan halaman pengarang yang tidak ada]]
| #default = }}<!-- end of switch -->}} [[Pengarang:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></span>]][[Kategori:{{{author}}}]]}}</i>}}}}<!--
Editor field - only if needed
Baris 68 ⟶ 92:
-->{{#switch:{{lc:{{{override_editor|{{{editor|}}}}}}}}<!--
-->| ? | unknown=, ''editor unknown''[[
-->| not mentioned =, ''editor not mentioned''[[
Switch default - the given editor
Baris 77 ⟶ 101:
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Kategori:Karya dengan halaman pengarang yang tidak ada]]
| #default = }}<!-- end of switch -->}}[[Pengarang:{{{editor}}}|{{{editor}}}]]}}</span></span><!--
--></i>}}<!--
-->}}<!--
Baris 86 ⟶ 114:
Catch special cases for translators
-->{{#switch:{{lc:{{{override_translator|{{{translator|}}}}}}}}<!--
-->| not mentioned =, ''translator not mentioned''<!--
-->| wikisource =<i>,
If it is the base page, add to the "Wikisource translation" category
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[
-->| ? = ([[:Kategori:Usulan penghapusan/Penerjemah yang tidak dikenal|penerjemah yang tidak dikenal]]){{No translator info}}<!--
-->| unknown =, ''unknown translator''{{No translator info}}<!--
Switch default - the given translator
-->|#default =<i>,
Override translator if needed
-->{{{override_translator|<!--
-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Kategori:Karya dengan halaman pengarang yang tidak ada]]
| #default = }}<!-- end of switch -->}} [[Pengarang:{{{translator}}}|<!--
--><span id="header_translator_text" class="vcard"><span class="fn">{{{translator}}}</span></span>]]}}}<!--
--></i>}}<!--
-->}}<!--
Section field
Baris 109 ⟶ 143:
Section author
-->{{#if:{{{override_contributor|}}}{{{contributor|}}}|<!--
--><i>
--><span class="fn">{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Kategori:Karya dengan halaman pengarang yang tidak ada]]
| #default = }}<!-- end of switch -->}}[[Pengarang:{{{contributor}}}|{{{contributor}}}]]}}</span></span><!--
--></i>}}<!--
Baris 116 ⟶ 154:
-->}}<!--
Field "tentang" khusus untuk Undang-Undang
end of "tentang" field
-->|}}<!--
close faux TD center-->
</div><!--
faux TD right
Forelink-->
<div class="gen_header_forelink searchaux" style="display:table-cell; text-align:right; vertical-align:middle; width:20%;">{{#if:{{{next|}}}|<span class="searchaux" id="headernext">{{{next}}}→</span>}}<!--
close faux TD right-->
</div><!--
close faux TR-->
</div><!--
close faux TBODY-->
</div><!--
close faux table-->
</div><!--
Notes section
faux TABLE-->
<div id="navigationNotes" class="header_notes searchaux" style="display:table; border-collapse:collapse; border-spacing:0px 0px; empty-cells:hide; border-bottom:1px solid #A0A0A0; font-size:0.90em; line-height:1.4; margin:0px auto 4px auto; width:100%;"><!--
faux TBODY-->
<div style="display:table-row-group; background-color:#FAFAFF;"><!--
faux TR-->
<div style="display:table-row;"><!--
faux TD-->
<div class="searchaux" style="display:table-cell;"><!--
check if page is connected to Wikidata (#ifeq)
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity<!--
if page is not connected to Wikidata, only show plain sister if at least one of its parameters is filled in
-->|{{#if:<!--
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
Baris 146 ⟶ 216:
-->{{{meta|}}}<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
Baris 166 ⟶ 236:
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--
if page is connected to Wikidata, always show plain sister
-->|{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
-->| portal = {{{portal|}}}<!--
-->| related_author = {{{related_author|}}}<!--
-->| wikipedia = {{{wikipedia|}}}<!--
-->| commons = {{{commons|}}}<!--
-->| commonscat = {{{commonscat|}}}<!--
-->| wikiquote = {{{wikiquote|}}}<!--
-->| wikinews = {{{wikinews|}}}<!--
-->| wiktionary = {{{wiktionary|}}}<!--
-->| wikibooks = {{{wikibooks|}}}<!--
-->| wikilivres = {{{wikilivres|}}}<!--
-->| wikidata = {{{wikidata|}}}<!--
-->| wikivoyage = {{{wikivoyage|}}}<!--
-->| wikiversity = {{{wikiversity|}}}<!--
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--
end #ifeq
-->}}<!--
Baris 174 ⟶ 268:
Notes from parameter
-->{{{notes
close faux TD-->
</div><!--
close faux TR-->
</div><!--
close faux TBODY-->
</div><!--
close faux TABLE-->
</div><!--
END OF VISIBLE TEMPLATE
MICROFORMAT DATA-->
Baris 219 ⟶ 323:
-->}}<!--
END OF MICROFORMAT DATA-->
</div><!--
Subpages
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[
}}}}<!--
Categories:
|<!-- Replace each string that ends in a slash with a category definition.
This does include the final one because we're adding a slash to the input string.
-->{{#
-->}}<!--
Track pages using the author override
-->{{#if:{{{override_author|}}}|[[
Track pages using contributor
-->{{#if:{{{contributor|}}}|[[Kategori:Halaman dengan kontributor]]}}<!--
Track pages using override_contributor
-->{{#if:{{{override_contributor|}}}|[[Kategori:Halaman yang mengesampingkan informasi kontributor]]}}<!--
Track pages with no author given
-->{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[
Track pages using shortcuts
-->{{#if:{{{shortcut|}}}|[[
Track pages using the year override options
-->{{#if:{{{override_year|}}}|[[
-->{{#if:{{{noyear|}}}|[[
-->{{#if:{{{noyearcat|}}}|[[
END OF NON-VISIBLE CONTENT
--></includeonly><!--
End headerContainer wrapper-->
</div><!--
--><noinclude>
[[Kategori:Templat navigasi]]
<!--[[Kategori:Tidak layak cetak]]-->
</noinclude>
|