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
 
(5 intermediate revisions by the same user not shown)
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
  | image_alt              = In-game screenshot showcasing the pack
  | image_alt              = Screenshot showcasing the pack
  | image_caption          = Fresh textures for 1.21.10
  | image_caption          = Fresh textures for 1.21.10


  | download_url          = {{ext-link|rp}}      <!-- or a direct URL -->
  | download_url          = {{ext-link|rp}}      <!-- or a direct URL -->
  | download_label        = Download
  | download_label        = Download Latest


  | rp_version            = v3.7.2
  | rp_version            = v10.5.1
  | sha1                  = 4a7d1ed414474e4033ac29ccb8653d9b
  | sha1                  = 3e9f3baa6e5ea7c427c483d7d44afa7ef26d1e9c
| sha256                = 3e12c448a4091b22ff5f7062683e3d31df75e2af06fed95eeea8340ea7e22543
  | mc_version            = 1.21.10
  | mc_version            = 1.21.10
  | pack_format_current    = 46
  | pack_format_current    = 69
  | pack_formats_supported = 34–46
  | pack_formats_supported = 64-69
  | contributors          =
  | contributors          = merc, Cesar, JBizzle, Caelan, FreyaHaze et al.
* [[User:Chris P.]]
* [[User:MasterBuilder]]
* Community contributors
}}
}}
</pre>
</pre>
Line 34: Line 32:
Or use this blank template:
Or use this blank template:
<pre>
<pre>
{{RP infobox
{{Infobox RP
  | title                  =  
  | title                  =  
  | image                  =  
  | image                  =  
Line 43: Line 41:
  | rp_version            =  
  | rp_version            =  
  | sha1                  =  
  | sha1                  =  
| sha256                =
  | mc_version            =  
  | mc_version            =  
  | pack_format_current    =  
  | pack_format_current    =  
Line 52: Line 51:
== 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><nowiki>{{ext-link|rp|raw=1}}</nowiki></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
  | image_caption          = Fresh textures for 1.21.10
  | image_caption          = Fresh textures for 1.21.10
  | download_url          = https://link.bwmc.app/rp
  | download_url          = https://link.bwmc.app/rp
  | rp_version            = v3.7.2
  | rp_version            = v10.5.1
  | sha1                  = 4a7d1ed414474e4033ac29ccb8653d9b
  | sha1                  = 3e9f3baa6e5ea7c427c483d7d44afa7ef26d1e9c
| sha256                = 3e12c448a4091b22ff5f7062683e3d31df75e2af06fed95eeea8340ea7e22543
  | mc_version            = 1.21.10
  | mc_version            = 1.21.10
  | pack_format_current    = 46
  | pack_format_current    = 46
  | pack_formats_supported = 34–46
  | pack_formats_supported = 34–46
  | contributors          = * [[User:Chris P.]] • [[User:MasterBuilder]]
  | contributors          = merc, Cesar, JBizzle, Caelan, FreyaHaze et al.
}}
}}


== 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 <nowiki>{{ext-link|rp|raw=1}}</nowiki> 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.

Latest revision as of 02:12, 3 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

BadWolfMC Resource Pack
File:RP-Showcase.png
Fresh textures for 1.21.10
Resource Pack Information
Versionv10.5.1
SHA13e9f3baa6e5ea7c427c483d7d44afa7ef26d1e9c
SHA2563e12c448a4091b22ff5f7062683e3d31df75e2af06fed95eeea8340ea7e22543
Native MC1.21.10
Pack format46
Supported formats34–46
Contributorsmerc, 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.