ਫਰਮਾ:Header: ਰੀਵਿਜ਼ਨਾਂ ਵਿਚ ਫ਼ਰਕ
ਸਮੱਗਰੀ ਮਿਟਾਈ ਸਮੱਗਰੀ ਜੋੜੀ
No edit summary |
No edit summary |
||
ਲਾਈਨ 74:
Insert a line break if page is *not* a section page
-->{{#if:{{{section|}}}| |<br/>}}<!--
--><i>by <!--
Catch unknown authors
ਲਾਈਨ 80:
Link known authors to the author namespace
-->{{#ifexist:
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[
Editor field - only if needed
ਲਾਈਨ 98:
-->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|, }}<!--
-->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}}
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[Author:{{{editor}}}|{{{editor}}}]]}}</span></span><!--
--></i>}}<!--
-->}}<!--
ਲਾਈਨ 111 ⟶ 115:
-->{{#switch:{{lc:{{{override_translator|{{{translator|}}}}}}}}<!--
-->| not mentioned =, ''translator not mentioned''<!--
-->| wikisource =<i>,
If it is the base page, add to the "Wikisource translation" category
ਲਾਈਨ 120 ⟶ 124:
Switch default - the given translator
-->|#default =<i>{{#if:{{{author|}}}{{{override_author|}}}{{{override_editor|}}}{{{editor|}}}|, }}translated
Override translator if needed
-->{{{override_translator|<!--
-->
{{#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>}}<!--
ਲਾਈਨ 135 ⟶ 143:
Section author
-->{{#if:{{{override_contributor|}}}{{{contributor|}}}|<!--
--><i> by <span id="header_contributor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[Category:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[Author:{{{contributor}}}|{{{contributor}}}]]}}</span></span><!--
--></i>}}<!--
ਲਾਈਨ 326 ⟶ 338:
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
|