Jump to content

Template:Infobox RP: Difference between revisions

From BadWolfMC Wiki
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:
<!-- Template:RP infobox -->
<templatestyles src="Template:Infobox_RP/styles.css" />
{{Infobox
<includeonly>{{Infobox
  | name    = {{#if:{{{title|}}}|{{{title}}}|BadWolfMC Resource Pack}}
|name      =
| image  = {{{image|}}}
|bodystyle =
| caption = {{{image_caption|}}}
|title      = {{#if:{{{title|}}}|{{{title}}}|BadWolfMC Resource Pack}}
|titlestyle =  


| above = {{#if:{{{download_url|}}}|
|image      = [[File:{{{image|}}}|250px]]
   <span class="plainlinks">[{{{download_url}}} <span class="mw-ui-button mw-ui-progressive">{{#if:{{{download_label|}}}|{{{download_label}}}|Download}}</span>]</span>
|imagestyle =
}}
|caption   = {{{image_caption|}}}
|captionstyle =


| label1 = {{#if:{{{rp_version|}}}|RP Version|}}
|datastyle =  
| data1 = {{{rp_version|}}}


  | label2 = {{#if:{{{sha1|}}}|SHA1|}}
<!-- DOWNLOAD (robust to either a bare URL or prebuilt link) -->
| data2  = {{#if:{{{sha1|}}}|<code>{{{sha1}}}</code>|}}
|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|}}}


  | label3 = {{#if:{{{mc_version|}}}|Native MC|}}
|label6 = {{#if:{{{pack_format_current|}}}|Pack format|}}
| data3  = {{{mc_version|}}}
|data6  = {{{pack_format_current|}}}


  | label4 = {{#if:{{{pack_format_current|}}}|Pack format|}}
|label7 = {{#if:{{{pack_formats_supported|}}}|Supported formats|}}
| data4  = {{{pack_format_current|}}}
|data7  = {{{pack_formats_supported|}}}


| label5 = {{#if:{{{pack_formats_supported|}}}|Supported formats|}}
|label8 = {{#if:{{{contributors|}}}|Contributors|}}
| data5 = {{{pack_formats_supported|}}}
|data8 = {{{contributors|}}}


| label6 = {{#if:{{{contributors|}}}|Contributors|}}
| data6  = {{{contributors|}}}
}}
}}
</includeonly>
<noinclude>{{documentation}}
[[Category:Infobox_templates]]</noinclude>

Latest revision as of 10:39, 4 November 2025