No edit summary
 
Xarkanoth (talk | contribs)
No edit summary
Line 2: Line 2:
<div class="hf-uniform-card-image">{{#if:{{{image|}}}|[[File:{{{image}}}|200px|link=]]|}}</div>
<div class="hf-uniform-card-image">{{#if:{{{image|}}}|[[File:{{{image}}}|200px|link=]]|}}</div>
<div class="hf-uniform-card-label">{{{label}}}</div>
<div class="hf-uniform-card-label">{{{label}}}</div>
{{#if:{{{requirement|}}}|<div class="hf-uniform-card-requirement">{{{requirement}}}</div>|}}
</div><noinclude>
</div><noinclude>
<templatedata>
<templatedata>
Line 17: Line 18:
             "type": "string",
             "type": "string",
             "required": true
             "required": true
        },
        "requirement": {
            "label": "Unlock Requirement",
            "description": "Optional unlock requirement shown below the label. Leave blank for uniforms unlocked by default.",
            "type": "string",
            "required": false
         }
         }
     },
     },

Revision as of 19:22, 6 July 2026

{{{label}}}

<templatedata> {

   "params": {
       "image": {
           "label": "Image",
           "description": "Image filename showing the uniform (e.g. British-Line-Infantry.png)",
           "type": "wiki-file-name",
           "required": true
       },
       "label": {
           "label": "Label",
           "description": "Text label shown below the image (e.g. British Line Infantry)",
           "type": "string",
           "required": true
       },
       "requirement": {
           "label": "Unlock Requirement",
           "description": "Optional unlock requirement shown below the label. Leave blank for uniforms unlocked by default.",
           "type": "string",
           "required": false
       }
   },

"description": "A small card displaying a class uniform image with a label. Use inside

{{{content}}}

for a grid layout.",

   "format": "inline"

} </templatedata>