ਫਰਮਾ:Header: ਰੀਵਿਜ਼ਨਾਂ ਵਿਚ ਫ਼ਰਕ

ਸਮੱਗਰੀ ਮਿਟਾਈ ਸਮੱਗਰੀ ਜੋੜੀ
No edit summary
No edit summary
ਲਾਈਨ 74:
Insert a line break if page is *not* a section page
-->{{#if:{{{section|}}}|&#32;|<br/>}}<!--
--><i>by <!--
 
Catch unknown authors
ਲਾਈਨ 80:
 
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
ਲਾਈਨ 98:
-->|#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}}} |{{{editor}}}]]}}</span></span>| <!-- 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>}}<!--
-->}}<!--
ਲਾਈਨ 111 ⟶ 115:
-->{{#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
ਲਾਈਨ 120 ⟶ 124:
 
Switch default - the given translator
-->|#default =<i>{{#if:{{{author|}}}{{{override_author|}}}{{{override_editor|}}}{{{editor|}}}|,&#32;}}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>}}<!--
ਲਾਈਨ 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}}}|[[{{#ifexist: Author:{{{contributor}}} |{{{contributor}}}]]}}</span></span>| <!-- 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>}}<!--
 
ਲਾਈਨ 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