Jump to content

Template:Infobox RP/doc: Difference between revisions

From BadWolfMC Wiki
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 (for example, the main resource pack page, changelog, or technical reference pages).   
Place this on any article related to the BadWolfMC Resource Pack (e.g., the main RP 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.
It displays a standardized infobox with versioning, Minecraft compatibility, SHA1, contributors, and a centralized download link.


This template automatically inherits the site’s native infobox styling and dark-mode compatibility.
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
{{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
{{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) File name of the image (e.g. <code>RP-Showcase.png</code>).
; <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 displayed under the image.
; <code>image_caption</code> : (Optional) Caption under the image.
; <code>download_url</code> : (Optional) Link to the current resource pack download. You can use <code>{{ext-link|rp}}</code> to automatically pull from the centralized external link module.
; <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 download button (default: “Download”).
; <code>download_label</code> : (Optional) Text for the button (default: “Download”).
; <code>rp_version</code> : (Required) The BadWolfMC Resource Pack version.
; <code>rp_version</code> : (Recommended) BadWolfMC RP version.
; <code>sha1</code> : (Optional) SHA1 checksum of the pack file for integrity verification.
; <code>sha1</code> : (Optional) SHA1 checksum for integrity verification.
; <code>mc_version</code> : (Optional) The native Minecraft version the pack is built for.
; <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 pack formats.
; <code>pack_formats_supported</code> : (Optional) List or range of supported formats.
; <code>contributors</code> : (Optional) List of contributors; may include wiki links or bullet points.
; <code>contributors</code> : (Optional) Free wikitext list; may include wiki links or bullet points.


== Example ==
== Example ==
Here’s how it will appear with example data filled in:
{{Infobox RP
 
{{RP infobox
  | 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.
* The download link and styling automatically adapt to light or dark mode.
* 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 of this infobox site-wide.

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

BadWolfMC Resource Pack
File:RP-Showcase.png
Fresh textures for 1.21.10
Resource Pack Information
Versionv3.7.2
SHA14a7d1ed414474e4033ac29ccb8653d9b
Native MC1.21.10
Pack format46
Supported formats34–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.