مدیاویکی:Proofreadpage header template: تفاوت میان نسخهها
محتوای حذفشده محتوای افزودهشده
صفحهای جدید حاوی '<includeonly>{{header | title = {{{title|}}} | author = {{{author|}}} | translator = {{{translator|}}} | section = {{{current|}}...' ایجاد کرد |
بدون خلاصۀ ویرایش |
||
خط ۱:
<includeonly>{{#ifeq:{{{header_type|{{{value}}}}}}|empty||<div id="headertemplate" class="ws-noexport">
<div class="{{#switch:{{{type}}}
| title = {{{title|}}}▼
| journal = headertemplate-journal
| headertemplate
}}">
<div class="headertemplate-author">{{{author}}}</div>
<div class="headertemplate-title">{{#switch:{{{type}}}
| collection = {{{current|{{BASEPAGENAME}}}}}{{#if:{{{recueil}}}| — ''{{{recueil}}}''}}
| journal = {{#if:{{Est sommaire|{{{value}}}}}|{{{titre}}}|{{{current|{{BASEPAGENAME}}}}}}}
| notes = {{#if:{{{publisher|}}}|{{#if:{{{address|}}}|{{{address}}}: |}}{{{publisher}}} {{#if:{{{yeardate|}}}|({{{yeardate}}}). |}}}}{{#if:{{{from|}}}|{{#ifeq:{{{from}}}|{{{to}}}|page {{{from}}}|pages {{{from}}}-{{{to}}} }} }}{{{notes|}}}▼
| {{{titre|{{BASEPAGENAME}}}}}}}</div><div class="headertemplate-reference">{{#if:{{{translator|}}}|Traduction par {{{translator}}}.<br/>
}}{{#if:{{Est sommaire|{{{value}}}}}|{{#if:{{{volume}}}|{{{volume}}}<br/>|}}|}}{{#switch:{{{type}}}
| collection = ''{{{titre}}}'', {{#if:{{{publisher_scientifique|}}}|Texte établi par {{{publisher_scientifique}}}, |}}{{#if:{{{publisher|}}}|{{{publisher}}}, |}}{{{year}}}{{#if:{{Est sommaire|{{{value}}}}}||{{#if:{{{volume}}}|, {{{volume}}}}}{{#if:{{{from|}}}|{{#ifeq:{{{from}}}|{{{to}}}| (p. {{{from}}})| (pp. {{{from}}}-{{{to}}})}}|}}}}.
| journal = {{#if:{{Est sommaire|{{{value}}}}}|{{{year}}}|''{{{titre}}}'', {{{volume}}}, {{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}}}.
▲ |
}}
</div>
{{#ifeq:{{{value}}}|toc|{{{remarks}}}|}}▼
</div>
</div>
<div id="subheader" class="ws-noexport" style="margin-bottom:1.5em">
{{#if:{{Est sommaire|{{{value}}}}}|
{{#ifexist:{{PAGENAME}}/Texte entier|
<div style="text-align:center;">[[{{PAGENAME}}/Texte entier{{!}}Texte sur une seule page]]</div>
}}
|{{#ifexpr:{{#if:{{{prev|}}}|1|0}} or {{#if:{{{next|}}}|1|0}}|
<div class="footertemplate ws-noexport">
<table width="100%" cellpadding="0" cellspacing="0" style="padding-left:0px; padding-right:0px; background-color:transparent" class="ws-noexport">
<tr>
<td width="33%" style="text-align:left;">{{#if:{{{prev|}}}|<span id="headerprevious"><span style="color:#808080">◄ </span>{{{prev}}}</span> }}</td>
<td width="34%" style="text-align:center;">{{#switch:{{{type}}}|collection=|{{{current|}}}}}</td>
<td width="33%" style="text-align:right;">{{#if:{{{next|}}}|<span id="headernext">{{{next}}}<span style="color:#808080"> ►</span></span> }}</td>
</tr>
</table>
</div>}}}}</div>}}
{{#if:{{{epigraphe|}}}|
{{{epigraphe}}}
}} <div id="ws-summary" style="margin-top:1em">
{{{sommaire}}}</div>
}}
<div id="ws-data" class="ws-noexport" style="display:none; speak:none;">
{{#if:{{{type|}}}|<span id="ws-type">{{{type}}}</span>|}}
<span id="ws-title">{{#switch:{{{type}}}
| collection = {{{current|{{BASEPAGENAME}}}}}{{#if:{{{recueil}}}| — ''{{{recueil}}}''}}
| journal = {{#if:{{Est sommaire|{{{value}}}}}|{{{title}}}|{{{current|{{BASEPAGENAME}}}}}}}
}}</span>
{{#if:{{{author|}}}|<span id="ws-author">{{{author}}}</span>|}}
{{#if:{{{translator|}}}|<span id="ws-translator">{{{translator}}}</span>|}}
{{#if:{{{illustrator|}}}|<span id="ws-illustrator">{{{illustrator}}}</span>|}}
{{#if:{{{school|}}}|<span id="ws-school">{{{school}}}</span>|}}
{{#if:{{{publisher|}}}|<span id="ws-publisher">{{{publisher}}}</span>|}}
{{#if:{{{place|}}}|<span id="ws-place">{{{place}}}</span>|}}
{{#if:{{{year|}}}|<span id="ws-year">{{{year}}}</span>|}}
{{#if:{{{key|}}}|<span id="ws-key">{{{key}}}</span>|}}
{{#if:{{{progress|}}}|<span id="ws-progress">{{{progress}}}</span>|}}
{{#if:{{{volume|}}}|<span id="ws-volume">{{{volume}}}</span>|}}
{{#if:{{{current|}}}|<span id="ws-chapter">{{{current}}}</span>|}}
{{#if:{{{index|}}}|<span id="ws-scan">{{{index}}}</span>|}}
{{#if:{{{image|}}}|<span id="ws-cover">{{{index}}}/{{{image}}}</span>|}}
{{#if:{{{from|}}}|<span id="ws-pages">{{#ifeq:{{{from}}}|{{{to}}}|{{{from}}}|{{{from}}}-{{{to}}}}}</span>|}}
</div>
</includeonly><noinclude>
{{Documentation}}
</noinclude>
|