Template:User created/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
This is an interactive userbox. It can be used by placing the following code into your userbox section. | This is an interactive userbox. It can be used by placing the following code into your userbox section. | ||
:<code><nowiki>{{User created|name=[[CGTR]]|img=CGTR_Logo.png|universe= | :<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}} | {{TemplateDataHeader}} | ||
<templatedata> | <templatedata> | ||
Line 11: | Line 12: | ||
"type": "string", | "type": "string", | ||
"description": "The name of your IIWiki universe.", | "description": "The name of your IIWiki universe.", | ||
"label": "Universe Name" | "label": "Universe Name", | ||
"required": true | |||
}, | }, | ||
"img": { | "img": { | ||
"description": "The filename for the icon to be displayed. Example: CGTR_Logo.png.", | "description": "The filename for the icon to be displayed. Example: CGTR_Logo.png.", | ||
"type": "string", | "type": "string", | ||
"label": "Image Name" | "label": "Image Name", | ||
"required": true | |||
}, | }, | ||
"style": { | "style": { | ||
Line 23: | Line 26: | ||
"label": "Userbox Style", | "label": "Userbox Style", | ||
"default": "1" | "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": { | "nocat": { |
Latest revision as of 16:01, 1 March 2024
This is a documentation subpage for Template:User created. It contains usage information, categories and other content that is not part of the original template page. |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Universe Name | name | The name of your IIWiki universe. | String | required |
Image Name | img | The filename for the icon to be displayed. Example: CGTR_Logo.png. | String | required |
Userbox Style | style | The writing style for the userbox. If set to "1", outputs "created". If set to "2", outputs "is the creator of".
| String | optional |
Include The | the | This will either result in a "the" before the name of the universe, or not add one.
| String | optional |
Category Disabled | nocat | 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).
| String | optional |