887
edits
Dicemonger (talk | contribs) mNo edit summary Tag: Manual revert |
Dicemonger (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params: | {{#template_params:Short|Description|Parent|Type|Leaders|Members|Assets|Allies|Enemies|Suborganizations|isMaster|headerImage|sideImage}} | ||
{{#cargo_declare:_table=Organizations|Name=String| | {{#cargo_declare:_table=Organizations|Name=String|Short=String|Description=String|Parent=String|Type=Wikitext|Leaders=List (,) of Wikitext|Members=List (,) of Wikitext|Assets=Wikitext|Allies=Wikitext|Enemies=Wikitext|Suborganizations=List (,) of Page}} | ||
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Organizations|Name={{SUBPAGENAME}}}} | </noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Organizations|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]]}} | ||
Line 7: | Line 7: | ||
<navigation> | <navigation> | ||
<h3>{{PAGENAME}}</h3> | <h3>{{PAGENAME}}</h3> | ||
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}}{{#if:{{{Type|}}}| | {{#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|}}}|Members}} {{#if:{{{Allies|}}}{{{Enemies|}}}{{{Suborganizations|}}}}|<p class="infoboxHeader">Relations</p>}} {{InfoBoxRowList|{{{Allies|}}}|Allies}} {{InfoBoxRowList|{{{Enemies|}}}|Enemies}} {{InfoBoxRowList|{{{Suborganizations|}}}|Suborganizations}} | ||
</navigation> | </navigation> | ||
</infobox>}} | </infobox>}} | ||
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]] | {{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]</h3>}} | ||
{{{Short}}} | |||
{{{Description}}} | {{{Description}}} | ||
{{InfoBoxRowList|{{{Assets|}}}|Assets}} | |||
[[Category:Organizations]] | [[Category:Organizations]] | ||
</includeonly> | </includeonly> |