Template:Organization: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{#template_params:Type|Description|Parent|Leaders|Suborganizations|isMaster|headerImage|sideImage}}
{{#template_params:Type|Description|Parent|Leaders|Suborganizations|isMaster|headerImage|sideImage}}
{{#cargo_declare:_table=Organizations|Name=String|Type=Wikitext|Description=String|Parent=String|Leaders=List (,) of Wikitext|Suborganizations=List (,) of Page}}
{{#cargo_declare:_table=Organizations|Name=String|Type=Wikitext|Description=String|Parent=String|Leaders=List (,) of Wikitext|Suborganizations=List (,) of Page}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Organizations|Name={{{Name|The City}}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Organizations|Name={{{Name|{{SUBPAGENAME}}}}}}}
{{#ifeq:{{{Parent|}}}|The City|<yambe:breadcrumb>The City Organizations|Organizations</yambe:breadcrumb>|<yambe:breadcrumb>Organizations</yambe:breadcrumb>}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#ifeq:{{{Parent|}}}|The City|<yambe:breadcrumb>The City Organizations|Organizations</yambe:breadcrumb>|<yambe:breadcrumb>Organizations</yambe:breadcrumb>}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
{{#if:{{{isMaster|}}}|<infobox layout="stacked">

Revision as of 09:37, 11 June 2023

This is the "Organization" template.

It should be called in the following format:

{{Organization
|Type=
|Description=
|Parent=
|Leaders=
|Suborganizations=
|isMaster=
|headerImage=
|sideImage=
}}

Edit the page to see the template text.

This template defines the table "Organizations". View table.