Jump to content

Template:Organization: Difference between revisions

From Amateur Theatre Wiki
test
Tag: Reverted
revert to wd fetch
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| class="float-right wikitable infobox" style="width: 300px;" id="template-organization" summary="Infobox for organizations"
{| class="float-right wikitable infobox" style="width: 300px;" id="template-organization" summary="Infobox for organizations"
{{#unlinkedwikibase: id={{{qid}}} }}


{{#if: {{#invoke:WDfetch|getvalue|pid=P17}} |<nowiki />
{{#if: {{#invoke:WDfetch|getvalue|pid=P17}} |<nowiki />
Line 25: Line 27:
       "label": "Wikidata QID",
       "label": "Wikidata QID",
       "description": "Mandatory Wikidata QID to fetch all parameters dynamically from Wikidata.",
       "description": "Mandatory Wikidata QID to fetch all parameters dynamically from Wikidata.",
       "required": false
       "required": true
     },"official_name": {
     },"official_name": {
       "type": "string",
       "type": "string",

Latest revision as of 12:36, 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.


Country Germany
Inception 30 Nov 1789


Infobox for an organization. Fetches all parameters dynamically from Wikidata based on the mandatory QID.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Wikidata QIDqid

Mandatory Wikidata QID to fetch all parameters dynamically from Wikidata.

Stringrequired
Official Name (P1448)official_name

Official name

Stringoptional
Logo (P154)logo

Logo image.

Stringoptional
Image (P18)image

Image.

Stringoptional
Headquarters (P159)headquarters

Headquarters.

Stringoptional
Founding Date (P571)founding_date

Founding date.

Stringoptional
Dissolution Date (P576)dissolution_date

Dissolution date.

Stringoptional
Official Website (P856)official_website

Official website.

Stringoptional
Country (P17)country

Country.

Stringoptional
Parent Organization (P749)parent_organization

Parent organization.

Stringoptional