Cithakan:Header: Béda antarané révisi

Konten dihapus Konten ditambahkan
Sotiale (rembugan | pasumbang)
c 42 révisi diimpor: Importing from mulws (201-220)
Bennylin (rembugan | pasumbang)
Tanpa ringkesan besutan
Larik 1:
<!--
Begin headertemplateheaderContainer wrapper
 
--><div id="headertemplateheaderContainer" class="headerRaw ws-noexport noprint"><!--
 
Make sure no parameters are removed
 
--><includeonly><templatestyles src="Header/styles.css"/>
{{#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 solidhidden #hiddentransparent; border-left:1px solid #CCC; text-align:center;"><span class="error" style="color: #a7a700; font-size:90%; font-weight:bold;">template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[Template:Header#documentation|template documentation]]).</span></div>{{#ifeq:{{NAMESPACE}}||[[Category:Headers missing parameters]]|}}}}</includeonly><!--
 
Also add a tracking category:
-->{{#ifeq:{{NAMESPACE}}||[[Kategori:Tajuk dengan parameter yang hilang]]|}}<!--
 
-->}}<!--end switch--></includeonly><!--
Begin navigation header-->
{| class="headertemplate" style="border-collapse:collapse; empty-cells:hide;"
|-<!--
 
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%;"><!--
|align="left" width="25%" class="gen_header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}<!--
 
-->{{#if:{{{previous|}}}|<span class="searchaux" id="headerprevious">←{{{previous}}}</span>}}<!--
 
close faux TD left-->
</div><!--
 
faux TD center
Title-->
|<div class="gen_header_title" style="display:table-cell; text-align:center; | '''<span id="header_title_textwidth:60%;">{{{title|Untitled}}}</span>''' <!--
 
-->'''<span id="header_title_text">{{{title|Tanpa judul}}}</span>''' <!--
 
Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
-->|{{#if:{{{override_year|}}}<!--
-->|&nbsp;({{{override_year}}})&nbsp;[[CategoryKategori:PagesHalaman withyang overridemengesampingkan yearinformasi tahun]]<!--
-->|{{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}}}|<!--
 
InsertTambahkan asebuah line break ifapabila page ishalaman *notbukan* amerupakan sectionhalaman pagebagian
-->{{#if:{{{section|}}}|&#32;|<br/>}}<!--
--><i>byoleh <!--
 
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}}} || [[Category:Works<!-- withonly non-existentrequired authormain pages]]and }}translation [[Authorns:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></span>]]}}</i>}}}}<!-->
{{#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''[[Category:WorksKategoriWorks with unknown editors]]<!--
-->| not mentioned =, ''editor not mentioned''[[CategoryKategori:Works with unmentioned editors]]<!--
 
Switch default - the given editor
Baris 77 ⟶ 101:
 
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|[[{{#ifexist: Author:{{{editor}}} |{{{editor}}}]]}}</span></span>| <!-- only required main and translation ns:-->
{{#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|}}}}}}}}<!--
-->| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])<!--
-->| unknown =, ''unknown translator''<!--
-->| not mentioned =, ''translator not mentioned''<!--
-->| wikisource =<i>, translatedditerjemahkan byoleh [[Wikisource:TranslationsTerjemahan|<span id="header_translator_text">Wikisource</span>]]</i><!--
 
If it is the base page, add to the "Wikisource translation" category
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[CategoryKategori:WikisourceTerjemahan translationsWikisource]]}}<!--
 
-->| ? =&nbsp;([[: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>, translatedditerjemahkan byoleh <!--
 
Override translator if needed
-->{{{override_translator|<!--
 
-->[[{{#ifexist: Author:{{{translator}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
--><span id="header_translator_text" class="vcard"><span class="fn">{{{translator}}}</span></span>]]</i>}}}
| 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> byoleh <span id="header_contributor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|[[{{#ifexist: Author:{{{contributor}}} |{{{contributor}}}]]}}</span>| <!-- only required main and translation ns:-->
{{#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
Forelink -->
|align="right" width="25%" class="gen_header_forelink" | -->{{#if:{{{nexttentang|}}}|<br /><span id="headernextheader_section_text">''tentang {{{nexttentang|}}}''</span>}}<!--
|}<!--
 
end of "tentang" field
-->|}}<!--
 
close faux TD center-->
Notes section-->
</div><!--
{| class="header_notes" style="border-collapse:collapse;"
|-
|<!--
 
faux TD right
Sister project links (only #if we need them)
Forelink-->
-->{{#if:<!--
<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|}}}<!--
 
-->|<!--
 
-->{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
Baris 166 ⟶ 236:
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--
 
end #if we need plain sister project links
-->}}<!--
 
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-->
END OF VISIBLE TEMPLATE
</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><!--
</div><!--
END OF MICROFORMAT DATA
 
Subpages
--></div><!--
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
End headertemplate wrapper
 
 
Unknown translator
-->{{#switch:{{{translator}}}
|?
|unknown = {{No translator info}}
}}<!--
 
Subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[CategoryKategori:{{#if:{{NAMESPACE}}|Subhalaman {{#ifeq:{{NAMESPACE}} subpages|SubpagesWikisource|{{NAMESPACE}}|{{lc:{{NAMESPACE}}}}}}|Subhalaman}}]]
}}}}<!--
 
Categories
Categories:
-->{{#if:{{#titleparts:{{{categories|}}}|1|1}}|[[Category:{{#titleparts:{{{categories}}}|1|1}}]]}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|2}}|[[Category:{{#titleparts:{{{categories}}}|1|2}}]]}}<!--
 
-->{{#if:{{#titleparts:{{{categories|}}}|1|3}}|[[Category:{{#titleparts:{{{categories}}}|1|3}}]]}}<!--
|<!-- Replace each string that ends in a slash with a category definition.
-->{{#if:{{#titleparts:{{{categories|}}}|1|4}}|[[Category:{{#titleparts:{{{categories}}}|1|4}}]]}}<!--
This does include the final one because we're adding a slash to the input string.
-->{{#if:{{#titleparts:{{{categories|}}}|1|5}}|[[Category:{{#titleparts:{{{categories}}}|1|5}}]]}}<!--
-->{{#if:{{#titlepartsinvoke:String|replace|{{{categories|}}}/|1|6}}([^/]+)/*|[[CategoryKategori:{{#titleparts:{{{categories}}}|%1|6}}]]||plain=false }}<!--
 
-->{{#if:{{#titleparts:{{{categories|}}}|1|7}}|[[Category:{{#titleparts:{{{categories}}}|1|7}}]]}}<!--
-->}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|8}}|[[Category:{{#titleparts:{{{categories}}}|1|8}}]]}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|9}}|[[Category:{{#titleparts:{{{categories}}}|1|9}}]]}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|10}}|[[Category:{{#titleparts:{{{categories}}}|1|10}}]]}}<!--
 
Track pages using the author override
-->{{#if:{{{override_author|}}}|[[CategoryKategori:PagesHalaman withyang overridemengesampingkan authorinformasi pengarang]]}}<!--
 
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|[[CategoryKategori:AnonymousTeks textsanonim]]}}<!--
 
Track pages using shortcuts
-->{{#if:{{{shortcut|}}}|[[CategoryKategori:MainspaceHalaman pagesutama withdengan shortcutsjalan pintas]]}}<!--
 
Track pages using the year override options
-->{{#if:{{{override_year|}}}|[[CategoryKategori:PagesHalaman withyang overridemengesampingkan yearinformasi tahun]]}}<!--
-->{{#if:{{{noyear|}}}|[[CategoryKategori:PagesHalaman withdengan noyear]]}}<!--
-->{{#if:{{{noyearcat|}}}|[[CategoryKategori:PagesHalaman withdengan noyearcat]]}}<!--
 
END OF NON-VISIBLE CONTENT
--></includeonly><!--
 
End headerContainer wrapper-->
Protection level detection and automatic icon
</div><!--
-->{{#if:{{NAMESPACE}}
|<!-- no effect outside the main namespace -->
|{{#if:{{PROTECTIONLEVEL:edit}}{{PROTECTIONLEVEL:move}}<!-- if page protected -->
|{{locked}}<!-- call the locked (top icon) template -->
}}
}}<!--
 
--><noinclude>
END OF TEMPLATE
--></includeonly><noinclude>{{documentation|Template:Header/doc}}
[[Kategori:Templat navigasi]]
[[Category:Key templates for export]]
<!--[[Kategori:Tidak layak cetak]]-->
[[Category:Akkadian wikisource tools]]
[[Category:Erzyan wikisource tools]]
[[Category:Mokshan wikisource tools]]
</noinclude>