User:Jimfhahn/sandbox

Using a manual infobox
Pick a movie and insert an Infobox film below.

Try doing this with a Visual Editor (VE). Then, try doing it with Wikitext. If you'd prefer, you are welcome to skip the VE step.

Using a Wikidata-powered infobox
Let's try using a WD-powered infobox with Infobox person/wikidata.

Generally, the template page documents everything you need to know about using that infobox.

Since we're in a sandbox, we will need to manually assign a qid and a name.

For example, the code below returns:

You can also organise this more nicely:

Do this exercise for one figure of your choice with a Wikidata item, and for Ludwig van Beethoven. Once you succeed, try different variations using the following parameters:

suppressfields dateformat noicon onlysourced

Fully automatic infobox
Infobox gene uses its own module customised to pull and display Wikidata without local manipulation.

Since we're in a sandbox and not the article (which contains the interwiki link), we will need to manually provide some input. Reference the template page and reproduce the infobox in Beta-2 microglobulin below.

Archives at (P485) workaround
Use Archival records as a workaround for the block on on English Wikipedia infoboxes.

Location (institution where archives are held) parameter pulls from Wikidata if left blank.

It is recommended that you also specify the following parameters:

title description_URL

Other parameters may also be specified as desired, but these are still manual (not WD-aware) due to current module limitations.

For example, the code below produces:

I can also write:

Produce the template for a figure with an property in their Wikidata entry.

General tips
This is for general application, not for infoboxes specifically.

Wikidata entity link
Use Wikidata entity link to get a link to a Wikidata item or property. Q is the shortcut to the same template.

For example:

both produce.

Inserting Wikidata values into Wikipedia articles
See: Wikidata

But please bear in mind that the New RFC on linking to Wikidata (June 2018) found:

"Wikidata should not be linked to within the body of the article except in the manner of hidden comment(s) as to mentioning the Q-number."