Topic on User talk:Mags/circuitbox

From Blaseball Wiki
Mags (talkcontribs)

Heya @Pokeylope, I was wondering if there was a way to insert a game icon into an infobox (or alter the infobox template to allow it) in the same way you can insert an image?

Pokeylope (talkcontribs)

No, but you can fake it, which is what I do for the modification infobox. I create a <data> field with a blank label, which gives you a roughly-centered icon (depending on icon size). So, something like this:

<infobox>
     <title source="title"><default>{{PAGENAME}}</default></title>
     <data source="icon">
         <label>&nbsp;</label>
         <format>{{Modification Icon Helper|name={{{icon}}}|size=120|color={{{color}}}}}</format>
     </data>
 </infobox>

where icon is the name from game-icons.net