Apri il menu principale
Pagina principale
Una pagina a caso
entra
Impostazioni
Informazioni su Tematiche di genere
Avvertenze
Tematiche di genere
Ricerca
Modifica di
Modulo:Wikidata/doc
(sezione)
Attenzione:
non hai effettuato l'accesso. Se effettuerai delle modifiche il tuo indirizzo IP sarà visibile pubblicamente. Se
accedi
o
crei un'utenza
, le tue modifiche saranno attribuite al tuo nome utente, insieme ad altri benefici.
Controllo anti-spam.
NON
riempirlo!
== Testing == === Testing spouse === Copy and paste the following into any article and preview it (please don't save!): <syntaxhighlight lang="moin"> * - {{#invoke:Wikidata|getValue|P26|}} * - {{#invoke:Wikidata|getValue|P26|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getValue|P26|[[Hillary Rodham Clinton]]}} </syntaxhighlight> In [[Bill Clinton]] you should get: * - * - [[Hillary Clinton]] * - [[Hillary Rodham Clinton]] In [[Barack Obama]] you should get: * - * - [[Michelle Obama]] * - [[Hillary Rodham Clinton]] In [[Richard Burton]] you should get: * - * - [[Elizabeth Taylor]], [[Sally Burton]], [[Sybil Christopher]], [[Suzy Miller]], [[Elizabeth Taylor]] * - [[Hillary Rodham Clinton]] In [[Franz Kafka]] you should get: * - * - * - [[Hillary Rodham Clinton]] === Testing birthplace === Copy and paste the following into any article and preview it (please don't save!): <syntaxhighlight lang="moin"> * - {{#invoke:Wikidata|getValue|P19|}} * - {{#invoke:Wikidata|getValue|P19|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getValue|P19|[[Newport]]}} </syntaxhighlight> Try [[William Ellery]] and check that the Wikidata call correctly disambiguates. === Testing getValue, getRawValue and getDateValue === Copy and paste the following into any article and preview it (please don't save!): <pre> * - {{#invoke:Wikidata|getValue|P19|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getValue|P26|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getValue|P27|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getValue|P140|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getRawValue|P21|FETCH_WIKIDATA}} * - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|dmy}} * - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|mdy}} * - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|y}} </pre> This should return the Wikidata values for birthplace, spouse, citizenship, religion, gender, date of birth (twice) and year of birth, if they exist. The dob is first in dmy format and then in mdy. === Testing dates BC/BCE === Copy and paste the following into a short section of article such as [[Horace #See also]] and preview it (please don't save!): <pre> * - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|y}} * - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|y|BCE}} </pre> This should return 65 BC and 65 BCE, respectively.
Oggetto:
Per favore tieni presente che tutti i contributi a Tematiche di genere si considerano pubblicati nei termini d'uso della licenza Creative Commons Attribuzione-Condividi allo stesso modo (vedi
Tematiche di genere:Copyright
per maggiori dettagli). Se non desideri che i tuoi testi possano essere modificati e ridistribuiti da chiunque senza alcuna limitazione, non inviarli qui.
Inviando il testo dichiari inoltre, sotto tua responsabilità, che è stato scritto da te personalmente oppure è stato copiato da una fonte di pubblico dominio o similarmente libera.
Non inviare materiale protetto da copyright senza autorizzazione!
Annulla
Guida
(si apre in una nuova finestra)