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: | ||
{{Documentation subpage}} | |||
This is an interactive userbox. It can be used by placing | == Usage == | ||
:<code><nowiki>{{User | 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=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
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 |