Template:Infobox crown/doc

From Holocaustmap

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

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

Blank syntax

All fields are optional.

{{{name}}}
[[File:{{{image}}}|{{{image_width}}}|alt={{{alt}}}]]
{{{caption}}}
{{#if:{{{heraldic}}}|Heraldic depictions}}
{{#if:{{{heraldic}}}|[[File:{{{heraldic}}}|{{{heraldic_width}}}|alt={{{heraldic_alt}}}]]{{#if:{{{heraldic_caption}}}|
{{{heraldic_caption}}}} }} }}
Details
Country{{{nation}}}
Made{{{date_made}}}
Destroyed{{{date_destroyed}}}
Owner{{{owner}}}
Weight{{{weight}}}
Arches{{{arches}}}
Material{{{primary_material}}}
Cap{{{cap_material}}}
Notable stones{{{stones}}}
Other elements{{{other_elements}}}
Predecessors{{{predecessors}}}
Successors{{{successors}}}
{{{notes}}}

{{#switch:

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

| template = {{#ifeq:Infobox crown/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }} <syntaxhighlight lang="wikitext" style="overflow: auto">

{{#if:|Heraldic depictions}}
{{#if:|{{#if:|
{{{heraldic_caption}}}} }} }}
Details

{{#switch:

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

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