Template:FeatureInfobox: Difference between revisions

From Fonline2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{
{
     "params": {
     "params": {
         "name": {
         "name": { "label": "Name", "type": "string" },
            "label": "Name",
         "type": { "label": "Type", "type": "string" },
            "type": "string"
         "location": { "label": "Location", "type": "string" },
        },
         "requirements": { "label": "Requirements", "type": "string" },
         "type": {
         "rewards": { "label": "Rewards", "type": "string" }
            "label": "Type",
            "type": "string"
        },
         "location": {
            "label": "Location",
            "type": "string"
        },
         "requirements": {
            "label": "Requirements",
            "type": "string"
        },
         "rewards": {
            "label": "Rewards",
            "type": "string"
        }
     },
     },
     "format": "block"
     "format": "block"
Line 33: Line 18:
<th colspan="2" style="background-color:#3d6f4a; color:white; text-align:center">{{{name|{{PAGENAME}}}}}</th>
<th colspan="2" style="background-color:#3d6f4a; color:white; text-align:center">{{{name|{{PAGENAME}}}}}</th>
</tr>
</tr>
{{#if:{{{type|}}}|<tr><th>Type</th><td>{{{type}}}</td></tr>}}
<tr><th>Type</th><td>{{{type|—}}}</td></tr>
{{#if:{{{location|}}}|<tr><th>Location</th><td>{{{location}}}</td></tr>}}
<tr><th>Location</th><td>{{{location|—}}}</td></tr>
{{#if:{{{requirements|}}}|<tr><th>Requirements</th><td>{{{requirements}}}</td></tr>}}
<tr><th>Requirements</th><td>{{{requirements|—}}}</td></tr>
{{#if:{{{rewards|}}}|<tr><th>Rewards</th><td>{{{rewards}}}</td></tr>}}
<tr><th>Rewards</th><td>{{{rewards|—}}}</td></tr>
</table>
</table>
</includeonly>
</includeonly>

Revision as of 10:45, 3 June 2026

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringoptional
Typetype

no description

Stringoptional
Locationlocation

no description

Stringoptional
Requirementsrequirements

no description

Stringoptional
Rewardsrewards

no description

Stringoptional