Template:InlineGrid

From Industrial-Craft-Wiki
Jump to navigation Jump to search

Simple documentation notes

Template:InlineGrid basically copies Grid (and is an attempt to not be Gc-ing everything), but doesn't use the module, so everything is manual. The numbering is also stripped out (for now).

  • Arg1 is the name, and maps to the image (and everything else unless specified).
  • Arg2 is the tooltip, include a \ for newline.
  • Arg3 is the link - what to link to if not the default.
  • Arg4 is the size in pixels. (Comes before Arg3's first use in the code, but it's less commonly changed from the 32px default. I guess.)

New features added 12 Dec 16:

  • Arg5 is how to style the accompanying text. Accepts 'fore' or 'aft' with text based on Arg1 and link on Arg1/3.
  • Arg6 is an override for the displayed text in case you don't like Arg1.
Macerator
Compressor ig.png
Grid Condenser.png
Properties
Type ?




Stackable Yes (64)




Upgrades
Grid Overclocker upgrade.pngGrid Transformer upgrade.pngGrid Overclocker upgrade.pngGrid Transformer upgrade.pngGrid Overclocker upgrade.pngGrid Transformer upgrade.pngGrid Overclocker upgrade.pngGrid Transformer upgrade.pngGrid Overclocker upgrade.pngGrid Transformer upgrade.pngGrid Overclocker upgrade.pngGrid Transformer upgrade.png


Technical Details
UU Cost {{{uu_cost}}}
First appearance ?
ID IC2:{{{id}}}


Usage showing Grid Chest.png inline functionality

  • {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk}}

Usage showing foretext Chest Grid Chest.png with alt link

  • {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk|Non-IC Items|5=fore}}

Same foretext NOPE Grid Chest.png with alt link, but text override too

  • {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk|Non-IC Items|5=fore|6=NOPE}}

Afttext, no alt link, text override: Grid Chest.png NEWTEXT

  • {{InlineGrid|Chest|5=aft|6=NEWTEXT}}

Infobox test, for upgrades (showing no forced break from divs since this uses spans) -->