Template:Tile-halves: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
m (Added image parameter for creating tile have for category as shown in main page)
Line 2: Line 2:
<div class="tile-top">
<div class="tile-top">
<h2>{{{title}}}</h2>
<h2>{{{title}}}</h2>
<p>{{#ifexpr: {{{image|}}}|[[File:Veloren_{{{title}}}_Category.png|link={{{link|}}}|}}</p>
<p>{{{text|}}}</p>
<p>{{{text|}}}</p>
</div>
</div>
Line 29: Line 30:
"label": "Link Text",
"label": "Link Text",
"description": "The text that the link will read"
"description": "The text that the link will read"
},
"image": {
"label": "Add a image related to the title in Veloren_{{title}}_Category.png ?",
"description": "Add the image related to the title in Veloren_{{title}}_Category.png",
"type": "boolean",
"autovalue": "0",
"suggested": true
}
}
},
},
"format": "block"
"format": "block",
"paramOrder": [
"style",
"title",
"image",
"text",
"link",
"linktext"
]
}
}
</templatedata>
</templatedata>

Revision as of 12:32, 12 October 2022


No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Stylestyle

(Optional) Extra CSS that will effect the entire tile.

Unknownoptional
Titletitle

The heading of the tile.

Unknownoptional
Add a image related to the title in Veloren_{{title}}_Category.png ?image

Add the image related to the title in Veloren_{{title}}_Category.png

Auto value
0
Booleansuggested
Texttext

The description.

Unknownoptional
Linklink

The page the bottom half will link to

Unknownoptional
Link Textlinktext

The text that the link will read

Unknownoptional
Note: A portion of the template above is originated from the RuneScape Wiki under CC BY-NC-SA 3.0 license.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.