সাঁচ:Header: বিভিন্ন সংশোধনসমূহৰ মাজৰ পাৰ্থক্য
Content deleted Content added
SlowPhoton (আলোচনা | বৰঙণি) No edit summary |
SlowPhoton (আলোচনা | বৰঙণি) No edit summary |
||
১ নং শাৰী:
<!--
Text status badge (via Wikidata)
-->{{#invoke:edition|badge|category=1|indicator=1}}<!--
Begin headerContainer wrapper
--><div id="headerContainer" class="ws-noexport noprint"><!--
Make sure no parameters are removed
Line ১৩ ⟶ ১৬:
|{{{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 শ্ৰেণী:
-->{{#ifeq:{{NAMESPACE}}||[[শ্ৰেণী:Headers missing parameters]]|}}<!--
-->}}<!--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-->
-->{{#if:{{{previous|}}}|<span class="searchaux" id="headerprevious">←{{{previous}}}</span>}}<!--
close faux TD left-->
</div><!--
faux TD center
Title-->
-->'''<span id="header_title_text">{{{title|Untitled}}}</span>''' <!--
Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
Line ৪৪ ⟶ ৬৭:
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
Line ৫৭ ⟶ ৮০:
Catch unknown authors
-->{{#ifeq:{{lc:{{{override_author|{{{override author|{{{author|}}}}}}}}}}}|unknown|<span id="header_author_text">
Link known authors to the author namespace
-->{{#ifexist: লেখক:{{{author}}} ||
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[লেখক:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></span>]]}}</i>}}}}<!--
Editor field - only if needed
Line ৭৪ ⟶ ১০১:
-->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|, }}<!--
-->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}}
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[লেখক:{{{editor}}}|{{{editor}}}]]}}</span></span><!--
--></i>}}<!--
-->}}<!--
Line ৮৬ ⟶ ১১৭:
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}}|[[শ্ৰেণী:Wikisource translations]]}}<!--
-->| ? = ([[:শ্ৰেণী:Deletion requests/Unknown translators|unknown translator]]){{No translator info}}<!--
-->| unknown =, ''unknown translator''{{No translator info}}<!--
Switch default - the given translator
-->|#default =<i>{{#if:{{{author|}}}{{{override_author|}}}{{{override_editor|}}}{{{editor|}}}|,
Override translator if needed
-->{{{override_translator|<!--
-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[লেখক:{{{translator}}}|<!--
--><span id="header_translator_text" class="vcard"><span class="fn">{{{translator}}}</span></span>]]}}}<!--
--></i>}}<!--
-->}}<!--
Section field
-->{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span><!--
first part of section_translator, adds a line return to split to two lines due to length if section translator exists
-->{{#if:{{{override_section_translator|}}}{{{section_translator|}}}|<br />}}<!--
Section author
-->{{#if:{{{override_section_author|{{{override_contributor|}}}}}}{{{contributor|{{{section_author|}}}}}}|<!--
--><i> by <span id="header_contributor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_section_author|{{{override_contributor|}}}}}}|{{{override_section_author|{{{override_contributor|}}}}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[লেখক:{{{contributor|{{{section_author}}}}}}|{{{contributor|{{{section_author}}}}}}]]}}</span></span><!--
--></i>}}<!--
Section translator
-->{{#if:{{{override_section_translator|}}}{{{section_translator|}}}|<!--
--><i>, অনুবাদক: <span id="header_section_translator_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_section_translator|}}}|{{{override_section_translator|}}}|{{#ifexist: লেখক:{{{section_translator|}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[লেখক:{{{section_translator|}}}|{{{section_translator|}}}]]}}</span></span><!--
--></i>}}<!--
Line ১১৬ ⟶ ১৭০:
-->}}<!--
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
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
Line ১৪৬ ⟶ ২২৬:
-->{{{meta|}}}<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
Line ১৬৬ ⟶ ২৪৬:
-->| 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
-->}}<!--
Line ১৭৪ ⟶ ২৭৮:
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-->
Line ২১৯ ⟶ ৩৩৩:
-->}}<!--
END OF MICROFORMAT DATA-->
</div><!--
Subpages
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[শ্ৰেণী:{{#if:{{NAMESPACE}}|{{NAMESPACE}} উপপৃষ্ঠা|উপপৃষ্ঠা}}]]
}}}}<!--
Categories:
-->{{#if:{{{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.
-->{{#invoke:String|replace|{{{categories}}}/|([^/]+)/*|[[শ্ৰেণী:%1]]||plain=false }}<!--
-->}}<!--
Track pages using the author override
-->{{#if:{{{override_author|}}}|[[শ্ৰেণী:Pages with override author]]}}<!--
Track pages using contributor / section_author
-->{{#if:{{{contributor|{{{section_author|}}}}}}|[[শ্ৰেণী:Pages with contributor]]}}<!--
Track pages using override_contributor / override_section_author
-->{{#if:{{{override_section_author|{{{override_contributor|}}}}}}|[[শ্ৰেণী:Pages with override contributor]]}}<!--
Track pages with no author given
Line ২৫৬ ⟶ ৩৭২:
-->{{#if:{{{noyearcat|}}}|[[শ্ৰেণী:Pages with noyearcat]]}}<!--
END OF NON-VISIBLE CONTENT
--></includeonly><!--
End headerContainer wrapper-->
</div><!--
--><noinclude>
{{documentation|Template:Header/doc}}
<!--[[শ্ৰেণী:Exclude in print]]-->
|