From Brotato Wiki

(Creation of Infobox_Mod Template)
 
(Add support for Links. Can't show them properly in the <pre> because wiki messes up the formatting for some reason, added example further down the page instead)
Line 29: Line 29:
<div style="font-weight:bold; color:rgb(234,226,176);">Game Version</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Game Version</div>
{{{gameversion}}}
{{{gameversion}}}
</div>
|}}
{{#if:{{{links|}}}|
<div class="stats-container">
<div style="font-weight:bold; color:rgb(234,226,176);">Links</div>
{{{links}}}
</div>
</div>
|}}
|}}
Line 43: Line 49:
|modversion=0.0.4
|modversion=0.0.4
|gameversion=0.6.0.7
|gameversion=0.6.0.7
|links=My Link
}}
}}
</pre>
</pre>


Results in:
Results in (see right):


{{Infobox Mod
{{Infobox Mod
Line 55: Line 62:
|modversion=0.0.4
|modversion=0.0.4
|gameversion=0.6.0.7
|gameversion=0.6.0.7
|links=[https://steamcommunity.com/sharedfiles/filedetails/?id=2881564938 Steam Guide], [https://discord.gg/kPUd3N4PJA Discord]
}}
}}
External links are added like this:
<code><nowiki>[https://example.com Link Name]</nowiki></code>


<hr style="clear: both; margin: 20px auto; padding-top: 20px; border-top: 0; background: none; border-bottom: 1px solid #555;">
<hr style="clear: both; margin: 20px auto; padding-top: 20px; border-top: 0; background: none; border-bottom: 1px solid #555;">


</noinclude>
</noinclude>

Revision as of 08:19, 9 November 2022


Usage

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox Mod
|name=Brotato Mobile
|icon=Wandering Bot
|author=Maximal08
|description=Mobile version of Brotato for Android.
|modversion=0.0.4
|gameversion=0.6.0.7
|links=My Link
}}

Results in (see right):


Wandering Bot
Brotato Mobile
Mod by Maximal08
Description

Mobile version of Brotato for Android.

Mod Version

0.0.4

Game Version

0.6.0.7


External links are added like this:

[https://example.com Link Name]