Difference between revisions of "Template:Minor/doc"
From Space Engineers Wiki
Cryptkeeper (talk | contribs) (-) |
(No difference)
|
Revision as of 09:20, 28 August 2017
Documentation
Required parameters
- Either height or width, but not both. This must be the first parameter.
- Height example:
x17px
. Note the preceding "x". - Width example:
65px
.
- Height example:
Optional parameters
- vert - Vertical alignment can be specified. The default is "middle". If used in line of text, use "text-bottom". This is a named parameter.
- link - Where the image should link to. Suppressed by default. This is a named parameter.
Syntax
Minimum syntax: {{Minor|size}}
Full syntax: {{Minor|size|vert=|link=}}
Examples
{{Minor|x17px|vert=text-bottom}}
This syntax creates an image suitable for placing inline with text.
{{Minor|80px}}
This syntax creates a slightly larger image than the previous example. This is half of the image's native size.