Template:InlineGrid
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 | |
---|---|
Properties | |
Type | ?
|
Stackable | Yes (64)
|
Upgrades | |
| |
Technical Details | |
UU Cost | {{{uu_cost}}} |
First appearance | ? |
ID | IC2:{{{id}}} |
| |
Usage showing inline functionality
{{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk}}
Usage showing foretext Chest with alt link
{{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk|Non-IC Items|5=fore}}
Same foretext NOPE 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: NEWTEXT
{{InlineGrid|Chest|5=aft|6=NEWTEXT}}
Infobox test, for upgrades (showing no forced break from divs since this uses spans) -->