Template:Infobox Mini: Difference between revisions
OtherXAdmin (talk | contribs) (Created page with "{| class="infobox {{parentitle|{{{name}}}}} infobox-quest" |- ! class="infobox-header" colspan="5" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{#if:{{{number|}}}|<span style="font-size:80%;">(#{{{number}}})</span>}} |- | class="infobox-image infobox-full-width-content" colspan="5" | {{#if:{{{image|}}}|{{{image}}}|Please add an image!}} |- | class="infobox-padding" colspan="5" | |- {{#ifeq:{{{release|}}}|no|| ! colspan="2" {{!}} Released {{!}} c...") |
OtherXAdmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox {{parentitle|{{{name}}}}} infobox- | {| class="infobox {{parentitle|{{{name}}}}} infobox-mini" | ||
|- | |- | ||
! class="infobox-header" colspan="5" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{#if:{{{number|}}}|<span style="font-size:80%;">(#{{{number}}})</span>}} | ! class="infobox-header" colspan="5" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{#if:{{{number|}}}|<span style="font-size:80%;">(#{{{number}}})</span>}} |
Latest revision as of 13:46, 20 January 2024
{{#if:|{{{name}}}|Infobox Mini}} {{#if:|(#{{{number}}})}} | ||||
---|---|---|---|---|
{{#if:|{{{image}}}|Please add an image!}} | ||||
Released | {{#if:|{{{release}}} {{#if:|([[Update:{{{update}}}|Update]])| - Update Unknown (edit)}}|Unknown (edit)}} | |||
Also called | {{{aka}}} | |||
Members | {{#if:|{{{members}}}|Unknown (edit)}} | |||
Quest series | {{#if:|{{{series}}}|Unknown (edit)}} | |||
Lead developer(s) | {{#if:|{{{developer}}}|Unknown (edit)}} | |||
{{#ifeq:Template||
{{#if:||}} {{#ifeq:|No|}} {{#if:|{{#if:||}}|}} {{#if:||}} {{#if:|}}
}}
Infobox to be used on quest articles.
Quick copy
{{Infobox Mini |name = |number = |image = |release = |update = |aka = (Optional) |members = |series = |developer = }}
Example
{{#if:Dragon Slayer|Dragon Slayer|Infobox Mini}} {{#if:17|(#17)}} | ||||
---|---|---|---|---|
{{#if:File:Dragon Slayer.png|File:Dragon Slayer.png|Please add an image!}} | ||||
Released | {{#if:23 September 2001|23 September 2001 {{#if:Dragon quest online!|(Update)| - Update Unknown (edit)}}|Unknown (edit)}} | |||
Also called | {{{aka}}} | |||
Members | {{#if:No|No|Unknown (edit)}} | |||
Quest series | {{#if:Dragonkin, Guilds|Dragonkin, Guilds|Unknown (edit)}} | |||
Lead developer(s) | {{#if:Paul Gower|Paul Gower|Unknown (edit)}} | |||
{{#if:File:Dragon Slayer.png||}} {{#ifeq:No|No|}} {{#if:23 September 2001|{{#if:Dragon quest online!||}}|}} {{#if:Paul Gower||}} {{#if:|}}
}}Parameters
Parameter | Description | Required |
---|---|---|
name | The name of the quest. | |
number | The number of the quest in order of release date. | |
image | An image of something identifiable during the quest. | |
release | The release date of the quest. | |
update | The update post associated with the release date. | |
aka | Alternate names for the quest. | (Optional) |
members | Whether the quest is members only. | |
series | The quest series the quest is a part of. Use "None" if not part of a quest series. | |
developer | The developers of the quest as listed under "Development Team" on the quest page at runescape.com. |
{{#if:||==Template data==}}
Show/hide template's data |
---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. <templatedata> { "params": { "name": { "description": "The name of the quest.", "example": "A Kingdom Divided", "type": "string", "required": true }, "number": { "description": "The number of the quest in order of release date.", "example": "150", "type": "number", "required": true }, "image": { "description": "Image to be used inside the Infobox.", "example": "File:A Kingdom Divided.png", "type": "wiki-file-name", "required": true, "autovalue": "", "default": "File:Infobox Mini/doc.png" }, "release": { "description": "The release date of the quest.", "example": "16 June 2021", "type": "date", "required": true }, "update": { "description": "The update newspost associated with the quest.", "type": "wiki-page-name" }, "aka": { "description": "Alternate names for the quest.", "type": "string", "suggested": true }, "members": { "description": "Whether the quest is members only or not.", "type": "string", "required": true }, "series": { "description": "The quest series the quest is a part of. Use \"None\" if not part of a quest series.", "example": "Great Kourend quest series", "required": true }, "difficulty": { "description": "The officially stated difficulty of the quest.", "type": "string", "deprecated": "Remove parameter: already stated in quest details" }, "developer": { "description": "The developer(s) of the quest.", "suggested": true } }, "format": "\nTemplate:\n\n", "description": "Infobox to be used on quest articles." } </templatedata> |