Template:User Wikidata

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
(+)
Current revision (07:18, 21 December 2020) (view source)
(Removed duplicate slash)
 
(5 intermediate revisions not shown.)
Line 3: Line 3:
| style="width: 45px; height: 45px; background: ; text-align:center; font-size:3em;" | [[Image:Wikidata-logo-v3.png|80px]]
| style="width: 45px; height: 45px; background: ; text-align:center; font-size:3em;" | [[Image:Wikidata-logo-v3.png|80px]]
-
| style="font-size: 0.9em; padding: 4pt; line-height: 1.25em;" | This user has the '''[https://www.wikidata.org/ Wikidata] identifier:<br />[https://www.wikidata.org/{{{1}}} {{{1}}}]
+
| style="font-size: 0.9em; padding: 4pt; line-height: 1.25em;" | This user has the '''[https://www.wikidata.org/ Wikidata] identifier:<br />[https://scholia.toolforge.org/author/{{{1}}} {{{1}}}]
-
|}</div><includeonly>[[Category:Users with ORCID identifiers|{{PAGENAME}}]]</includeonly><noinclude>
+
|}</div><includeonly>[[Category:Users with Wikidata identifiers|{{PAGENAME}}]]</includeonly><noinclude>
== Usage ==
== Usage ==
Line 18: Line 18:
:<code><nowiki>{{User Wikidata|}}</nowiki></code>
:<code><nowiki>{{User Wikidata|}}</nowiki></code>
-
as the only thing on the first line of your user page (or second line if you have an [[Template:User ORCID|ORCID template]]); add the Wikidata QID of the item about you; and save the page.
+
as the only thing on the first line of your user page (or, if adding more than one user template, add them between <code><nowiki>{{Userboxtop}}</nowiki></code> and <code><nowiki>{{Userboxbottom}}</nowiki></code>); add the Wikidata QID of the item about you; and save the page.
This template adds pages to [[:Category:Users with Wikidata identifiers]].
This template adds pages to [[:Category:Users with Wikidata identifiers]].

Current revision

This user has the Wikidata identifier:
{{{1}}}

Usage

For users with a Wikidata item about them.

The template has one parameter, which takes a Wikidata identifier ("QID"), thus:

{{User Wikidata|Q15136093}}

Go to your user page, which you can access by clicking your name at the top of any WikiPathways web page, edit the page and copy and paste this blank:

{{User Wikidata|}}

as the only thing on the first line of your user page (or, if adding more than one user template, add them between {{Userboxtop}} and {{Userboxbottom}}); add the Wikidata QID of the item about you; and save the page.

This template adds pages to Category:Users with Wikidata identifiers.

Personal tools