Template:Organization: Difference between revisions
Appearance
Tags: Undo Reverted |
Update template Tag: Reverted |
||
Line 4: | Line 4: | ||
{{#if: {{#invoke:WDfetch|getvalue|pid=P17}} |<nowiki /> | {{#if: {{#invoke:WDfetch|getvalue|pid=P17|qid={{{qid}}} }} |<nowiki /> | ||
! Country | ! Country | ||
{{!}} {{#invoke:WDfetch|getvalue|pid=P17}}}} | {{!}} {{#invoke:WDfetch|getvalue|pid=P17|qid={{{qid}}} }}}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{#invoke:WDfetch|getvalue|pid=P571}} |<nowiki /> | {{#if: {{#invoke:WDfetch|getvalue|pid=P571|qid={{{qid}}} }} |<nowiki /> | ||
! Inception | ! Inception | ||
{{!}} {{#invoke:WDfetch|getvalue|pid=P571}}}} | {{!}} {{#invoke:WDfetch|getvalue|pid=P571|qid={{{qid}}} }}}} | ||
|} | |} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 00:45, 2 March 2025
UnlinkedWikibase error: ID '{{{qid}}}' is not in the required format of an integer prefixed with 'Q'.
Country | UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ |
---|---|
Inception | UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ |
Example
Below is an example usage of this template with a sample Wikidata QID.
Infobox for an organization. Fetches all parameters dynamically from Wikidata based on the mandatory QID.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikidata QID | qid | Mandatory Wikidata QID to fetch all parameters dynamically from Wikidata. | String | optional |
Official Name (P1448) | official_name | Official name | String | optional |
Logo (P154) | logo | Logo image. | String | optional |
Image (P18) | image | Image. | String | optional |
Headquarters (P159) | headquarters | Headquarters. | String | optional |
Founding Date (P571) | founding_date | Founding date. | String | optional |
Dissolution Date (P576) | dissolution_date | Dissolution date. | String | optional |
Official Website (P856) | official_website | Official website. | String | optional |
Country (P17) | country | Country. | String | optional |
Parent Organization (P749) | parent_organization | Parent organization. | String | optional |