Template:Infobox rp account: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
| title = {{{title|{{PAGENAME}}}}} | | title = {{{title|{{PAGENAME}}}}} | ||
| titleclass = fn | | titleclass = fn | ||
| image = {{#if:{{{cover|}}}|[[File:{{{cover}}}|frameless|upright=1|alt={{{alt| | | image = {{#if:{{{picture|{{{cover|}}}}}}|[[File:{{{picture|{{{cover|}}}}}}|frameless|upright=1|alt={{{alt|Profile picture}}}]]}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| Line 13: | Line 13: | ||
| data2 = {{{handle|}}} | | data2 = {{{handle|}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
== TemplateData == | == TemplateData == | ||
| Line 26: | Line 25: | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"example": "Zeus.jpg", | "example": "Zeus.jpg", | ||
"suggested": true | "suggested": true, | ||
"aliases": ["cover"] | |||
}, | |||
"alt": { | |||
"label": "Image alt text", | |||
"description": "Alt text for the profile picture, for screen readers.", | |||
"type": "string" | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"description": "Optional caption displayed beneath the image.", | |||
"type": "string" | |||
}, | }, | ||
"name": { | "name": { | ||
| Line 37: | Line 47: | ||
"description": "Hyperlink to the account.", | "description": "Hyperlink to the account.", | ||
"type": "string", | "type": "string", | ||
"example": " | "example": "[https://bsky.app/profile/futchlightning.gunmetolymp.us @futchlightning.gunmetolymp.us]" | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
<noinclude> | </noinclude> | ||
Latest revision as of 12:30, 24 April 2026
Usage
This template produces a standard right-aligned infobox summarising key information about a Gunmetal Olympus fan account.
Blank syntax
{{Infobox book simple
| picture =
| name =
| handle =
}}
Example
{{Infobox book simple
| picture = Zeus.jpg
| name = ZEUS, KING OF OLYMPUS
| handle = [https://bsky.app/profile/futchlightning.gunmetolymp.us @futchlightning.gunmetolymp.us]
}}
Parameters
- picture
- Bare filename of the account's profile image (e.g.
Example.jpg), without theFile:prefix. - name
- The account's display name
- handle
- Hyperlink to the account (e.g
@futchlightning.gunmetolymp.us)
TemplateData
<templatedata> {
"description": "A concise infobox for key information about Gunmetal Olympus fan accounts.",
"format": "block",
"params": {
"picture": {
"label": "Account profile picture (file name)",
"description": "Bare filename of the account's profile image, without the 'File:' prefix.",
"type": "wiki-file-name",
"example": "Zeus.jpg",
"suggested": true
},
"name": {
"label": "Account name",
"description": "The account's display name.",
"type": "string"
},
"handle": {
"label": "handle",
"description": "Hyperlink to the account.",
"type": "string",
"example": "@futchlightning.gunmetolymp.us"
}
}
}
The above documentation is transcluded from Template:Infobox rp account/doc (edit · history).
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
TemplateData
A concise infobox for key information about Gunmetal Olympus fan accounts.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Account profile picture (file name) | picture cover | Bare filename of the account's profile image, without the 'File:' prefix.
| File | suggested |
| Image alt text | alt | Alt text for the profile picture, for screen readers. | String | optional |
| Image caption | caption | Optional caption displayed beneath the image. | String | optional |
| Account name | name | The account's display name. | String | optional |
| Handle | handle | Hyperlink to the account.
| String | optional |