Difference between revisions of "Template:Scheme info"

From Worms Knowledge Base

Jump to: navigation, search
(Testing my template.)
(I included a field for HostingBuddy support.)
 
Line 32: Line 32:
 
     {{#if:{{{author|}}}|<tr><th style="background-color: #ddd;">Author</th></tr><!--
 
     {{#if:{{{author|}}}|<tr><th style="background-color: #ddd;">Author</th></tr><!--
 
     --><tr><td>{{{author}}}</td></tr>}}
 
     --><tr><td>{{{author}}}</td></tr>}}
 +
 +
    <!-- [[HostingBuddy]] supports it? -->
 +
    {{#if:{{{hb|}}}|<tr><th style="background-color: #ddd;">[[HostingBuddy]] supports it?</th></tr><!--
 +
    --><tr><td>{{{hb}}}</td></tr>}}
 
</table>
 
</table>
 
</includeonly>
 
</includeonly>
  
 
<noinclude>
 
<noinclude>
{{Scheme_info|name={{{name}}}|icon={{{icon}}}|iconsize={{{iconsize}}}|description={{{description}}}|tags={{{tags}}}|year={{{year}}}|time={{{time}}}|compatibility={{{compatibility}}}|author={{{author}}}}}
+
{{Scheme_info|name={{{name}}}|icon={{{icon}}}|iconsize={{{iconsize}}}|description={{{description}}}|tags={{{tags}}}|year={{{year}}}|time={{{time}}}|compatibility={{{compatibility}}}|author={{{author}}}|hb={{{hb}}}}}
  
 
This template is used to display information about schemes in Worms Armageddon. It includes fields for the scheme's release year, playing time, and a customizable icon image size.
 
This template is used to display information about schemes in Worms Armageddon. It includes fields for the scheme's release year, playing time, and a customizable icon image size.
Line 51: Line 55:
 
|compatibility=The latest compatible version (e.g., Worms Armageddon 3.8+)<br/>
 
|compatibility=The latest compatible version (e.g., Worms Armageddon 3.8+)<br/>
 
|author=Name of the scheme’s creator (defaults to Unknown)<br/>
 
|author=Name of the scheme’s creator (defaults to Unknown)<br/>
 +
|hb="Yes" if the scheme is supported by HostingBuddy, or "No" if not.
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude>
 
</noinclude>

Latest revision as of 17:03, 31 January 2025





This template is used to display information about schemes in Worms Armageddon. It includes fields for the scheme's release year, playing time, and a customizable icon image size.

Usage

{{Scheme_info
|name=Name of the scheme (defaults to PAGENAME)
|icon=Name of the icon file, including extension (e.g., ExampleIcon.png)
|iconsize=Size of the icon (default: 100px)
|description=A brief description or slogan for the scheme
|tags=,
|year=The year the scheme was released
|time=Estimated playing time (e.g., 10-20 minutes)
|compatibility=The latest compatible version (e.g., Worms Armageddon 3.8+)
|author=Name of the scheme’s creator (defaults to Unknown)
|hb="Yes" if the scheme is supported by HostingBuddy, or "No" if not. }}