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

Replaced content with "<!-- BEGIN MAIN TEMPLATE SECTION -->{| class="authortemplate" |-<!-- Link to author name-wise index (suppress is == !NO_INITIAL (used *only* for disambiguation.) --> | c..."
No edit summary
(Replaced content with "<!-- BEGIN MAIN TEMPLATE SECTION -->{| class="authortemplate" |-<!-- Link to author name-wise index (suppress is == !NO_INITIAL (used *only* for disambiguation.) --> | c...")
ਟੈਗ: Replaced
-->[[Wikisource:Authors-{{{last_initial}}}|Author Index: {{{last_initial|}}}]]|<!--
-->[[:Category:Authors without initials|Authors without initials]]}}}}<!--
 
The central header title-->
| class="gen_header_title" | <span style="font-weight: bold;">{{#ifeq:{{{invert_names|}}}|yes|{{{lastname|}}} {{{firstname|}}}|{{{firstname|}}} {{{lastname|}}}}}</span><!--
-->{{#ifeq: {{{disambiguation|}}} | yes <!--
--> | <!--
--> | {{#invoke:Author|dates |dates={{{dates|}}} |birthyear={{{birthyear|}}} |deathyear={{{deathyear|}}} |wikidata_id={{{wikidata|}}} }}<!--
-->}}<!--
 
Forelink field is blank-->
| class="gen_header_forelink" |
|}<!--
 
BEGIN NOTES SECTION-->
{| class="author_notes"
|-
| <!--
 
-->{{Plain sister
| wikipedia = {{{wikipedia|}}}
| commons = {{{commons|}}}
| commonscat = {{{commonscat|{{#property:P373}}}}}
| wikiquote = {{{wikiquote|}}}
| wikinews = {{{wikinews|}}}
| wiktionary = {{{wiktionary|}}}
| wikibooks = {{{wikibooks|}}}
| wikiversity = {{{wikiversity|}}}
| wikispecies = {{{wikispecies|}}}
| wikivoyage = {{{wikivoyage|}}}
| wikidata = {{{wikidata|}}}
| bibliowiki = {{{bibliowiki|{{{wikilivres|}}}}}}
| meta = {{{meta|}}}
| portal = {{{portal|}}}
| related_author = {{{related_author|}}}
| disambiguation = {{{disambiguation|}}}
| wikidataswitch = X
}}<!--
 
-->{{{description|}}}
|}<!--
 
image
-->{{#if:{{{image|}}}|[[<!--
Filename
-->File:{{{image}}}|<!--
 
Adjust size for upright images
-->thumb{{#if:{{{upright|}}}|{{!}}upright=0.6}}|<!--
 
Image caption
-->{{#if:{{{image_caption|}}}|{{center|{{{image_caption}}}}}|{{center|{{{firstname|}}} {{{lastname|}}}}}}}<!--
 
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
--><includeonly><!--
 
Default sort by Last name, First name
-->{{DEFAULTSORT:{{{defaultsort|{{ucfirst:{{#if:{{{lastname|}}}|{{{lastname}}},_}}{{{firstname}}}}}}}}}}<!--
 
Allow category parameter to override all others (subpages, etc)
-->{{{category|<!--
 
Author index category
--> {{#ifeq:{{{last_initial|}}}|!NO_INITIALS||<!--
 
--> {{#if:{{{last_initial|}}}|<!--
-->[[Category:Authors-{{{last_initial}}}]]|<!--
-->[[Category:Authors without initials]]}}}}<!--
 
 
Categorisation of author pages by gender, based on Wikidata sex or gender Property (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]]
}}
|[[Category:Author pages with no gender in Wikidata]][[Category:Author pages with no gender]]
}}
}}<!--
 
 
Categorisation of author pages with interwiki links (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]]}}<!--
-->{{#if:{{{commons|}}}|[[Category:Author pages linking to Wikimedia Commons]]}}<!--
-->{{#if:{{{commonscat|}}}|[[Category:Author pages 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
-->}}}<!--
 
Microformat data
--><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|}}}|<div id="ws-description" class="note">{{{description}}}</div>|}}
</div></includeonly><noinclude>
{{documentation}}
</noinclude>