সাঁচ:Header: বিভিন্ন সংশোধনসমূহৰ মাজৰ পাৰ্থক্য

No edit summary
No edit summary
১ নং শাৰী:
<!--
Text status badge (via Wikidata)
Begin headertemplate wrapper
-->{{#invoke:edition|badge|category=1|indicator=1}}<!--
 
Begin headerContainer wrapper
--><div id="headertemplate" class="headerRaw ws-noexport"><!--
 
--><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 solidhidden #hiddentransparent; border-left:1px solid #CCC; text-align:center;"><span class="error" style="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}}||[[শ্ৰেণী:Headers missing parameters]]|}}}}</includeonly><!--
 
Also add a tracking শ্ৰেণী:
-->{{#ifeq:{{NAMESPACE}}||[[শ্ৰেণী:Headers missing parameters]]|}}<!--
 
-->}}<!--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; {{#iftext-align:{{{previous|}}}|<spanleft; id=vertical-align:middle; width:20%;"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|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">অজ্ঞাতUnknown</span>|<!--
 
Link known authors to the author namespace
-->{{#ifexist: লেখক:{{{author}}} || [[শ্ৰেণী:লেখক<!--পৃষ্ঠা নথকাonly কাৰ্যসমূহ]]required }}main [[লেখক:{{{author}}}|<spanand id="header_author_text"translation class="vcard"><span class="fn">{{{author}}}</span></span>]]}}</i>}}}}<!ns:-->
{{#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|}}}|,&#32;}}<!--
-->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}} edited byসম্পাদক: <!--
 
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|[[Author{{#ifexist: লেখক:{{{editor}}} |{{{editor}}}]]}}</span></span>| <!-- only required main and translation ns:-->
{{#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|}}}}}}}}<!--
-->| ? =&nbsp;([[:শ্ৰেণী:Deletion requests/Unknown translators|unknown translator]])<!--
-->| unknown =, ''unknown translator''<!--
-->| not mentioned =, ''translator not mentioned''<!--
-->| wikisource =<i>, translated byঅনুবাদক: [[Wikisourceৱিকিউৎস:Translationsঅনুবাদ|<span id="header_translator_text">Wikisourceৱিকিউৎস</span>]]</i><!--
 
If it is the base page, add to the "Wikisource translation" category
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[শ্ৰেণী:Wikisource translations]]}}<!--
 
-->| ? =&nbsp;([[:শ্ৰেণী: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|}}}|, &#32;}}অনুবাদক: <!--
 
Override translator if needed
-->{{{override_translator|<!--
 
-->[[Author{{#ifexist: লেখক:{{{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=[[শ্ৰেণী: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|}}}}}}|[[Author{{#ifexist: লেখক:{{{contributor}}}|{{{contributorsection_author}}}]]}}</span>} || <!-- only required main and translation ns:-->
{{#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-->
Forelink -->
</div><!--
|class="gen_header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
 
|}<!--
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)
Notes section-->
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity<!--
{| class="header_notes" style="border-collapse:collapse;"
|-
|<!--
 
if page is not connected to Wikidata, only show plain sister if at least one of its parameters is filled in
Sister project links (only #if we need them)
-->|{{#if:<!--
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
Line ১৪৬ ⟶ ২২৬:
-->{{{meta|}}}<!--
 
-->|<!--
 
-->{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
Line ১৬৬ ⟶ ২৪৬:
-->| 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
-->}}<!--
 
Line ১৭৪ ⟶ ২৭৮:
 
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-->
Line ২১৯ ⟶ ৩৩৩:
-->}}<!--
 
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}} = [[শ্ৰেণী:{{#if:{{NAMESPACE}}|{{NAMESPACE}} উপপৃষ্ঠা|উপপৃষ্ঠা}}]]
}}}}<!--
 
Categories
Categories:
-->{{#if:{{{categories|}}}
-->{{#if:{{{categories|}}}
|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{categories}}}|([%w%s-]-)%s?/%s?|[[শ্ৰেণী:%1]]|plain=false}}|([%w%s-]-)$|[[শ্ৰেণী:%1]]|plain=false}}|%[%[শ্ৰেণী:%]%]||plain=false}}
 
}}<!--
|<!-- 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
Protection level detection and automatic icon
--></includeonly><!--
-->{{#if:{{NAMESPACE}}
 
|<!-- no effect outside the main namespace -->
End headerContainer wrapper-->
|{{#if:{{PROTECTIONLEVEL:edit}}{{PROTECTIONLEVEL:move}}<!-- if page protected -->
</div><!--
|{{locked}}<!-- call the locked (top icon) template -->
}}
}}<!--
 
--><noinclude>
END OF TEMPLATE
--></includeonly><noinclude>
{{documentation|Template:Header/doc}}
<!--[[শ্ৰেণী:Exclude in print]]-->
"https://as.wikisource.org/wiki/সাঁচ:Header"ৰ পৰা অনা হৈছে