If the page looks weird, press CTRL+SHIFT+R to reload styles

Template:Item: Difference between revisions

From Gambian Holiday Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{Infobox|title={{{title1|{{{title|{{PAGENAME}}}}}}}}|image={{{image1|{{{image}}}}}}|caption={{{caption|}}}|content={{Infobox/row|Type|{{{type|}}}}}{{Infobox/row|Effects|{{{effects|}}}}}{{Infobox/row|Source|{{{source|}}}}}{{Infobox/row|Bought for|{{{buy|}}}}}{{Infobox/row|Sold for|{{{sell|}}}}}}}</includeonly><noinclude>
<includeonly>{{Infobox|title={{{title1|{{{title|{{PAGENAME}}}}}}}}|image={{{image1|{{{image}}}}}}|caption={{{caption|}}}|content={{Infobox/row|Type|{{{type|}}}}}{{Infobox/row|Effects|{{{effects|}}}}}{{Infobox/row|Power|{{{power|}}}}}{{Infobox/row|Source|{{{source|}}}}}{{Infobox/row|Bought for|{{{buy|}}}}}{{Infobox/row|Sold for|{{{sell|}}}}}}}</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 37: Line 37:
"caption": {
"caption": {
"description": "Caption to show below the image"
"description": "Caption to show below the image"
},
"power": {
"description": "How powerful is this item"
}
}
},
},
Line 46: Line 49:
"type",
"type",
"effects",
"effects",
"power",
"source",
"source",
"buy",
"buy",

Latest revision as of 15:33, 26 July 2024

Template used to display special items and objects. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’ and ‘image1’ are also accepted instead of ‘title’ and ‘image’, respectively; ‘caption1’ is also accepted, but ignored (it may be used for hover text on the image in the future). Newer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited. To include additional character information in a page, use the ‘Character Sheet’ template (capitalisation matters!).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle title1 (deprecated)

The name to show above the image. Defaults to the page name

Stringoptional
imageimage image1 (deprecated)

The image to show in the biography.

Filerequired
captioncaption

Caption to show below the image

Unknownoptional
typetype

What kind of item this is

Stringoptional
effectseffects

What effect does this item have

Unknownoptional
powerpower

How powerful is this item

Unknownoptional
sourcesource

How did it come about

Unknownoptional
buybuy

How much was this bought for

Page nameoptional
sellsell

How much was it sold for

Unknownoptional