"फलकम्:Header" इत्यस्य संस्करणे भेदः

No edit summary
test
पङ्क्तिः १:
<includeonly><!--
{| style="width:100%; margin-bottom:5px; border: 1px solid #ADA; background-color: #E4F2E4; text-align:center; font-size:0.9em;"
 
Make sure no parameters are removed-->{{#switch:undef!
|{{{title|undef!}}}
|{{{author|undef!}}}
|{{{section|undef!}}}
|{{{previous|undef!}}}
|{{{next|undef!}}}
|{{{notes|undef!}}} = <div style="text-align:center; border:1px solid #CCC; font-size:0.9em;">'''template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[Template:Header#documentation|template documentation]]).'''</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|}}}|&nbsp;({{{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 dirty links
-->{{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|<!--
 
Dirty link
-->{{{author}}}</i>|<!--
Catch unknown authors
-->{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|<!--
 
Link clean and known authors to the author namespace
-->[[Author:{{{author}}}|<span id="header_author_text">{{{author}}}</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 <!--
 
Catch dirty links
-->{{{override_translator|<!--
-->{{#ifeq:{{#expr:{{{translator}}}}}|<!--
--><strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|<!--
 
Dirty link
-->[[Author:{{{translator}}}|<!--
 
Clean link
--><span id="header_translator_text">{{{translator}}}</span>]]</i>}}}}}
}}}}<!--
 
Section field
-->{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}}<!--
 
Forelink -->
|class="gen_header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}<!--
 
 
Notes section-->
{| class="header_notes"
|-
|<!--
| style="width:20%; text-align:left; font-size:0.9em;" | {{{previous|}}}
 
| style="width:60%;" | '''{{{title|Untitled}}}'''<br/>{{#if: {{{section|}}}|{{{section|}}}<br/>|}}{{{noauthor|''{{#if: {{{noby|}}}|{{{noby|}}}|{{{noby|ग्रन्थकारः - }}}}} {{{override_author|[[Author:{{{author|}}}|{{{author|unknown}}}]]}}}''}}}
Sister project links (only if we need them)
| style="width:20%; text-align:right;font-size:0.9em;" | {{{next|}}}
-->{{#if:{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}{{{portal|}}}{{{related_author|}}}{{{disambiguation|}}}|<!--
|}
 
{| 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|}}}
}}<!--
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}}]]
}}}}<!--
 
Track pages using the author override-->{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}<!--
 
Track pages using the dirty link-detection hacks
-->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong>
|{{#expr:{{{author}}}}}
|{{#expr:{{{translator}}}}} = [[Category:Pages using the author field hack]]
}}<!--
 
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]]}}<!--
 
Track pages with no year (only if not a subpage or disambiguation page)
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|{{#ifeq:{{{disambiguation|}}}|yes||{{#if:{{{year|}}}||[[Category:Undated works]]}}}}}}<!--
 
Categorise page by year
-->{{#if:{{{year|}}}|[[Category:{{{year}}} works]]}}<!--
 
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|}}}|<span id="ws-year">{{{year}}}</span>|}}
</div><!--
 
END OF TEMPLATE
'''Interwiki:'''
--></includeonly><noinclude>
:[[da:s:Skabelon:Header]]
{{documentation|Template:Header/doc}}
:[[fr:s:Modèle:Titre]]
[[Category:Exclude in print]]
:[[pl:s:Szablon:Nagłówek]]
:[[zh:s:Template:Header]]</noinclude>
<br clear=all />
"https://sa.wikisource.org/wiki/फलकम्:Header" इत्यस्माद् प्रतिप्राप्तम्