Template:Organization: Difference between revisions

Template page
No edit summary
 
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Description|Parent|Suborganizations}}
{{#template_params:Type|Description|Parent|Leaders|Suborganizations|isMaster|headerImage|sideImage}}
{{#cargo_declare:_table=Organizations|Description=String|Parent=Page|Suborganizations=List (,) of Page}}
{{#cargo_declare:_table=Organizations|Type=Wikitext|Description=String|Parent=Page|Leaders=List (,) of Wikitext|Suborganizations=List (,) of Page}}
</noinclude><includeonly>{{#cargo_store:_table=Organizations}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Organizations}}
{{#template_display:_format=standard}}
<yambe:breadcrumb>Ancestries</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
</h3>}}
{{{Description}}}
 
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
<navigation>
<h3>{{PAGENAME}}</h3>
[[Image:{{{sideImage}}}|class=fullwidth]]
 
{{#if:{{{Type|}}}|'''Type:''' {{{Type}}}<br>}}{{#if:{{{Leaders|}}}|'''Leader(s):''' {{{Leaders}}}<br>}}{{#if:{{{Suborganizations|}}}|<span style="display: inline-block; vertical-align: top;">'''Suborganizations:'''&nbsp;</span><span style="display: inline-block; vertical-align: top;">{{#arraymap:{{{Suborganizations}}}|,|x|x<br>|\s}}</span>}}
</navigation>
</infobox>}}
 
[[Category:Organizations]]
[[Category:Organizations]]
</includeonly>
</includeonly>

Revision as of 08:31, 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.