Főmenü megnyitása

Módosítások

Sablon:Header

11 479 bájt hozzáadva, 2019. október 11., 03:24
Új oldal, tartalma: „<!-- Begin headerContainer wrapper --><div id="headerContainer" class="ws-noexport noprint"><!-- Make sure no parameters are removed --><includeonly> {{#switch:undef…”
<!--
Begin headerContainer wrapper

--><div id="headerContainer" class="ws-noexport noprint"><!--

Make sure no parameters are removed

--><includeonly>
{{#switch:undef!
|{{{title|undef!}}}
|{{{author|undef!}}}
|{{{section|undef!}}}
|{{{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 hidden transparent; 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><!--

Also add a tracking category:
-->{{#ifeq:{{NAMESPACE}}||[[Category: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-->
<div class="gen_header_backlink searchaux" style="display:table-cell; text-align:left; vertical-align:middle; width:20%;"><!--

-->{{#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; width:60%;"><!--

-->'''
<span id="header_title_text">[[Literatură:{{{title|Untitled}}}|{{{title}}}]]</span>'''<br>
<span>Data publicării: {{{year|}}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>Volumul: {{{volume|}}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>Numărul: {{{number|}}}</span>'''
<!--

Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
-->|{{#if:{{{override_year|}}}<!--
-->|&nbsp;({{{override_year}}})&nbsp;[[Category:Pages with override year]]<!--
-->|{{header/year<!--
-->|{{{year}}}<!-- unaltered user input
-->|noprint ={{#if:{{{noyear|}}}|1|0}}<!-- send 1 if "noyear" was called and 0 if not
-->|nocat ={{#ifeq:{{{disambiguation|}}}|yes<!--
-->|1<!-- send 1 if this is a disambiguation page and 0 if it is not, unless...
-->|{{#if:{{{noyearcat|}}}<!--
-->|1<!-- send 1 if "noyearcat" was called and 0 if not, unless...
-->|{{is subpage}}<!-- will return 1 if it is a subpage and 0 if not
-->}}<!--
-->}}<!-- a result of 1 will turn categorisation off; 0 will keep it on
-->}}<!-- header/year subroutine
-->}}<!-- if override_year
-->}}<!--

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}}}|<!--

Insert a line break if page is *not* a section page
-->{{#if:{{{section|}}}|&#32;|<br/>}}<!--
--><i>by <!--

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}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[Author:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></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" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|{{#ifexist: Author:{{{editor}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[Author:{{{editor}}}|{{{editor}}}]]}}</span></span><!--
--></i>}}<!--
-->}}<!--

Translator field - only if needed
-->{{#if:{{{override_translator|}}}{{{translator|}}}|<!--

Catch special cases for translators
-->{{#switch:{{lc:{{{override_translator|{{{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]]}}<!--

-->| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]]){{No translator info}}<!--
-->| unknown =, ''unknown translator''{{No translator info}}<!--

Switch default - the given translator
-->|#default =<i>, translated by <!--

Override translator if needed
-->{{{override_translator|<!--

-->{{#ifexist: Author:{{{translator}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[Author:{{{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><!--

Section author
-->{{#if:{{{override_contributor|}}}{{{contributor|}}}|<!--
--><i> by <span id="header_contributor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|{{#ifexist: Author:{{{contributor}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[Author:{{{contributor}}}|{{{contributor}}}]]}}</span></span><!--
--></i>}}<!--

end of section field
-->}}<!--

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<!--



end #ifeq
-->}}<!--

Shortcut link
-->{{#if:{{{shortcut|}}}|{{Shortcut|{{{shortcut}}}}}}}<!--

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-->
<includeonly><div id="ws-data" class="ws-noexport" style="display:none; speak:none;"><!--

--><span id="ws-article-id">{{{{{|safesubst:}}}PAGEID}}</span><!--

--><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><!--
-->|<!--
-->}}<!--

END OF MICROFORMAT DATA-->
</div><!--

Subpages
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
}}}}<!--

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}}}/|([^/]+)/*|[[Category:%1]]||plain=false }}<!--

-->}}<!--

Track pages using the author override
-->{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}<!--

Track pages using contributor
-->{{#if:{{{contributor|}}}|[[Category:Pages with contributor]]}}<!--

Track pages using override_contributor
-->{{#if:{{{override_contributor|}}}|[[Category:Pages with override contributor]]}}<!--

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 using the year override options
-->{{#if:{{{override_year|}}}|[[Category:Pages with override year]]}}<!--
-->{{#if:{{{noyear|}}}|[[Category:Pages with noyear]]}}<!--
-->{{#if:{{{noyearcat|}}}|[[Category:Pages with noyearcat]]}}<!--

END OF NON-VISIBLE CONTENT
--></includeonly><!--

End headerContainer wrapper-->
</div><!--

--><noinclude>
{{documentation|Template:Header/doc}}
<!--[[Category:Exclude in print]]-->
</noinclude>