Template:Infobox Confederate State ACW/doc

From Holocaustmap

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | Template:Mbox
        }}{{#if: |
         |   {{#ifexist:Template:Infobox Confederate State ACW
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Lua error: callParserFunction: function "#translation" was not found.

{{{Fullname}}}
{{#if:{{{Nickname}}}|Nickname(s): {{{Nickname}}}}}
{{#if:{{{Flag}}}{{{Seal}}}|
 
{{#if:
|{{#if:{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}
|
{{#if:{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}|
{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}
}} {{#if:{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}|
{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}
}} {{#if:|
{{{3}}}
}} {{#if:|
{{{4}}}
}} {{#if:|
{{{5}}}
}}
}}
{{{0}}}

|{{#ifexpr:({{#if:{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}|1|0}}+{{#if:{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}|1|0}}+{{#if:|1|0}}+{{#if:|1|0}}) > 2

|{{#if:{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}
|
{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}
{{#if:{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}||
}}

}}{{#if:{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}

|
{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}
{{#if:{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}||
}} }}
{{#if: |{{#if:||
}}
{{{3}}}

}}{{#if:

|{{#if:||
}}
{{{4}}}

}}

|{{#if:{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}|
{{#if:{{{Flag}}}|[[File:{{{Flag}}}|125px|Flag of {{{Name}}}]]
}}
}}{{#if:{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}|
{{#if:{{{Seal}}}|[[File:{{{Seal}}}|100px|State seal of {{{Name}}}]]
}}
}}{{#if:|
{{{3}}}
}}{{#if:|
{{{4}}}
}}
 }}
}}

The Confederate States of America
Map of the Confederate States

}}
Capital{{{Capital}}}
Largest city{{{LargestCity}}}
Admitted to the Confederacy{{{AdmittanceDate}}} ({{{AdmittanceOrder}}})
Population
  • {{{Total}}} total
  • {{#if:{{{totf}}}| • {{{totf}}} free}}
  • {{#if:{{{tots}}}| • {{{tots}}} slave}}
Forces supplied
  • {{{Total Troops}}} total
  • {{#if:{{{totalsoldiers}}}| • {{{totalsoldiers}}} soldiers}}
  • {{#if:{{{totalsailors}}}| • {{{totalsailors}}} sailors}}
  • {{#if:{{{totalmarines}}}| • {{{totalmarines}}} marines}}
  • {{#if:| •  killed}}
Major garrisons/armories{{{Facility}}} {{{Location}}}
Governor{{{Governor}}}
Lieutenant Governor{{{Lieutenant Governor}}}
Senators{{{Senators}}}
{{#if:{{{Representative}}}|Congressional delegation|Representatives}}{{#if:{{{Representative}}}|{{{Representative}}} ([[Confederate States congressional delegations from {{{Name}}}|list]])|[[Confederate States congressional delegations from {{{Name}}}|List]] }}
Restored to the Union{{{Date}}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox Confederate State ACW/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}


Usage

<syntaxhighlight lang="wikitext" style="overflow: auto;">

{{#if:|Nickname(s): }}
{{#if:|
 
{{#if:
|{{#if:{{#if:|
}}{{#if:|
}}
|
{{#if:{{#if:|
}}|
{{#if:|
}}
}} {{#if:{{#if:|
}}|
{{#if:|
}}
}} {{#if:|
{{{3}}}
}} {{#if:|
{{{4}}}
}} {{#if:|
{{{5}}}
}}
}}
{{{0}}}

|{{#ifexpr:({{#if:{{#if:|
}}|1|0}}+{{#if:{{#if:|
}}|1|0}}+{{#if:|1|0}}+{{#if:|1|0}}) > 2

|{{#if:{{#if:|
}}
|
{{#if:|
}}
{{#if:{{#if:|
}}||
}}

}}{{#if:{{#if:|
}}

|
{{#if:|
}}
{{#if:{{#if:|
}}||
}} }}
{{#if: |{{#if:||
}}
{{{3}}}

}}{{#if:

|{{#if:||
}}
{{{4}}}

}}

|{{#if:{{#if:|
}}|
{{#if:|
}}
}}{{#if:{{#if:|
}}|
{{#if:|
}}
}}{{#if:|
{{{3}}}
}}{{#if:|
{{{4}}}
}}
 }}
}}

The Confederate States of America
Map of the Confederate States

}}
Admitted to the Confederacy()
Population
  • total
  • {{#if:| •  free}}
  • {{#if:| •  slave}}
Forces supplied
{{#if:|Congressional delegation|Representatives}}{{#if:| (list)|List }}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox Confederate State ACW/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}</syntaxhighlight>