Template:Infobox RP: Difference between revisions
Appearance
Created page with "<!-- Template:RP infobox --> {{Infobox | name = {{#if:{{{title|}}}|{{{title}}}|BadWolfMC Resource Pack}} | image = {{{image|}}} | caption = {{{image_caption|}}} | above = {{#if:{{{download_url|}}}| <span class="plainlinks">[{{{download_url}}} <span class="mw-ui-button mw-ui-progressive">{{#if:{{{download_label|}}}|{{{download_label}}}|Download}}</span>]</span> }} | label1 = {{#if:{{{rp_version|}}}|RP Version|}} | data1 = {{{rp_version|}}} | label2 = {..." |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <templatestyles src="Template:Infobox_RP/styles.css" /> | ||
{{Infobox | <includeonly>{{Infobox | ||
| | |name = | ||
|bodystyle = | |||
|title = {{#if:{{{title|}}}|{{{title}}}|BadWolfMC Resource Pack}} | |||
|titlestyle = | |||
|image = [[File:{{{image|}}}|250px]] | |||
|imagestyle = | |||
|caption = {{{image_caption|}}} | |||
|captionstyle = | |||
|datastyle = | |||
| | <!-- DOWNLOAD (robust to either a bare URL or prebuilt link) --> | ||
|above = {{#if:{{{download_url|}}}| | |||
<div style="text-align:center; margin:6px 0 0;"> | |||
<span class="plainlinks bwmc-btn">[{{{download_url}}} {{#if:{{{download_label|}}}|{{{download_label}}}|Download}}]</span> | |||
</div> | |||
}} | |||
|header1 = Resource Pack Information | |||
|label2 = {{#if:{{{rp_version|}}}|Version|}} | |||
|data2 = {{{rp_version|}}} | |||
|label3 = {{#if:{{{sha1|}}}|SHA1|}} | |||
|data3 = {{#if:{{{sha1|}}}|<code class="bwmc-wrap">{{{sha1}}}</code>|}} | |||
|label4 = {{#if:{{{sha256|}}}|SHA256|}} | |||
|data4 = {{#if:{{{sha256|}}}|<code class="bwmc-wrap">{{{sha256}}}</code>|}} | |||
|label5 = {{#if:{{{mc_version|}}}|Native MC|}} | |||
|data5 = {{{mc_version|}}} | |||
|label6 = {{#if:{{{pack_format_current|}}}|Pack format|}} | |||
|data6 = {{{pack_format_current|}}} | |||
|label7 = {{#if:{{{pack_formats_supported|}}}|Supported formats|}} | |||
|data7 = {{{pack_formats_supported|}}} | |||
|label8 = {{#if:{{{contributors|}}}|Contributors|}} | |||
|data8 = {{{contributors|}}} | |||
}} | }} | ||
</includeonly> | |||
<noinclude>{{documentation}} | |||
[[Category:Infobox_templates]]</noinclude> | |||
Latest revision as of 10:39, 4 November 2025
When to use
Place this on any article related to the BadWolfMC Resource Pack (e.g., the main RP page, changelog, or technical reference pages). It displays a standardized infobox with versioning, Minecraft compatibility, SHA1, contributors, and a centralized download link.
This template inherits the site's native Infobox styling and dark-mode compatibility.
Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus.
Usage
Copy the text below, paste it at the very top of the relevant article, and modify as appropriate:
{{Infobox RP
| title = BadWolfMC Resource Pack
| image = RP-Showcase.png
| image_alt = Screenshot showcasing the pack
| image_caption = Fresh textures for 1.21.10
| download_url = {{ext-link|rp}} <!-- or a direct URL -->
| download_label = Download Latest
| rp_version = v10.5.1
| sha1 = 3e9f3baa6e5ea7c427c483d7d44afa7ef26d1e9c
| sha256 = 3e12c448a4091b22ff5f7062683e3d31df75e2af06fed95eeea8340ea7e22543
| mc_version = 1.21.10
| pack_format_current = 69
| pack_formats_supported = 64-69
| contributors = merc, Cesar, JBizzle, Caelan, FreyaHaze et al.
}}
Or use this blank template:
{{Infobox RP
| title =
| image =
| image_alt =
| image_caption =
| download_url =
| download_label =
| rp_version =
| sha1 =
| sha256 =
| mc_version =
| pack_format_current =
| pack_formats_supported =
| contributors =
}}
Parameters
title- (Optional) Overrides the default title “BadWolfMC Resource Pack.”
image- (Optional) Filename only (e.g.,
RP-Showcase.png). image_alt- (Optional) Alt text for accessibility.
image_caption- (Optional) Caption under the image.
download_url- (Optional) Link to the current RP download. You can use
{{ext-link|rp|raw=1}}to pull from the centralized external link module. download_label- (Optional) Text for the button (default: “Download”).
rp_version- (Recommended) BadWolfMC RP version.
sha1- (Optional) SHA1 checksum for integrity verification.
mc_version- (Optional) Native Minecraft version the pack is built for.
pack_format_current- (Optional) Current pack format number.
pack_formats_supported- (Optional) List or range of supported formats.
contributors- (Optional) Free wikitext list; may include wiki links or bullet points.
Example
| File:RP-Showcase.png Fresh textures for 1.21.10 | |
| Resource Pack Information | |
| Version | v10.5.1 |
| SHA1 | 3e9f3baa6e5ea7c427c483d7d44afa7ef26d1e9c |
| SHA256 | 3e12c448a4091b22ff5f7062683e3d31df75e2af06fed95eeea8340ea7e22543 |
| Native MC | 1.21.10 |
| Pack format | 46 |
| Supported formats | 34–46 |
| Contributors | merc, Cesar, JBizzle, Caelan, FreyaHaze et al. |
Notes
- If you don’t populate every field, **do not delete unused fields** — this keeps the template consistent and easier to update later.
- If you use {{ext-link|rp|raw=1}} for
download_url, updating that single external link entry will update all instances site-wide.