Template:User created/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
"label": "Universe Name"
"label": "Universe Name"
},
},
        "img": {
            "description": "The filename for the icon to be displayed. Example: CGTR_Logo.png.",
            "type": "string",
            "label": "Image Name"
        },
        "style": {
            "description": "The writing style for the userbox. If set to \"1\", outputs \"created\". If set to \"2\", outputs \"is the creator of\".",
            "type": "string",
            "label": "Userbox Style",
            "default": "1"
        },
"nocat": {
"nocat": {
"description": "This page will not be added to the category \"IIWikians Who Created a Universe\" if this parameter is set to \"true\" (without the quotation marks).",
"description": "This page will not be added to the category \"IIWikians Who Created a Universe\" if this parameter is set to \"true\" (without the quotation marks).",
Line 21: Line 32:
}
}
}
}
</templatedata>
</templatedata>

Revision as of 15:00, 1 March 2024

Usage

This is an interactive userbox. It can be used by placing the following code into your userbox section.

{{User created|name=[[CGTR]]|img=CGTR_Logo.png|universe=yes|the=yes}}
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for User created

A userbox to indicate that a user created an IIWiki universe.

Template parameters

ParameterDescriptionTypeStatus
Universe Namename

The name of your IIWiki universe.

Stringoptional
Image Nameimg

The filename for the icon to be displayed. Example: CGTR_Logo.png.

Stringoptional
Userbox Stylestyle

The writing style for the userbox. If set to "1", outputs "created". If set to "2", outputs "is the creator of".

Default
1
Stringoptional
Category Disablednocat

This page will not be added to the category "IIWikians Who Created a Universe" if this parameter is set to "true" (without the quotation marks).

Default
false
Stringoptional