Template:Infobox RP/doc: Difference between revisions
Created page with "== When to use == Place this on any article related to the BadWolfMC Resource Pack (for example, the main resource pack page, changelog, or technical reference pages). It will display a standardized information box showing the current version, Minecraft compatibility, SHA1, contributors, and a centralized download link. This template automatically inherits the site’s native infobox styling and dark-mode compatibility. Please don't attempt to alter the code for th..." |
No edit summary |
||
| Line 1: | Line 1: | ||
== When to use == | == When to use == | ||
Place this on any article related to the BadWolfMC Resource Pack ( | Place this on any article related to the BadWolfMC Resource Pack (e.g., the main RP page, changelog, or technical reference pages). | ||
It | It displays a standardized infobox with versioning, Minecraft compatibility, SHA1, contributors, and a centralized download link. | ||
This template | 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. | Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus. | ||
| Line 11: | Line 11: | ||
<pre> | <pre> | ||
{{RP | {{Infobox RP | ||
| title = BadWolfMC Resource Pack | | title = BadWolfMC Resource Pack | ||
| image = RP-Showcase.png | | image = RP-Showcase.png | ||
| Line 34: | Line 34: | ||
Or use this blank template: | Or use this blank template: | ||
<pre> | <pre> | ||
{{RP | {{Infobox RP | ||
| title = | | title = | ||
| image = | | image = | ||
| Line 52: | Line 52: | ||
== Parameters == | == Parameters == | ||
; <code>title</code> : (Optional) Overrides the default title “BadWolfMC Resource Pack.” | ; <code>title</code> : (Optional) Overrides the default title “BadWolfMC Resource Pack.” | ||
; <code>image</code> : (Optional) | ; <code>image</code> : (Optional) Filename only (e.g., <code>RP-Showcase.png</code>). | ||
; <code>image_alt</code> : (Optional) Alt text for accessibility. | ; <code>image_alt</code> : (Optional) Alt text for accessibility. | ||
; <code>image_caption</code> : (Optional) Caption | ; <code>image_caption</code> : (Optional) Caption under the image. | ||
; <code>download_url</code> : (Optional) Link to the current | ; <code>download_url</code> : (Optional) Link to the current RP download. You can use <code>{{ext-link|rp}}</code> to pull from the centralized external link module. | ||
; <code>download_label</code> : (Optional) Text for the | ; <code>download_label</code> : (Optional) Text for the button (default: “Download”). | ||
; <code>rp_version</code> : ( | ; <code>rp_version</code> : (Recommended) BadWolfMC RP version. | ||
; <code>sha1</code> : (Optional) SHA1 checksum | ; <code>sha1</code> : (Optional) SHA1 checksum for integrity verification. | ||
; <code>mc_version</code> : (Optional) | ; <code>mc_version</code> : (Optional) Native Minecraft version the pack is built for. | ||
; <code>pack_format_current</code> : (Optional) Current pack format number. | ; <code>pack_format_current</code> : (Optional) Current pack format number. | ||
; <code>pack_formats_supported</code> : (Optional) List or range of supported | ; <code>pack_formats_supported</code> : (Optional) List or range of supported formats. | ||
; <code>contributors</code> : (Optional) | ; <code>contributors</code> : (Optional) Free wikitext list; may include wiki links or bullet points. | ||
== Example == | == Example == | ||
{{Infobox RP | |||
{{RP | |||
| title = BadWolfMC Resource Pack | | title = BadWolfMC Resource Pack | ||
| image = RP-Showcase.png | | image = RP-Showcase.png | ||
| Line 82: | Line 80: | ||
== Notes == | == 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 don’t populate every field, **do not delete unused fields** — this keeps the template consistent and easier to update later. | ||
* If you use <code>{{ext-link|rp}}</code> for <code>download_url</code>, updating that single external link entry will update all instances site-wide. | |||
* If you use <code>{{ext-link|rp}}</code> for <code>download_url</code>, updating that single external link entry will update all instances | |||
Revision as of 08:19, 1 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 = In-game screenshot showcasing the pack
| image_caption = Fresh textures for 1.21.10
| download_url = {{ext-link|rp}} <!-- or a direct URL -->
| download_label = Download
| rp_version = v3.7.2
| sha1 = 4a7d1ed414474e4033ac29ccb8653d9b
| mc_version = 1.21.10
| pack_format_current = 46
| pack_formats_supported = 34–46
| contributors =
* [[User:Chris P.]]
* [[User:MasterBuilder]]
* Community contributors
}}
Or use this blank template:
{{Infobox RP
| title =
| image =
| image_alt =
| image_caption =
| download_url =
| download_label =
| rp_version =
| sha1 =
| 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
Resource Pack
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 | v3.7.2 |
| SHA1 | 4a7d1ed414474e4033ac29ccb8653d9b |
| Native MC | 1.21.10 |
| Pack format | 46 |
| Supported formats | 34–46 |
| Contributors | |
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
Resource Pack
for download_url, updating that single external link entry will update all instances site-wide.