Template:Organization: Difference between revisions

Template page
No edit summary
 
mNo edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Description|Parent|Suborganizations}}
{{#template_params:Short|Description|Parent|Type|Leaders|Members|Assets|Allies|Enemies|Relation|Suborganizations|isMaster|headerImage|sideImage}}
{{#cargo_declare:_table=Organizations|Description=String|Parent=Page|Suborganizations=List (,) of Page}}
{{#cargo_declare:_table=Organizations|Name=String|Short=String|Description=Wikitext|Parent=String|Type=Wikitext|Leaders=List (,) of Wikitext|Members=List (,) of Wikitext|Assets=Wikitext|Allies=List (,) of Wikitext|Enemies=List (,) of Wikitext|Relation=List (,) of Wikitext|Suborganizations=List (,) of Page}}
</noinclude><includeonly>{{#cargo_store:_table=Organizations}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Organizations|Name={{SUBPAGENAME}}}}
{{#template_display:_format=standard}}
{{#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">
<navigation>
<h3>{{PAGENAME}}</h3>
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}} {{#if:{{{Type|}}}{{{Leaders|}}}{{{Members|}}}{{{Assets|}}}|<p class="infoboxHeader">Basic information</p>}} {{InfoBoxRow|{{{Type|}}}|Type}} {{InfoBoxRowList|{{{Leaders|}}}|Leader(s)}} {{InfoBoxRowList|{{{Members|}}}|Notable Members}} {{#if:{{{Allies|}}}{{{Enemies|}}}{{{Suborganizations|}}}|<p class="infoboxHeader">Relations</p>}} {{InfoBoxRowList|{{{Allies|}}}|Allies}} {{InfoBoxRowList|{{{Enemies|}}}|Enemies}} {{InfoBoxRowList|{{{Relation|}}}|Other Relations}} {{InfoBoxRowList|{{{Suborganizations|}}}|Suborganizations|Yes}}     
</navigation>
</infobox>}}
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]</h3>}}
''{{{Short}}}''
 
{{{Description}}}
 
{{InfoBoxRowList|{{{Assets|}}}|Assets}}
 
[[Category:Organizations]]
[[Category:Organizations]]
</includeonly>
</includeonly>

Latest revision as of 13:09, 11 June 2023

This is the "Organization" template.

It should be called in the following format:

{{Organization
|Short=
|Description=
|Parent=
|Type=
|Leaders=
|Members=
|Assets=
|Allies=
|Enemies=
|Relation=
|Suborganizations=
|isMaster=
|headerImage=
|sideImage=
}}

Edit the page to see the template text.

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