Jump to content

Template:Infobox creature: Difference between revisions

From OkayXairen Wiki
imported>VMan 2002
add killcount
imported>Ballswoman
add templatedata for visual editor
Line 1: Line 1:
<infobox><title source="Name"><default>{{PAGENAME}}</default></title><image source="image"><default>changethisimage.jpg</default></image><header>Creature</header><data source="name"><label>Name</label></data><data source="pronouns"><label>Pronouns</label></data><data source="dob"><label>Creation Year</label></data><data source="age"><label>Age</label></data><data source="kill count"><label>Kill count</label></data><data source="dead"><label>Year of Death</label></data><data source="location"><label>Location</label></data><data source="species"><label>Species</label></data><data source="catchphrase"><label>Catchphrase</label></data><data source="subscriptions"><label>Active Subscription Services</label></data></infobox>
<infobox>
    <title source="Name">
        <default>{{PAGENAME}}</default>
    </title>
    <image source="image">
        <default>changethisimage.jpg</default>
    </image>
    <header>Creature</header>
    <data source="name">
        <label>Name</label>
    </data>
    <data source="pronouns">
        <label>Pronouns</label>
    </data>
    <data source="dob">
        <label>Creation Year</label>
    </data>
    <data source="age">
        <label>Age</label>
    </data>
    <data source="kill count">
        <label>Kill count</label>
    </data>
    <data source="dead">
        <label>Year of Death</label>
    </data>
    <data source="location">
        <label>Location</label>
    </data>
    <data source="species">
        <label>Species</label>
    </data>
    <data source="catchphrase">
        <label>Catchphrase</label>
    </data>
    <data source="subscriptions">
        <label>Active Subscription Services</label>
    </data>
</infobox>
 
<templatedata>
{
    "description": "Infobox for a creature.",
    "params": {
        "name": {
            "label": "Name",
            "description": "The guy's name.",
            "type": "string"
        },
        "image": {
            "label": "Image",
            "description": "What the guy look like",
            "type": "string"
        },
        "pronouns": {
            "label": "Pronouns",
            "description": "The guy pronouns.",
            "type": "string"
        },
        "dob": {
            "label": "Creation year",
            "description": "When the guy made. Probably only for fictional characters.",
            "type": "string"
        },
        "age": {
            "label": "Age",
            "description": "How old the guy is.",
            "type": "string"
        },
        "kill count": {
            "label": "Kill count",
            "description": "How many people the guy has killed.",
            "type": "string"
        },
        "dead": {
            "label": "Year of Death",
            "description": "When the guy died.",
            "type": "string"
        },
        "location": {
            "label": "Location",
            "description": "Where the guy is.",
            "type": "string"
        },
        "species": {
            "label": "Species",
            "description": "What the guy is.",
            "type": "string"
        },
        "catchphrase": {
            "label": "Catchphrase",
            "description": "What the guy says.",
            "type": "string"
        },
        "subscriptions": {
            "label": "Active Subscription Services",
            "description": "What the guy is subscribed to.",
            "type": "string"
        }
    }
}
</templatedata>

Revision as of 19:19, 30 July 2025

Infobox for a creature.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The guy's name.

Stringoptional
Imageimage

What the guy look like

Stringoptional
Pronounspronouns

The guy pronouns.

Stringoptional
Creation yeardob

When the guy made. Probably only for fictional characters.

Stringoptional
Ageage

How old the guy is.

Stringoptional
Kill countkill count

How many people the guy has killed.

Stringoptional
Year of Deathdead

When the guy died.

Stringoptional
Locationlocation

Where the guy is.

Stringoptional
Speciesspecies

What the guy is.

Stringoptional
Catchphrasecatchphrase

What the guy says.

Stringoptional
Active Subscription Servicessubscriptions

What the guy is subscribed to.

Stringoptional