Template:User created/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
;Usage
{{Documentation subpage}}
This is an interactive userbox. It can be used by placing
== Usage ==
:<code><nowiki>{{User:UBX/edit rate|rate=0|joined=</nowiki>{{date|2=iso}}<nowiki>}}</nowiki></code>
This is an interactive userbox. It can be used by placing the following code into your userbox section.
into your userbox section.
:<code><nowiki>{{User created|name=[[CGTR]]|img=CGTR_Logo.png|universe=false|the=false|style=2}}</nowiki></code><br>
{{User created|name=[[CGTR]]|img=CGTR_Logo.png|universe=false|the=false|style=2}}<br><br>
{{TemplateDataHeader}}
<templatedata>
{
"description": "A userbox to indicate that a user created an IIWiki universe.",
"params": {
"name": {
"type": "string",
"description": "The name of your IIWiki universe.",
"label": "Universe Name",
            "required": true
},
        "img": {
            "description": "The filename for the icon to be displayed. Example: CGTR_Logo.png.",
            "type": "string",
            "label": "Image Name",
            "required": true
        },
        "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"
        },
        "the": {
            "description": "This will either result in a \"the\" before the name of the universe, or not add one.",
            "type": "string",
            "label": "Include The",
            "default": "false"
        },
"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).",
"type": "string",
"label": "Category Disabled",
"default": "false"
}
}
}
 
</templatedata>

Latest revision as of 16:01, 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=false|the=false|style=2}}
This user is the creator of the
CGTR universe.



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.

Stringrequired
Image Nameimg

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

Stringrequired
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
Include Thethe

This will either result in a "the" before the name of the universe, or not add one.

Default
false
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