Difference between revisions of "Template:Gc"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
(Made easy template to get grid images)
 
m (Modified to use Module:Grid.gc)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Grid|name={{{1|{{{name|}}}}}}|caption={{{caption|}}}|link={{{link|}}}|number={{{2|number|}}}}}}|percent={{{percent|}}}}}<noinclude>{{Documentation}}</noinclude>
{{#invoke:grid|gc}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 22:45, 16 February 2015

Template-info.png Documentation

This template can be used to create grid images easily.

Parameters[edit]

  • 1, name: The block/item name
  • 2, number: (Optional)The number of the block/item
  • percent: (Optional) Whether the number is a percent or just the number of items
  • link: (Optional) Change where the link goes to
  • caption: (Optional) Change what the hover name is

Examples[edit]

{{Gc|Macerator}}

makes:

Grid Macerator.png

While...

{{Gc|Seeds~Non-IC Items,3;Macerator~Recipes and Resources}}

makes:

Grid Seeds.png

3

Grid Macerator.png

25%


Where:

  • Seeds is the icon to show
  • ~ Defines the gap between the icon and link
  • Non-IC Items is the link
  • , Defines the gap between the number of items, and the item/link itself
  • 3 Is the number of items
  • ; Separates individual grids

The above documentation is transcluded from Template:Gc/doc. (edit | history)