Skip to content

Commit 2004da0

Browse files
Add template for Callout-Grid and update Custom Formatting Features
1 parent 187126a commit 2004da0

File tree

2 files changed

+40
-15
lines changed

2 files changed

+40
-15
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
> [!gridfloatleft]
2+
>
3+
> %%content%%
4+
5+
> [!gridfloatright]
6+
>
7+
> %%content%%

content/MMW Design & Planning/Custom Formatting Features.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,41 @@ description: Custom formatting features implemented for use in the Morrowind Mod
55
---
66
Custom formatting features implemented for use in the Morrowind Modding Wiki
77

8-
# Formatting
9-
## 'Image Wrap'
10-
![[Patches_ESP-Replacer_1_Conflict.png|+side]]
11-
You can set an embedded image in a page to be on either the left or right side of a page, with text wrapping around it.
8+
## Formatting
9+
### [SIRvb's Image Adjustments](https://publish.obsidian.md/slrvb-docs/ITS+Theme/Image+Adjustments)
1210

13-
To orient it to the left, use either:
14-
- `![[IMAGE\PATH.png|-side]]` or
15-
- `![[IMAGE\PATH.png|lside]]`
11+
Image adjustments from SIRvb's Image Adjustments CSS snippet are incorporated into MMW. Some examples of how it can be used include:
12+
- resizing images
13+
- displaying images as a banner across the page or across a callout
14+
- image-warp (using the CSS 'float' property), allowing text and other content to wrap around an image.
1615

17-
To orient it to the right, use either:
18-
- `![[IMAGE\PATH.png|+side]]` or
19-
- `![[IMAGE\PATH.png|rside]]`
16+
## Custom Callouts
2017

21-
# Callouts
2218
In addition to the default [Obsidian Callouts](https://help.obsidian.md/Editing+and+formatting/Callouts), MMW also adds the following custom Callouts:
2319

24-
## `> [!figure]`
25-
> [!figure]
26-
> ![[Patches_ESP-Replacer_1_Conflict.png]]
27-
> `[!figure]` is intended to be used for captioning images. Long term-goal is to add custom Morrowind-themed icons for custom callouts.
20+
### Callout Grid
21+
22+
This pair of left and right callouts can be inserted to create a two-column grid of callouts. To add more rows to the grid, simply add more pairs of callouts.
23+
24+
**Types:**
25+
- `[!gridfloatleft]`
26+
- `[!gridfloatright]`
27+
28+
Other callouts can be nested inside these.
29+
30+
31+
### Captions
32+
33+
Three callouts for adding captions to images. The callout title is hidden and text size reduced, similar to how Wikipedia and other wikis format their article image captions.
34+
35+
**Types:**
36+
- `[!caption_left]` - floats to the left of the page
37+
- `[!caption_right]` - floats to the right of the page
38+
- `[!caption]` - centered in the middle of the page
39+
40+
### Infobox
41+
42+
A wiki-style infobox displayed in the top right of an article to summarize data from the article, such as requirements for a tutorial article.
43+
44+
**Type:**
45+
- `[!infobox]`

0 commit comments

Comments
 (0)