Difference between revisions of "Template:Minor/doc"
From Space Engineers Wiki
Cryptkeeper (talk | contribs) (-) |
Cryptkeeper (talk | contribs) m (formatting) |
||
Line 1: | Line 1: | ||
+ | |||
+ | |||
==Documentation== | ==Documentation== | ||
===Required parameters=== | ===Required parameters=== |
Latest revision as of 09:24, 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.