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

নেভিগেশ্যনলৈ যাওক সন্ধানলৈ যাওক
৭,২৬৭ বাইট যোগ দিয়া হ’ল ,  ৮ বছৰৰ পূৰ্বে
সম্পাদনা সাৰংশ নাই
<includeonly><!--
<!-- METADATA IN MICROFORMAT, FOR WSEXPORT --><div id="ws-data" class="ws-noexport" style="display:none; speak:none">
 
<span id="ws-title">{{{title|Untitled}}}</span>
Make sure no parameters are removed-->{{#switch:undef!
<span id="ws-author">{{{author|Unknown author}}}</span>
|{{{title|undef!}}}
<span id="ws-year">{{{year|}}}</span>
|{{{author|undef!}}}
</div>
|{{{section|undef!}}}
{| style="width:100%; margin-bottom:5px; border: 1px solid #ADA; background-color: #E4F2E4; text-align:center; font-size:0.9em;"
|{{{previous|undef!}}}
|{{{next|undef!}}}
|{{{notes|undef!}}} = <div style="text-align:center; border:1px solid #CCC;"><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}}||[[Category:Headers missing parameters]]|}}}}</includeonly><!--
 
 
Begin header here --><div id="headertemplate" class="headerRaw ws-noexport">
{| class="headertemplate"
|-<!--
 
Previous page link-->
|class="gen_header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}<!--
 
Title-->
|class="gen_header_title" | '''<span id="header_title_text">{{{title|Untitled}}}</span>''' {{#if:{{{year|}}}{{{override_year|}}}|{{#if:{{{noyear|}}}|[[Category:Pages with noyear]]|&nbsp;({{{override_year|{{#ifeq:{{{year}}}|?|unknown|{{{year}}}}}}}})&nbsp;}}}}<!--
 
Author field
-->{{#if:{{{override_author|}}}|<!--
 
Override author
--><br /><i><span id="header_author_text">{{{override_author}}}</span></i>|<!--
 
Normal author
-->{{#if:{{{author}}}|<!--
 
Insert a line break if page is *not* a section page
-->{{#if:{{{section|}}}| |<br/>}}<!--
--><i>by <!--
 
Catch unknown authors
-->{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|<!--
 
Link known authors to the author namespace
-->[[Author:{{{author}}}|<span id="header_author_text">{{{author}}}</span>]]}}</i>}}}}<!--
 
Editor field - only if needed
-->{{#if:{{{override_editor|}}}{{{editor|}}}|<!--
 
Catch special cases for editors
-->{{#switch:{{lc:{{{override_editor|{{{editor|}}}}}}}}<!--
-->| ? | unknown=, ''editor unknown''[[Category:Works with unknown editors]]<!--
-->| not mentioned =, ''editor not mentioned''[[Category:Works with unmentioned editors]]<!--
 
Switch default - the given editor
-->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|,&#32;}}<!--
-->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}} edited by <!--
 
--><span id="header_editor_text"><!--
-->{{#if:{{{override_editor|}}}|{{{override_editor}}}|[[Author:{{{editor}}}|{{{editor}}}]]}}</span><!--
--></i>}}<!--
-->}}<!--
 
Translator field - only if needed
-->{{#if:{{{override_translator|{{{translator|}}}}}}|<!--
 
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>, 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}}|[[Category:Wikisource translations]]}}<!--
 
Switch default - the given translator
-->|<i>, translated by <!--
 
Override translator if needed
-->{{{override_translator|<!--
 
-->[[Author:{{{translator}}}|<!--
--><span id="header_translator_text">{{{translator}}}</span>]]</i>}}}
}}}}<!--
 
Section field
-->{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span><!--
 
Section author
-->{{#if:{{{override_contributor|}}}{{{contributor|}}}|<!--
--><i> by <span id="header_contributor_text"><!--
-->{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|[[Author:{{{contributor}}}|{{{contributor}}}]]}}<!--
--></i>}}<!--
 
end of section field
-->}}<!--
 
Forelink -->
|class="gen_header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}<!--
 
 
Notes section-->
{| class="header_notes" style="border-collapse:collapse;"
|-
|<!--
| style="width:{{#if:{{{previous|}}}{{{next|}}}|20|0}}%; text-align:left; font-size:0.9em;" | {{#if:{{{previous|}}}|←&nbsp;{{{previous|}}}}}
 
| style="width:{{#if:{{{previous|}}}{{{next|}}}|60|100}}%;" | <span style="font-size:110%">'''{{{title|Untitled}}}'''</span><br/>{{#if: {{{section|}}}|{{{section|}}}<br/>|}}{{{noauthor|{{{noby|}}} {{{override_author|[[Author:{{{author|Unknown author}}}|{{{author|Unknown author}}}]]}}}}}}{{#if: {{{year|}}}|<br/>{{{year}}}}}
Sister project links (only if we need them)
| style="width:{{#if:{{{previous|}}}{{{next|}}}|20|0}}0%; text-align:right;font-size:0.9em;" | {{#if:{{{next|}}}|{{{next|}}}&nbsp;→}}
-->{{#if:{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}{{{portal|}}}{{{related_author|}}}{{{disambiguation|}}}{{{wikilivres|}}}|<!--
|}
 
{| style="width:100%; border-bottom:1px solid #A88; background:#fAfAff; font-size:0.9em;"
-->{{Plain sister
|-
| wikipedia = {{{wikipedia|}}}
| {{{notes|}}}
| commons = {{{commons|}}}
|} <noinclude>
| commonscat = {{{commonscat|}}}
{{documentation}}
| wikiquote = {{{wikiquote|}}}
[[Category:Article templates|{{PAGENAME}}]]
| wikinews = {{{wikinews|}}}
| wiktionary = {{{wiktionary|}}}
| wikibooks = {{{wikibooks|}}}
| wikiversity = {{{wikiversity|}}}
| wikispecies = {{{wikispecies|}}}
| meta = {{{meta|}}}
| portal = {{{portal|}}}
| related_author = {{{related_author|}}}
| disambiguation = {{{disambiguation|}}}
| wikilivres = {{{wikilivres|}}}
}}<!--
endif we need plain sister
-->}}<!--
 
Shortcut link
-->{{#if:{{{shortcut|}}}|{{Shortcut|{{{shortcut}}}}}}}<!--
 
Notes from parameter
-->{{{notes}}}
|}</div><includeonly><!--
 
Unknown translator
-->{{#switch:{{{translator}}}
|?
|unknown = {{No translator info}}
}}<!--
 
Subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
}}}}<!--
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}}]]}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|4}}|[[Category:{{#titleparts:{{{categories}}}|1|4}}]]}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|5}}|[[Category:{{#titleparts:{{{categories}}}|1|5}}]]}}<!--
-->{{#if:{{#titleparts:{{{categories|}}}|1|6}}|[[Category:{{#titleparts:{{{categories}}}|1|6}}]]}}<!--
-->{{#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|}}}|[[Category:Pages with override author]]}}<!--
 
Track pages with no author given
-->{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}<!--
 
Track pages using shortcuts
-->{{#if:{{{shortcut|}}}|[[Category:Mainspace pages with shortcuts]]}}<!--
 
Categorise page by year, track pages with no year (only if not a subpage or disambiguation page)
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|{{#ifeq:{{{disambiguation|}}}|yes||{{#if:{{{override_year|}}}{{{noyearcat|}}}|{{#if:{{{override_year|}}}|[[Category:Pages with override year]]}}{{#if:{{{noyearcat|}}}|[[Category:Pages with noyearcat]]}}|{{Header/year|{{{year|}}}}}}}}}}}<!--
 
Protection level detection and automatic icon
-->{{#if:{{NAMESPACE}}
|<!-- no effect outside the main namespace -->
|{{#if:{{PROTECTIONLEVEL:edit}}{{PROTECTIONLEVEL:move}}<!-- if page protected -->
|{{locked}}<!-- call the locked (top icon) template -->
}}
}}<!--
 
END OF VISIBLE TEMPLATE
 
 
MICROFORMAT DATA-->
<div id="ws-data" class="ws-noexport" style="display:none; speak:none;">
<span id="ws-title">{{{title|}}}{{#if:{{{section|}}}|&#32;— ''{{{section}}}''}}</span>
{{#if:{{{author|}}}{{{override_author|}}}|<span id="ws-author">{{#if:{{{override_author|}}}|{{{override_author}}}|{{{author}}}}}</span>|}}
{{#if:{{{translator|}}}{{{override_translator|}}}|<span id="ws-translator">{{#if:{{{override_translator|}}}|{{{override_translator}}}|{{{translator}}}}}</span>|}}
{{#if:{{{year|}}}{{{override_year|}}}|<span id="ws-year">{{#if:{{{override_year|}}}|{{{override_year}}}|{{{year}}}}}</span>|}}
</div><!--
 
END OF TEMPLATE
[[da:Skabelon:Header]]
--></includeonly><noinclude>
[[fr:Modèle:Titre]]
[[it:{{documentation|Template:Intestazione]]Header/doc}}
[[Category:Exclude in print]]
[[pl:Szablon:Nagłówek]]
[[zh:Template:Header]]</noinclude>
<br clear=all />
৪,৫০৩

টা সম্পাদনা

সা-সঁজুলি