Difference between revisions of "Template:Infobox person/WD/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
imported>Mike Peel
(Change to redirect to Template:Infobox person/Wikidata/doc)
 
Line 1: Line 1:
−
{{Documentation subpage}}
+
#REDIRECT [[Template:Infobox person/Wikidata/doc]]
−
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
−
{{Lua|Module:Infobox|Module:InfoboxImage|Module:WikidataIB|Module:Check for unknown parameters}}
 
−
 
 
−
This is a fork of [[Template:Infobox person]] (oldid=737407635).
 
−
 
 
−
Its purpose is to allow editors at the article level to blacklist various fields so that they do not display. This makes a positive statement that those fields are unsuitable for inclusion in that article's infobox.
 
−
 
 
−
It is also capable of fetching a limited amount of information from Wikidata if enabled ("opt-in"), but only in the absence of a locally supplied value.
 
−
 
 
−
== Usage ==
 
−
=== General example ===
 
−
<pre>
 
−
{{infobox person/WD
 
−
| suppressfields=occupation, religion, children
 
−
...
 
−
}}
 
−
</pre>
 
−
This will prevent the infobox from displaying the fields for occupation, religion, or children.
 
−
 
 
−
=== Specific example ===
 
−
{{infobox person/WD
 
−
| qid=Q255
 
−
| name=Ludwig van Beethoven
 
−
| suppressfields=birth_date
 
−
| fetchwikidata=ALL
 
−
}}
 
−
In {{Q|Q255}}
 
−
<pre>
 
−
{{infobox person/WD
 
−
| suppressfields=birth_date
 
−
| fetchwikidata=ALL
 
−
}}
 
−
</pre>
 
−
 
 
−
This fetches information on place of birth, baptism, death, citizenship, etc. - but not date of birth as that is not known.
 
−
 
 
−
== See also ==
 
−
* {{tl|Infobox person}}
 
−
* {{tl|Infobox person ii}}
 
−
* {{tl|Infobox person/Wikidata}}
 
−
 
 
−
<includeonly>{{sandbox other||
 
−
<!-- Categories below this line, please; interwikis at Wikidata -->
 
−
[[Category:Templates using data from Wikidata]]
 
−
[[Category:People and person infobox templates]]
 
−
[[Category:Templates that add a tracking category]]
 
−
 
 
−
}}</includeonly>
 

Latest revision as of 15:26, 21 January 2017