"ਫਰਮਾ:ਲੇਖਕ" ਦੇ ਰੀਵਿਜ਼ਨਾਂ ਵਿਚ ਫ਼ਰਕ

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
ਛੋ (19 ਸੁਧਾਈਆਂ ਦੀ ਦਰਾਮਦ ਹੋਈ: from oldWikisource)
No edit summary
BEGIN MAIN TEMPLATE SECTION
 
-->{| class="authortemplate"
-->{| style="width: 100%; margin-bottom: 4px; border: 1px solid #BEA2A2; background-color: #E4D8D8;"
|-<!--
 
Link to author name-wise index (suppress is == !NO_INITIAL (used *only* for disambiguation.) -->
| class="gen_header_backlink" width="25%" |<!--
 
Filter out !NO_INITIALS, and send blanks to maintenance cats
 
The central header title-->
| class="gen_header_title" | '''{{#ifeq:{{{invert_names|}}}|yes|{{{lastname}}} {{{firstname}}}|{{{firstname}}} {{{lastname}}}}}'''<!--
| class="gen_header_title" align="center" | '''{{#ifeq:{{{invert_names|}}}|yes|{{{lastname}}} {{{firstname}}}|{{{firstname}}} {{{lastname}}}}}'''{{#if:{{{dates|}}}{{{birthyear|}}}{{{deathyear|}}}|<br />({{{dates|{{#if:{{{birthyear|}}}|{{#if:{{#titleparts:{{{birthyear|}}}|1|2}}|{{#switch:{{#titleparts:{{{birthyear|}}}|1|1}}| C | C. | Ca | Ca. | Circa = c. {{#titleparts:{{{birthyear|}}}|1|2}}| #default = {{#ifeq:{{#titleparts:{{{birthyear|}}}|1|2}}|?|{{#titleparts:{{{birthyear|}}}|1|1}}?|{{{birthyear}}}}}}}|{{{birthyear}}}}}{{#if:{{{deathyear|}}}|–{{#if:{{#titleparts:{{{deathyear|}}}|1|2}}|{{#switch:{{#titleparts:{{{deathyear|}}}|1|1}}| C | C. | Ca | Ca. | Circa = c. {{#titleparts:{{{deathyear|}}}|1|2}}| #default = {{#ifeq:{{#titleparts:{{{deathyear|}}}|1|2}}|?|{{#titleparts:{{{deathyear|}}}|1|1}}?|{{{deathyear}}}}}}}|{{{deathyear}}}}}|—}}|{{#if:{{{deathyear}}}|?–{{#if:{{#titleparts:{{{deathyear|}}}|1|2}}|{{#switch:{{#titleparts:{{{deathyear|}}}|1|1}}| C | C. | Ca | Ca. | Circa = c. {{#titleparts:{{{deathyear|}}}|1|2}}| #default = {{#ifeq:{{#titleparts:{{{deathyear|}}}|1|2}}|?|{{#titleparts:{{{deathyear|}}}|1|1}}?|{{{deathyear}}}}}}}|{{{deathyear}}}}}}}}}}}})|}}<!--
-->{{#ifeq: {{{disambiguation|}}} | yes <!--
}}--> | <!--
--> | {{#invoke:Author|dates |dates={{{dates|}}} |birthyear={{{birthyear|}}} |deathyear={{{deathyear|}}} |wikidata_id={{{wikidata|}}} }}<!--
-->]]}}<!--
 
Forelink field is blank-->
| class="gen_header_forelink" width="25%" |
|}<!--
 
BEGIN NOTES SECTION-->
{| class="author_notes"
{| style="width: 100%; font-size: 0.9em; line-height: 1.4; margin-bottom: 4px; border-bottom: 1px solid #A88; background-color: #FFFBFC;"
|-
| <!--
| wikipedia = {{{wikipedia|}}}
| commons = {{{commons|}}}
| commonscat = {{{commonscat|{{#property:P373}}}}}
| wikiquote = {{{wikiquote|}}}
| wikinews = {{{wikinews|}}}
| wikivoyage = {{{wikivoyage|}}}
| wikidata = {{{wikidata|}}}
| wikilivresbibliowiki = {{{bibliowiki|{{{wikilivres|}}}}}}
| meta = {{{meta|}}}
| portal = {{{portal|}}}
 
End image
-->]]<includeonly>[[Category:Author pages with image]]</includeonly>|<!--
-->]]}}<!--
else check
if image exists at wikidata
-->{{#if:{{#invoke:Wikidata|getValue|P18|FETCH_WIKIDATA}}|<!--
then use it in standard way
-->[[File:{{#invoke:Wikidata|getValue|P18|FETCH_WIKIDATA}}|<!--
 
Adjust size for upright images
-->thumb{{#if:{{{upright|}}}|{{!}}upright=0.6}}|<!--
 
Image caption
-->{{#if:{{{image_caption|}}}|{{center|{{{image_caption}}}}}|{{center|{{#ifeq:{{{invert_names|}}}|yes|{{{lastname}}} {{{firstname}}}|{{{firstname}}} {{{lastname}}}}}}}}}<!--
 
End image and categorise
-->]]<includeonly>[[Category:Author pages with Wikidata image]]</includeonly>|<!--
else categorise and close inner if
--><includeonly>[[Category:Author pages without image]]</includeonly>}}<!--
close outer #if
-->}}<!--
 
CATEGORIES
Default sort by Last name, First name
-->{{DEFAULTSORT:{{{defaultsort|{{ucfirst:{{#if:{{{lastname|}}}|{{{lastname}}},_}}{{{firstname}}}}}}}}}}<!--
 
Add to common Authors category:
-->{{#ifeq:{{NAMESPACE}}|Author|[[Category:Authors]]}}<!--
 
Allow category parameter to override all others (subpages, etc)
-->[[Category:Authors without initials]]}}}}<!--
 
Categorisation of author pages by birth and/or death year
-->{{Author/year|{{{birthyear|}}}|b}}<!-- use subroutine (subpage of template) to categorise by the birthyear
-->{{#if:{{{birthyear|}}}
|{{Author/year|{{{deathyear|}}}|d|x}}<!-- categorise by deathyear (with birthyear present, ie. living author if blank) -->
|{{Author/year|{{{deathyear|}}}|d}}<!-- categorise by deathyear (with no birthyear present) -->
}}<!--
 
Categorisation of author pages by birthgender, based on Wikidata sex and/or deathgender Property year(P21)
The main are: male (Q6581097), female (Q6581072), transgender female (Q1052281).
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity
|[[Category:Author pages with gender manually categorised]]
|{{#if:{{#property:P21}}
|{{#switch:{{#property:P21}}
|female=[[Category:Women authors]][[Category:Author pages with gender in Wikidata]]
|male=[[Category:Male authors]][[Category:Author pages with gender in Wikidata]]
|transgender female=[[Category:Transgender and transsexual authors]][[Category:Women authors]][[Category:Author pages with gender in Wikidata]]
|transgender male=[[Category:Transgender and transsexual authors]][[Category:Male authors]][[Category:Author pages with gender in Wikidata]]
|unknown value=[[Category:Author pages with unknown gender in Wikidata]]
}}
-->{{#if:{{{wikipedia|}}} |[[Category:Author pages linkingwith tono Wikipediagender in Wikidata]]|[[Category:Author pages not linkingwith tono Wikipediagender]]}}<!--
}}
}}<!--
 
Categorisation of author pages with and without interwiki links
-->{{#if:{{{wikipedia|}}}|[[Category:Author pages linking to Wikipedia]]|[[Category:Author pages not linking to Wikipedia]]}}<!--
-->{{#if:{{{wikiquote|}}}|[[Category:Author pages linking to Wikiquote]]|[[Category:Author pages not linking to Wikiquote]]}}<!--
-->{{#if:{{{commons|}}}|[[Category:Author pages linking to Wikimedia Commons]]|[[Category:Author pages not linking to Wikimedia Commons]]}}<!--
-->{{#if:{{{commonscat|}}}|[[Category:Author pages linking to Wikimedia Commons categories]]|[[Category:Author pages not linking to Wikimedia Commons categories]]}}<!--
 
Categorisation of author pages with andinterwiki withoutlinks interwiki(used for maintenance view only, links come from WD)
{{#if:{{{wikipedia|}}}|[[Category:Author pages linking to Wikipedia]]}}<!--
-->{{#if:{{{wikiquote|}}}|[[Category:Author pages linking to Wikiquote]]|[[Category:Author pages not linking to Wikiquote]]}}<!--
-->{{#if:{{{commons|}}}|[[Category:Author pages linking to Wikimedia Commons]]|[[Category:Author pages not linking to Wikimedia Commons]]}}<!--
-->{{#if:{{{commonscat|}}}|[[Category:Author pages linking to Wikimedia Commons categories]]|[[Category:Author pages not linking to Wikimedia Commons categories]]}}<!--
-->{{#ifeq:{{{namespace|{{NAMESPACE}}}}}|Author|<!-- only invoke for Author: ns:
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity|[[Category:Author pages not connected to Wikidata]]|[[Category:Author pages connected to Wikidata]]}}<!--
-->}}<!--
 
End categories
--><div id="ws-data" class="vcard ws-noexport" style="display:none; speak:none;"><!--
--><span id="ws-article-id">{{{{{|safesubst:}}}PAGEID}}</span><!--
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity||<span id="ws-wikibase-id">{{#invoke:Wikibase|id}}</span>}}<!--
-->{{#if:{{{firstname|}}}{{{lastname|}}}|<span id="ws-name" class="fn">{{#ifeq:{{{invert_names|}}}|yes|{{{lastname|}}} {{{firstname|}}}|{{{firstname|}}} {{{lastname|}}}}}</span><span class="n"><span class="given-name">{{{firstname|}}}</span><span class="family-name">{{{lastname|}}}</span></span>|}}<!--
-->{{#if:{{{defaultsort|}}}{{{firstname|}}}{{{lastname|}}}|<span id="ws-key">{{{defaultsort|{{ucfirst:{{#if:{{{lastname|}}}|{{{lastname}}},_}}{{{firstname|}}}}}}}}</span>|}}<!--
-->{{#if:{{{image|}}}|<span id="ws-image">{{{image}}}</span>|}}<!--
-->{{#if:{{{birthyear|}}}|<span id="ws-birthdate" class="bday">{{#invoke:Author|date|type=birth|year={{{birthyear|}}}}}</span>|}}<!--
-->{{#if:{{{deathyear|}}}|<span id="ws-deathdate" class="dday">{{#invoke:Author|date|type=death|year={{{deathyear|}}}}}</span>|}}<!--
-->{{#if:{{{wikipedia|}}}|<span id="ws-wikipedia">{{{wikipedia|}}}</span>|}}<!--
-->{{#if:{{{wikiquote|}}}|<span id="ws-wikiquote">{{{wikiquote|}}}</span>|}}<!--
-->{{#if:{{{commons|}}}{{{commonscat|}}}|<span id="ws-commons">{{#if:{{{commonscat|}}}|Category:{{{commonscat|}}}|{{{commons|}}}}}</span>|}}<!--
-->{{#if:{{{description|}}}|<spandiv id="ws-description" class="note">{{{description}}}</spandiv>|}}
</div></includeonly><noinclude>
{{documentation}}