Jump to content

Template:Infobox RP: Difference between revisions

From BadWolfMC Wiki
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Infobox_RP/styles.css" />
<includeonly>{{Infobox
<includeonly>{{Infobox
|name         =  
|name       =  
|bodystyle   =  
|bodystyle =  
|title       = {{#if:{{{title|}}}|{{{title}}}|BadWolfMC Resource Pack}}
|title     = {{#if:{{{title|}}}|{{{title}}}|BadWolfMC Resource Pack}}
|titlestyle   =  
|titlestyle =  


<!-- Optional image -->
|image     = [[File:{{{image|}}}|250px]]
|image       = [[File:{{{image|}}}|250px]]
|imagestyle =  
|imagestyle   =  
|caption   = {{{image_caption|}}}
|caption     = {{{image_caption|}}}
|captionstyle =  
|captionstyle =  


|datastyle   =  
|datastyle =  


<!-- Download button (optional) — uses native mw-ui button classes -->
<!-- DOWNLOAD (robust to either a bare URL or prebuilt link) -->
|above = {{#if:{{{download_url|}}}|
|above = {{#if:{{{download_url|}}}|
   <span class="plainlinks">[{{{download_url}}}
   <div style="text-align:center; margin:6px 0 0;">
    <span class="mw-ui-button mw-ui-progressive">
    <span class="plainlinks bwmc-btn">[{{{download_url}}} {{#if:{{{download_label|}}}|{{{download_label}}}|Download}}]</span>
      {{#if:{{{download_label|}}}|{{{download_label}}}|Download}}
   </div>
    </span>]
   </span>
}}
}}


|header1 = Resource Pack


|label2  = {{#if:{{{rp_version|}}}|RP Version|}}
 
|header1 = Resource Pack Information
 
|label2  = {{#if:{{{rp_version|}}}|Version|}}
|data2  = {{{rp_version|}}}
|data2  = {{{rp_version|}}}


|label3  = {{#if:{{{sha1|}}}|SHA1|}}
|label3  = {{#if:{{{sha1|}}}|SHA1|}}
|data3  = {{#if:{{{sha1|}}}|<code>{{{sha1}}}</code>|}}
|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|}}}


|label4 = {{#if:{{{mc_version|}}}|Native MC|}}
|label6 = {{#if:{{{pack_format_current|}}}|Pack format|}}
|data4   = {{{mc_version|}}}
|data6   = {{{pack_format_current|}}}


|label5 = {{#if:{{{pack_format_current|}}}|Pack format|}}
|label7 = {{#if:{{{pack_formats_supported|}}}|Supported formats|}}
|data5   = {{{pack_format_current|}}}
|data7   = {{{pack_formats_supported|}}}


|label6  = {{#if:{{{pack_formats_supported|}}}|Supported formats|}}
|label8 = {{#if:{{{contributors|}}}|Contributors|}}
|data6  = {{{pack_formats_supported|}}}
|data8  = {{{contributors|}}}


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

Latest revision as of 10:39, 4 November 2025