Template:MC/MCLink/doc
Template page
More actions
Usage
- {{MCLink|file1;file2}}
- {{MCLink|file|text}}
- {{MCLink|file|icon=icon1:icon2}}
- {{MCLink|file|size=32px}}
- {{MCLink|file|invert=y}}
- {{MCLink|file|nolink=y}}
This template adds a list of images (horizontally) onto a page, with the option of adding text beside the images.
Parameters
1- Provides a list of files (the full file name must be set), separated with the semi-colon symbol (;).- For blocks which have multiple words in the name (i.e. Oak Sapling), a dash must be added between each word (i.e. Oak-Sapling) to set the default text.
2- Replaces the default text before or after the file(s). If not set (and the above condition is met, only the first entry will be used) then the text with be set to the first file name.icon- Provides a list of replacement file(s) (the full file name must be set), separated with the semi-colon symbol (;).size- Determines the size of the file(s) (defaults to 20px).invert- Determines if the position of the text is inverted from the right side of the file(s) (default) to the left.nolink- Prevents the module from applying a link to the text parameter (2).
Examples
- {{MCLink|Stone JE1}} results in Template:MCLink
- {{MCLink|Stone;Grass Block}} results in Template:MCLink
- {{MCLink|Oak-Sapling}} results in Template:MCLink
- {{MCLink|Oak Sapling}} results in Template:MCLink
- {{MCLink|Stone|Funny Text}} results in Template:MCLink
- {{MCLink|Stone|icon=Diamond Ore;Grass Block}} results in Template:MCLink
- {{MCLink|Stone|size=32px}} results in Template:MCLink
- {{MCLink|Stone|Funny Text|invert=y}} results in Template:MCLink
- {{MCLink|Stone|Funny Text|nolink=y}} results in Template:MCLink