الگو:سرصفحه: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
روزبه (بحث | مشارکت‌ها)
بدون خلاصۀ ویرایش
Mardetanha (بحث | مشارکت‌ها)
بدون خلاصۀ ویرایش
خط ۱:
<!-- make sure no parameters are removed --><includeonly>{{#switch:undef!
{| style="width:100%; margin-bottom:5px; border: 1px solid #ADA; background-color: #E4F2E4; text-align:center; font-size:0.9em;"
|{{{عنوان|بی‌عنوان}}}
|{{{مولف|بی‌‌مولف}}}
|{{{قسمت|بی‌قسمت}}}
|{{{قبلی|}}}
|{{بعدی|}}}
|{{{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 talk:header#documentation|template documentation]]).'''</div> [[Category:Headers missing parameters]]}}</includeonly>
{| class="headertemplate" id="headertemplate"
|-
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
| style="width:20%; text-align:right; font-size:0.9em;" | {{{قبلی|}}}
|class="header_title" | '''{{{title|Untitled}}}''' {{#if:{{{override_author|}}}|<br /><i>{{{override_author}}}</i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|[[Author:{{{author}}}|{{{author}}}]]}}</i>}}}}{{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
| style="width:60%;" | '''{{{عنوان|بی‌عنوان}}}''' {{{قسمت|}}}{{{بی‌مؤلف|<br />''از {{{مؤلف‌صریح|[[Author:{{{مؤلف|}}}|{{{مؤلف|نامعلوم}}}]]}}}''}}}
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
| style="width:20%; text-align:left;font-size:0.9em;" | {{{بعدی|}}}
| wikisource =<i>, translated by [[Wikisource:Translations|Wikisource]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}}
|<i>, translated by {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|{{{translator}}}]]</i>}}
}}}}{{#if:{{{section|}}}|<br />{{{section|}}}}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}
{| class="header_notes"
{| style="width:100%; border-bottom:1px solid #A88; background:#fAfAff; font-size:0.9em;"
|-
| {{{یادداشت|notes}}}
|}<includeonly><!--
|} <noinclude>[[رده:الگوهای مطالب|{{PAGENAME}}]]
unknown translator -->{{#switch:{{{translator}}}
[[da:Skabelon:Header]]
|?
[[en:Template:Header]]
|unknown = {{No translator info}}
[[fr:Modèle:Titre]]
}}<!--
[[zh:Template:Header]]</noinclude>
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
<br clear=all />
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category: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]]
}}</includeonly><noinclude>
[[en:{{documentation|Template:Header]]/doc}}
</noinclude>